:root {
  /* font */
  --font-family-ja: "Inter", sans-serif;
  --font-family-ja2: "Zen Maru Gothic", sans-serif;
  --font-family-en: "Coiny", system-ui;
  --font-family-en2: "Chillax", sans-serif;

  /* base size */
  --font-size-base: 20px;
  --line-height-base: 1.7;

  /* color */
  --color-base: #5b3c44;
  --background-white: #ffffff;
  --background-green: #c8e192;
  --background-pink: #f6adaf;
}

body {
  font-size: var(--font-size-base);
  color: var(--color-base);
  font-family: var(--font-family-ja);
}

@media screen and (max-width: 969px) {
  .hidden-sp {
    display: none;
  }
}

@media screen and (min-width: 970px) {
  .hidden-pc {
    display: none;
  }
}

@media screen and (max-width: 969px) {
  .pi-15 {
    padding-inline: 15px;
  }
}

/*=======================================================================
# common
========================================================================*/
.wave-position {
  position: relative;
  padding-bottom: 399px;
  z-index: 2;
}

@media screen and (max-width: 969px) {
  .wave-position {
    padding-bottom: 129px;
  }
}

.wave-position::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100px;
  top: -99px;
}

@media screen and (max-width: 969px) {
  .wave-position::before {
    top: -28px;
    height: 28px;
  }
}

.ball-img_items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 20px;
  max-width: 1200px;
  margin-inline: auto;
}

@media screen and (max-width: 969px) {
  .ball-img_items {
    max-width: 350px;
  }
}

.ball-img_item img {
  width: 181px;
}

@media screen and (max-width: 969px) {
  .ball-img_item img {
    width: 50px;
  }
}

.ball-img_item.two img {
  width: 116px;
}

@media screen and (max-width: 969px) {
  .ball-img_item.two img {
    width: 32px;
  }
}

.section-head_wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 9px;
}

@media screen and (max-width: 969px) {
  .section-head_wrap {
    gap: 0px;
  }
}

.section-head {
  font-size: 100px;
  font-weight: 700;
  font-family: var(--font-family-en2);
  text-transform: uppercase;
  line-height: 90px;
}

@media screen and (max-width: 969px) {
  .section-head {
    font-size: 60px;
    line-height: 60px;
  }
}

.section-sub_title {
  font-size: 25px;
  font-weight: 900;
  font-family: var(--font-family-ja2);
  line-height: 50px;
}

@media screen and (max-width: 969px) {
  .section-sub_title {
    font-size: 18px;
  }
}

.job-wrap {
  margin-top: 164px;
}

@media screen and (max-width: 969px) {
  .job-wrap {
    margin-top: 67px;
  }
}

.position-btn__text {
  display: block;
  width: 910px;
  max-width: 100%;
  margin-inline: auto;
  position: relative;
}

@media screen and (max-width: 969px) {
  .position-btn__text {
    width: 333px;
  }
}

.notice-text_sp {
  display: none;
}

@media screen and (max-width: 969px) {
  .notice-text_sp {
    display: block;
    position: absolute;
    right: -7px;
    bottom: -14px;
    font-size: 26px;
    font-family: var(--font-family-en);
    line-height: 22px;
    color: #f56e72;
    transform: rotate(-15deg);
    width: 118px;
    max-width: 100%;
    z-index: 2;
  }

  .notice-text_sp.check {
    bottom: 0px;
  }

  .notice-text_sp span {
    display: block;
    text-align: right;
  }
}

.job-btn {
  display: flex;
  width: 910px;
  max-width: 100%;
  height: 200px;
  background:
    linear-gradient(87.23deg, rgba(138, 235, 232, 0.8) 0%, rgba(140, 197, 228, 0.8) 23.96%, rgba(211, 144, 246, 0.8) 50.12%, rgba(247, 178, 162, 0.8) 75%, rgba(255, 222, 177, 0.8) 100%), #ffffff;
  border: 5px solid #ffffff;
  box-shadow: 0px 10px 30px rgba(251, 147, 172, 0.3);
  border-radius: 50px;
  overflow: hidden;
  padding: 5px 22px;
  transition: box-shadow 0.3s ease-in-out;
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 969px) {
  .job-btn {
    background: linear-gradient(272.77deg, #ffdeb1 0%, #f7b2a2 25%, #d390f6 49.88%, #8cc5e4 76.04%, #8aebe8 100%);
  }
}

@media screen and (min-width: 970px) {
  .job-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(272.77deg, #ffdeb1 0%, #f7b2a2 25%, #d390f6 49.88%, #8cc5e4 76.04%, #8aebe8 100%);
    z-index: -1;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
    border-radius: 50px;
  }
}

@media (hover: hover) {
  .job-btn:hover {
    box-shadow: 0px 10px 30px rgba(251, 147, 172, 0.5);
  }

  .job-btn:hover::before {
    opacity: 0;
  }
}

@media screen and (max-width: 969px) {
  .job-btn {
    width: 333px;
    height: 100px;
    border-radius: 20px;
    border-width: 3px;
    box-shadow: 0px 3.65934px 10.978px rgba(251, 147, 172, 0.3);
    padding: 7px 5px;
  }
}

.job-btn_img {
  width: 255px;
  height: 260px;
  margin-right: 41px;
}

@media screen and (max-width: 969px) {
  .job-btn_img {
    width: 114px;
    height: 116px;
    margin-right: 15px;
  }
}

.job-text_wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  inset: 0;
  margin-block: 26px;
}

@media screen and (max-width: 969px) {
  .job-text_wrap {
    gap: 3px;
    margin-block: 13px;
  }
}

.job-text {
  font-weight: 900;
  font-size: 47px;
  color: #fff;
  font-family: var(--font-family-ja2);
  letter-spacing: 1.6px;
}

@media screen and (max-width: 969px) {
  .job-text {
    font-size: 20px;
  }
}

@media screen and (max-width: 349px) {
  .job-text {
    font-size: 16.5px;
  }
}

.job-text span {
}

.job-text_wrap-img {
  width: 124px;
}

@media screen and (max-width: 969px) {
  .job-text_wrap-img {
    width: 60px;
  }
}

.notice-text {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  width: 130px;
  height: 130px;
  background: rgba(255, 255, 255, 0.8);
  border: 5px solid #ffffff;
  color: #f56e72;
  font-family: var(--font-family-en);
  text-align: center;
  line-height: 26px;
  font-size: 25px;
  margin: auto 0 auto 25px;
}

@media screen and (max-width: 969px) {
  .notice-text {
    display: none;
  }
}

/*=======================================================================
# FV
========================================================================*/
.top {
  background: rgba(255, 236, 240, 0.5);
}

.top_inner {
  padding: 58px 60px 60px;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
}
@media screen and (max-width: 969px) {
  .top_inner {
    padding: 30px 20px;
  }
}

.header_icons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  gap: 10px;
}

@media (hover: hover) {
  .header_icon a:hover img {
    transition: ease-in-out 0.3s;
  }
  .header_icon a:hover img {
    transform: scale(1.1);
  }
}

.fv {
  /* margin-top: 124px;
  margin-bottom: 58px; */
  margin-top: calc(124 * 100vw / 1728);
  margin-bottom: calc(58 * 100vw / 1728);
}

@media screen and (max-width: 969px) {
  .fv {
    /* margin-top: 319px;
    margin-bottom: 68px; */
    margin-top: calc(319 * 100vw / 393);
    margin-bottom: calc(68 * 100vw / 393);
  }
}

.fv_wrapper {
  text-align: center;
  position: relative;
}
.fv_wrapper::before {
  content: "";
  position: absolute;
  background: url("../img/Chara.png") no-repeat center center/contain;
  width: 100%;
  /* height: 520px; */
  bottom: -10px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  height: calc(520 * 100vw / 1728);
}
@media screen and (max-width: 969px) {
  .fv_wrapper::before {
    /* top: -270px;
    height: 238px; */
    bottom: initial;
    height: calc(238 * 100vw / 393);
    top: calc(-270 * 100vw / 393);
  }
}

@media screen and (min-width: 970px) {
  .fv_wrapper::before {
    animation: dropStretchBounce 0.8s linear forwards;
    transform-origin: center bottom;
  }
}

@keyframes dropStretchBounce {
  /* 高速落下（細長い時間は短い） */
  0% {
    transform: translate(-50%, -500px) scaleX(0.55) scaleY(1.9);
    opacity: 0;
  }

  25% {
    transform: translate(-50%, 40px) scaleX(0.6) scaleY(1.4);
    opacity: 1;
  }

  /* 着地 */
  40% {
    transform: translate(-50%, 0) scaleX(1.05) scaleY(0.95);
  }

  /* 下にめり込む */
  50% {
    transform: translate(-50%, 120px) scaleX(1.15) scaleY(0.85);
  }

  /* バウンド頂点 */
  65% {
    transform: translate(-50%, -45px) scaleX(0.95) scaleY(1.05);
  }

  /* ここから「戻り」をゆっくり */
  85% {
    transform: translate(-50%, 0) scaleX(1.02) scaleY(0.98);
  }

  100% {
    transform: translate(-50%, 0) scaleX(1) scaleY(1);
  }
}

.fv_title {
  /* margin-bottom: 44px;
  font-size: 40px; */
  font-weight: 900;
  font-family: "Zen Maru Gothic", sans-serif;
  letter-spacing: 0.3em;
  margin-bottom: calc(44 * 100vw / 1728);
  font-size: calc(40 * 100vw / 1728);
}
@media screen and (max-width: 969px) {
  .fv_title {
    /* font-size: 15px;
    margin-bottom: 16px; */
    translate: 8px;
    margin-bottom: calc(16 * 100vw / 393);
    font-size: calc(15 * 100vw / 393);
  }
}

.fv_chara-name {
  /* margin-bottom: 30px; */
  margin-bottom: calc(30 * 100vw / 1728);
}
@media screen and (max-width: 969px) {
  .fv_chara-name {
    /* margin-bottom: 11.44px; */
    translate: 5px;
    margin-bottom: calc(11.44 * 100vw / 393);
  }
}

.fv_chara-name img {
  width: calc(912 * 100vw / 1728);
}

@media screen and (max-width: 969px) {
  .fv_chara-name img {
    /* width: 333px; */
    margin-inline: auto;
    max-width: 100%;
    width: calc(333 * 100vw / 393);
  }
}

.fv_chara-name-en {
  font-weight: 900;
  /* font-size: 60px; */
  letter-spacing: 1em;
  font-family: "Zen Maru Gothic", sans-serif;
  /* width: 517px; */
  margin-inline: auto;
  font-size: calc(60 * 100vw / 1728);
  width: calc(517 * 100vw / 1728);
}
@media screen and (max-width: 969px) {
  .fv_chara-name-en {
    /* font-size: 22px;
    width: 181px; */
    font-size: calc(22 * 100vw / 393);
    width: calc(181 * 100vw / 393);
  }
}

.fv_bottom-area {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

.scroll_wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  position: relative;
}
@media screen and (max-width: 969px) {
  .scroll_wrap {
    padding-left: 15px;
  }
}
.scroll_wrap i {
  width: 2px;
  height: 160px;
  background-color: rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 969px) {
  .scroll_wrap i {
    height: 80px;
  }
}

@media screen and (min-width: 970px) {
  .scroll_wrap i {
    position: relative; /* 擬似要素の基準 */
    display: inline-block;
    pointer-events: none;
  }

  .scroll_wrap i::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;

    width: 1px;
    height: 60px;
    background: #5b3c44;

    transform: translateX(-50%);
    animation: scrollLine 1.6s ease-in-out infinite;
  }

  .scroll_wrap i::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 60px;

    width: 3px;
    height: 3px;
    background: #5b3c44;

    /* ◥ の形 */
    clip-path: polygon(100% 0%, 0% 0%, 100% 100%);

    transform: translateX(-80%);
    pointer-events: none;
  }

  .scroll_wrap i::after,
  .scroll_wrap i::before {
    animation: scrollLine 1.6s ease-in-out infinite;
  }
}

@keyframes scrollLine {
  0% {
    transform: translate(-80%, 0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translate(-80%, 100px);
    opacity: 0;
  }
}

.scroll_txet {
  font-size: 14px;
  font-weight: 700;
  font-family: "Zen Maru Gothic", sans-serif;
  letter-spacing: 0.2em;
}
@media screen and (max-width: 969px) {
  .scroll_txet {
    font-size: 12px;
  }
}

.logo_wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 20px;
}
@media screen and (max-width: 969px) {
  .logo_wrap {
    gap: 15px;
    padding-right: 8px;
  }
}

.speech_bubble {
  background: #f56e72;
  color: #fff;
  font-size: 12px;
  font-family: "Coiny", system-ui;
  padding: 5px 11px 5px;
  border-radius: 100px;
  position: relative;
}
@media screen and (max-width: 969px) {
  .speech_bubble {
    font-size: 11px;
  }
}
.speech_bubble::before {
  content: "";
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  position: absolute;
  width: 8px;
  height: 6px;
  background: #f56e72;
  bottom: -5px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.logo img {
  width: 102px;
}
@media screen and (max-width: 969px) {
  .logo img {
    width: 90px;
  }
}

/*=======================================================================
# chara
========================================================================*/
@media screen and (min-width: 970px) {
  .chara {
    position: sticky;
    top: 0;
    z-index: 1;
  }

  .chara.is-stopped {
    position: static;
  }
}

.chara_items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* transform: translateY(418px); */
}

@media screen and (min-width: 970px) {
  .chara_items {
    transform: translateY(738px);
    transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
}

@media screen and (max-width: 969px) {
  .chara_items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 970px) {
  .chara_items.is-show {
    transform: translateY(0);
  }

  .chara_item {
    opacity: 0;
    transition:
      opacity 0.6s ease,
      transform 0.6s ease;
    transform: translateY(20px);
  }

  .chara_item.is-show {
    opacity: 1;
    transform: translateY(0);
  }
}

.chara_item:nth-child(1),
.chara_item:nth-child(5) {
  transition-delay: 0s;
}

.chara_item:nth-child(2),
.chara_item:nth-child(6) {
  transition-delay: 0.08s;
}

.chara_item:nth-child(3),
.chara_item:nth-child(7) {
  transition-delay: 0.16s;
}

.chara_item:nth-child(4),
.chara_item:nth-child(8) {
  transition-delay: 0.24s;
}

.chara_item:nth-of-type(1),
.chara_item:nth-of-type(3),
.chara_item:nth-of-type(6),
.chara_item:nth-of-type(8) {
  background: var(--background-green);
}
.chara_item:nth-of-type(2),
.chara_item:nth-of-type(4),
.chara_item:nth-of-type(5),
.chara_item:nth-of-type(7) {
  background: var(--background-pink);
}
@media screen and (max-width: 969px) {
  .chara_item:nth-of-type(7),
  .chara_item:nth-of-type(8) {
    -webkit-box-ordinal-group: 5;
    -ms-flex-order: 4;
    order: 4;
  }
  .chara_item:nth-of-type(3),
  .chara_item:nth-of-type(4) {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
  }
  .chara_item:nth-of-type(5),
  .chara_item:nth-of-type(6) {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }
}

/*=======================================================================
# introduction
========================================================================*/
.introduction {
  background: #fff;
}

@media screen and (max-width: 969px) {
  .introduction {
  }
}

.introduction::before {
  background: url("../img/wave-white.svg") repeat center center / contain;
}

@media screen and (max-width: 969px) {
  .introduction::before {
    background: url("../img/wave-white_sp.svg") repeat center center / contain;
  }
}

.intro-sentinel {
  position: absolute;
  top: 0;
  height: 1px;
}

.introduction-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 30px;
}

@media screen and (max-width: 969px) {
  .introduction-inner {
    padding-inline: 15px;
  }
}

.chara-text {
  margin-top: 119px;
  text-align: center;
  font-weight: 900;
  font-size: 25px;
}

@media screen and (max-width: 969px) {
  .chara-text {
    margin-top: 68px;
    font-size: 18px;
  }
}

.chara-introduction {
  text-align: center;
  font-weight: 900;
  font-size: 75px;
}

@media screen and (max-width: 969px) {
  .chara-introduction {
    margin-top: 8px;
    font-size: 40px;
  }
}
@media screen and (max-width: 349px) {
  .chara-introduction {
    font-size: 36px;
  }
}

.chara-lead {
  margin-top: 79px;
  font-weight: 700;
  text-align: center;
  line-height: 50px;
}

@media screen and (max-width: 969px) {
  .chara-lead {
    margin-top: 36px;
    line-height: 34px;
    font-size: 14px;
  }
}

@media screen and (max-width: 359px) {
  .chara-lead {
    font-size: 13px;
  }
}

@media screen and (min-width: 1728px) {
  .introduction .position-btn__text {
    transform: translateX(43px);
  }
}

/* fade用
========================================================================*/
.chara-text,
.chara-introduction {
  transition-delay: 0s;
}
.chara-lead {
  transition-delay: 0.36s;
}
.job-wrap {
  transition-delay: 1s;
}

/*=======================================================================
# profile
========================================================================*/
.profile {
  background: var(--background-green);
  /* overflow-x: clip; */
}
.profile::before {
  background: url("../img/wave-green.svg") repeat center center / contain;
}

.profile.wave-position {
  padding-bottom: 300px;
}

@media screen and (max-width: 969px) {
  .profile.wave-position {
    padding-bottom: 0;
  }
  .profile-inner {
    padding-bottom: 101px;
  }
}

@media screen and (max-width: 969px) {
  .profile::before {
    background: url("../img/wave-green_sp.svg") repeat center center / contain;
  }
}

.profile .ball-img_items {
  margin-bottom: 118px;
  max-width: 1140px;
}

@media screen and (max-width: 969px) {
  .profile .ball-img_items {
    margin-bottom: 66.5px;
    max-width: 350px;
  }
}

.profile .section-head {
  color: #fff;
}

.profile .section-sub_title {
  color: #fff;
}

.profile-position {
  position: relative;
  width: 100%;
}

.profile-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  height: 374px;
  z-index: 0;
  margin-block: 65px auto;
}

@media screen and (max-width: 1199px) {
  .profile-bg {
    margin-block: 265px auto;
  }
}

@media screen and (max-width: 969px) {
  .profile-bg {
    margin-block: auto 10px;
  }
}

.bg-track {
  display: flex;
  height: 100%;
  animation: bg-move 4s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

@media screen and (max-width: 969px) {
  .bg-track {
    animation: bg-move 2s linear infinite;
  }
}

.bg-track img {
  height: 100%;
  width: auto;
  flex-shrink: 0;
  display: block;
  max-width: none;
}

@media screen and (max-width: 969px) {
  .profile-bg {
    height: 187px;
  }
}

.profile-chara_inner {
  position: relative;
  max-width: 1490px;
  margin-inline: auto;
  z-index: 1;
}

@media screen and (max-width: 1199px) {
  .profile-chara_inner {
    display: flex;
    flex-direction: column-reverse;
    margin-top: 22px;
    gap: 65px;
  }
}

.profile-character {
  text-align: center;
  margin-top: 106px;
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 1199px) {
  .profile-character {
    margin-top: 0px;
  }
}

.profile-character img {
  width: 594px;
}

@media screen and (max-width: 1199px) {
  .profile-character img {
    /* width: 244px; */
  }
}

@media screen and (max-width: 969px) {
  .profile-character img {
    width: 244px;
  }
}

/* 吹き出し共通 */
.balloon {
  position: relative;
  background: #fff;
  border-radius: 50px;
  padding: 20px 25px;
  text-align: center;
}

.balloon-left::after,
.balloon-right::after {
  content: "";
  position: absolute;
  bottom: -16px;
  width: 26px;
  height: 34px;
}

.pos-1::after {
  left: 130px;
}

.pos-3::after,
.pos-4::after,
.pos-6::after,
.pos-8::after {
  left: 75px;
}

.pos-5::after {
  left: 270px;
}
.pos-7::after {
  left: 275px;
}

.balloon-left::after {
  background: url("../img/balloon-tail.svg") no-repeat center center / contain;
}

.balloon-right::after {
  background: url("../img/balloon-tail_left.svg") no-repeat center center / contain;
}

@media screen and (max-width: 1199px) {
  .balloon {
    border-radius: 30px;
    width: 333px !important;
    min-width: initial !important;
    min-height: 139px !important;
    height: 139px !important;
    max-width: 100%;
    margin-inline: auto;
    padding: 25px 10px;
    transform: translate(0, 20px) !important;
    opacity: 0;
    pointer-events: none;
  }

  .balloon::before {
    content: "";
    position: absolute;
    background: url("../img/balloon-tail.svg") no-repeat center center / contain;
    bottom: -16px;
    width: 26px;
    height: 34px;
    left: 155px;
  }

  .balloon.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    z-index: 2;
  }

  .balloon::after {
    display: none;
  }
}

.balloon h3 {
  color: #f56e72;
  font-weight: 900;
  font-family: var(--font-family-ja2);
  margin-bottom: 15px;
}

@media screen and (max-width: 1199px) {
  .balloon h3 {
    margin-bottom: 9px;
    opacity: 0;
    transition: opacity 0.45s ease-out;
  }
}

.balloon .balloon-text {
  font-size: 16px;
  font-weight: 700;
}

@media screen and (max-width: 1199px) {
  .balloon .balloon-text {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media screen and (max-width: 340px) {
  .balloon .balloon-text {
    font-size: 15px;
  }
}

.balloon .balloon-text:has(+ .sub-text) {
  margin-bottom: 10px;
  height: auto;
}

.balloon .sub-text {
  font-size: 12px;
  font-weight: 700;
}

@media screen and (max-width: 340px) {
  .balloon .sub-text {
    font-size: 11px;
  }
}

.balloon-personality p,
.balloon-charm p,
.balloon-skill p {
  line-height: 28px;
}

.profile-lead {
  font-weight: 700;
  line-height: 50px;
  text-align: center;
  margin-top: 84px;
  padding-inline: 15px;
}

@media screen and (max-width: 969px) {
  .profile-lead {
    font-size: 14px;
    line-height: 34px;
    margin-top: 39px;
  }
}

@media screen and (max-width: 374px) {
  .profile-lead {
    padding-inline: 13px;
  }
}

.balloon-grid {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(30, 1fr);
  grid-auto-rows: 60px;
  pointer-events: none; /* キャラ操作の邪魔をしない */
  z-index: 2;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding-inline: 30px;
}

@media screen and (max-width: 1199px) {
  .balloon-grid {
    position: relative;
    top: 0;
    left: initial;
    transform: initial;
    display: block;
    padding-inline: 15px;
  }
}

/* ランダム風配置 */
.pos-1 {
  grid-column: 2 / 6;
  grid-row: 1 / 3;
  min-width: 231px;
  min-height: 139px;
  width: 231px;
  height: 139px;
  /* transform: translate(-9px, 14px); */
}
.pos-2 {
  grid-column: 7 / 11;
  grid-row: 3 / 5;
  min-width: 196px;
  min-height: 111px;
  width: 196px;
  height: 111px;
  /* transform: translate(-34px, -28px); */
}
.pos-5 {
  grid-column: 1 / 8;
  grid-row: 5 / 7;
  min-width: 372px;
  min-height: 139px;
  width: 372px;
  height: 139px;
  /* transform: translate(-18px, 13px); */
}
.pos-7 {
  grid-column: 2 / 9;
  grid-row: 8 / 10;
  min-width: 376px;
  min-height: 139px;
  width: 376px;
  height: 139px;
  /* transform: translate(4px, 22px); */
}

.pos-3 {
  grid-column: 20 / 27;
  grid-row: 2 / 4;
  min-width: 324px;
  min-height: 139px;
  width: 324px;
  height: 139px;
  /* transform: translate(81px, -11px); */
}
.pos-4 {
  grid-column: 28 / 31;
  grid-row: 3 / 5;
  min-width: 160px;
  min-height: 111px;
  width: 160px;
  height: 111px;
  /* transform: translate(12px, 0px); */
}
.pos-6 {
  grid-column: 24 / 30;
  grid-row: 6 / 8;
  min-width: 316px;
  min-height: 111px;
  width: 316px;
  height: 111px;
  /* transform: translate(52px, -20px); */
}
.pos-8 {
  grid-column: 23 / 29;
  grid-row: 9 / 11;
  min-width: 340px;
  min-height: 139px;
  width: 340px;
  height: 139px;
  /* transform: translate(14px, -39px); */
}

/* アニメーション用
========================================================================*/
@media screen and (min-width: 970px) {
  .section-head_wrap {
    opacity: 0;
    transform: translateY(40px);
    transition:
      opacity 0.6s ease,
      transform 0.6s ease;
  }

  .section-head_wrap.is-show {
    opacity: 1;
    transform: translateY(0);
  }

  .profile-character.scale-simple {
    transition-delay: 0.6s;
  }
}

@media screen and (min-width: 1200px) {
  .balloon {
    opacity: 0;
    /* transform: translateY(40px); */
    transition:
      opacity 0.5s ease,
      transform 0.5s ease;
  }

  .balloon.pos-1 {
    transform: translate(-25px, 40px);
  }
  .balloon.pos-2 {
    transform: translate(-49px, 40px);
  }
  .balloon.pos-3 {
    transform: translate(96px, 40px);
  }
  .balloon.pos-4 {
    transform: translate(28px, 40px);
  }
  .balloon.pos-5 {
    transform: translate(-35px, 40px);
  }
  .balloon.pos-6 {
    transform: translate(68px, 40px);
  }
  .balloon.pos-7 {
    transform: translate(-12px, 40px);
  }
  .balloon.pos-8 {
    transform: translate(31px, 40px);
  }

  .balloon.is-show {
    opacity: 1;
    /* transform: translateY(0); */
  }

  .balloon.pos-1.is-show {
    transform: translate(-25px, 14px);
  }
  .balloon.pos-2.is-show {
    transform: translate(-49px, -27px);
  }
  .balloon.pos-3.is-show {
    transform: translate(96px, -11px);
  }
  .balloon.pos-4.is-show {
    transform: translate(28px, 1px);
  }
  .balloon.pos-5.is-show {
    transform: translate(-35px, 13px);
  }
  .balloon.pos-6.is-show {
    transform: translate(68px, -18px);
  }
  .balloon.pos-7.is-show {
    transform: translate(-12px, 23px);
  }
  .balloon.pos-8.is-show {
    transform: translate(31px, -38px);
  }
}

.profile-inner.is-fixed {
  position: sticky;
  top: -150px;
  left: 0;
  width: 100%;
  z-index: 10;
  transform: translateY(30px);
}

.profile-inner.is-active {
  transform: translateY(30px);
  transition: transform 0.4s ease;
}

.profile-inner.is-fixed.is-active {
  transform: translateY(0);
}

.profile-inner.is-end {
  position: absolute;
  top: auto;
  bottom: 300px;
  left: 0;
  width: 100%;
  transform: translateY(30px);
}

.profile-inner {
  position: relative;
  will-change: transform;
  transition: transform 0.35s ease;
}

.profile-inner:not(.is-fixed):not(.is-end) {
  transform: translateY(0);
}

@media screen and (max-width: 1199px) {
  .js-profile {
    position: relative;
  }

  /* 固定は sticky にする */
  .profile-inner {
    position: sticky;
    top: -70px;
    background: var(--background-green);
    z-index: 10;
    overflow-x: clip;
  }

  .balloon-sp {
    opacity: 0;
    pointer-events: none;
    position: absolute;
  }

  .balloon-sp.is-active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
  }

  .balloon .balloon-text,
  .balloon .sub-text {
    opacity: 0;
    transition:
      transform 0.45s ease,
      opacity 0.45s ease;
  }

  /* 奇数 pos：左から */
  .pos-1 .balloon-text,
  .pos-1 .sub-text,
  .pos-3 .balloon-text,
  .pos-3 .sub-text,
  .pos-5 .balloon-text,
  .pos-5 .sub-text,
  .pos-7 .balloon-text,
  .pos-7 .sub-text {
    transform: translateX(30px);
  }

  /* 偶数 pos：右から */
  .pos-2 .balloon-text,
  .pos-2 .sub-text,
  .pos-4 .balloon-text,
  .pos-4 .sub-text,
  .pos-6 .balloon-text,
  .pos-6 .sub-text,
  .pos-8 .balloon-text,
  .pos-8 .sub-text {
    transform: translateX(-30px);
  }

  .balloon.is-active {
    opacity: 1;
    pointer-events: auto;
  }

  /* h3：その場でフェード */
  .balloon.is-active h3 {
    opacity: 1;
  }

  /* テキスト：スライド完了位置 */
  .balloon.is-active .balloon-text,
  .balloon.is-active .sub-text {
    opacity: 1;
    transform: translateX(0);
  }
}

/*=======================================================================
# song
========================================================================*/
.song {
  padding-top: 290px;
  padding-bottom: 400px;
  position: relative;
}

@media screen and (max-width: 969px) {
  .song {
    padding-top: 92px;
    padding-bottom: 128px;
  }
}

@media screen and (max-width: 969px) {
  .song .section-head {
    text-align: center;
  }
}

.section-head span {
  font-weight: 700;
  font-family: var(--font-family-en2);
}

.section-head span:nth-child(odd) {
  color: #e73862; /* 奇数文字 */
}

.section-head span:nth-child(even) {
  color: #eb6d8f; /* 偶数文字 */
}

.song .section-sub_title {
  font-family: var(--font-family-ja);
}

@media screen and (max-width: 969px) {
  .song .section-sub_title {
    font-family: var(--font-family-ja2);
  }
}

.player-wrap {
  margin-top: 103px;
}

@media screen and (max-width: 969px) {
  .player-wrap {
    margin-top: 42px;
    padding-inline: 30px;
  }
}

.player {
  margin-inline: auto;
  width: 912px;
  max-width: 100%;
  height: 513px;
  padding: 50px 42px;
  background: linear-gradient(287.85deg, #ff7793 -0.42%, #ff90c2 49.79%, #e69ff7 74.9%, #f6cfff 100%);
  border: 6px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0px 30px 80px rgba(0, 255, 157, 0.1);
  border-radius: 50px;
  position: relative;
  color: #fff;
}

@media screen and (max-width: 969px) {
  .player {
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 27px 25px 40px;
    height: auto;
  }
}

.mute-btn {
  display: block;
  width: 35px;
  height: 35px;
  background: url("../img/icon-on.svg") no-repeat center / contain;
  margin-left: auto;
}

@media screen and (max-width: 969px) {
  .mute-btn {
    width: 24px;
    height: 24px;
  }
}

.mute-btn.is-muted {
  background-image: url("../img/icon-mute.svg");
}

.play-btn {
  display: block;
  width: 160px;
  height: 160px;
  background: url("../img/music_play.svg") no-repeat center / contain;
  margin-inline: auto;
}

@media screen and (max-width: 969px) {
  .play-btn {
    width: 80px;
    height: 80px;
    margin-top: -4px;
  }
}

.play-btn.is-stop {
  background-image: url("../img/music_stop.svg");
}

.controls {
  margin-top: 73px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 712px;
  max-width: 100%;
  margin-inline: auto;
}

@media screen and (max-width: 969px) {
  .controls {
    margin-top: 54px;
    width: 255px;
    gap: 14px;
  }
}

input[type="range"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: #fff;
  outline: none;
  cursor: pointer;

  /* Chrome系の進行表現 */
  background-image: linear-gradient(#8728ec, #8728ec);
  background-size: 0% 100%;
  background-repeat: no-repeat;
}

@media screen and (max-width: 969px) {
  input[type="range"] {
    height: 6px;
  }
}

/* ===== Chrome / Edge / Safari：つまみ ===== */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 4px 4px 15px rgba(231, 56, 98, 0.4);
  border: none;
  cursor: pointer;
  margin-top: -10px; /* バー中央に合わせる */
}

@media screen and (max-width: 969px) {
  input[type="range"]::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    margin-top: -7px;
  }
}

/* ===== Chrome / Edge / Safari：トラック ===== */
input[type="range"]::-webkit-slider-runnable-track {
  height: 10px;
  background: transparent;
  border-radius: 999px;
}

/* ===== Firefox：バー全体 ===== */
input[type="range"]::-moz-range-track {
  height: 10px;
  background: #fff;
  border-radius: 999px;
}

/* ===== Firefox：進行バー ===== */
input[type="range"]::-moz-range-progress {
  height: 10px;
  background: #8728ec;
  border-radius: 999px;
}

@media screen and (max-width: 969px) {
  input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
  }

  /* ===== Firefox：バー全体 ===== */
  input[type="range"]::-moz-range-track {
    height: 6px;
  }

  /* ===== Firefox：進行バー ===== */
  input[type="range"]::-moz-range-progress {
    height: 6px;
  }

  @-moz-document url-prefix() {
    input[type="range"]::-moz-range-track,
    input[type="range"]::-moz-range-progress {
      height: 6px !important;
    }
  }
}

/* ===== Firefox：つまみ ===== */
input[type="range"]::-moz-range-thumb {
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 4px 4px 15px rgba(231, 56, 98, 0.4);
  border: none;
  cursor: pointer;
}

@media screen and (max-width: 969px) {
  input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
  }
}

.time {
  display: flex;
  justify-content: space-between;
}

.time span {
  font-size: 16px;
}

@media screen and (max-width: 969px) {
  .time span {
    font-size: 12px;
  }
}

.title {
  margin-top: 35px;
  font-size: 22px;
  text-align: center;
  font-weight: 900;
  font-family: var(--font-family-ja2);
  line-height: 28px;
  letter-spacing: 0.05em;
}

@media screen and (max-width: 969px) {
  .title {
    font-size: 16px;
    margin-top: 18px;
  }
}
@media screen and (max-width: 374px) {
  .title {
    font-size: 14px;
  }
}

/*=======================================================================
# SNS
========================================================================*/
@media screen and (min-width: 970px) {
  .sns {
    position: sticky;
    top: 0;
    z-index: 1;
  }
}

.sns {
  background: var(--background-pink);
}
.sns::before {
  background: url("../img/wave-pink.svg") repeat center center / contain;
}

@media screen and (max-width: 969px) {
  .sns::before {
    background: url("../img/wave-pink_sp.svg") repeat center center / contain;
  }
}

.sns.wave-position {
  padding-bottom: 292px;
}

@media screen and (max-width: 969px) {
  .sns.wave-position {
    padding-bottom: 123px;
  }
}

.sns-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 30px;
}

@media screen and (max-width: 969px) {
  .sns-inner {
    padding-inline: 15px;
  }
}

.sns .section-head_wrap {
  margin-top: 121px;
  color: #fff;
  opacity: 1;
  transform: translateY(0px);
}

@media screen and (max-width: 969px) {
  .sns .section-head_wrap {
    margin-top: 40px;
  }
}

.sns-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 46px;
  margin-top: 78px;
}

@media screen and (max-width: 969px) {
  .sns-items {
    gap: 30px;
    margin-top: 37px;
  }
}

.sns-items img {
  width: 135px;
  height: 135px;
}

@media screen and (max-width: 969px) {
  .sns-items img {
    width: 90px;
    height: 90px;
  }
}

/*=======================================================================
# cta
========================================================================*/
.cta {
  background: var(--background-green);
}
.cta::before {
  background: url("../img/wave-green.svg") repeat center center / contain;
}

@media screen and (max-width: 969px) {
  .cta::before {
    background: url("../img/wave-green_sp.svg") repeat center center / contain;
  }
}

.cta.wave-position {
  padding-bottom: 298px;
}

@media screen and (max-width: 969px) {
  .cta.wave-position {
    padding-bottom: 119px;
  }
}

.cta-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 30px;
}

@media screen and (max-width: 969px) {
  .cta-inner {
    padding-inline: 15px;
  }
}

.cta .job-wrap {
  margin-top: 131px;
}

@media screen and (max-width: 969px) {
  .cta .job-wrap {
    margin-top: 57px;
  }
}

/*=======================================================================
# footer
========================================================================*/
.footer {
  background: #fff;
}
.footer::before {
  background: url("../img/wave-white.svg") repeat center center / contain;
}

@media screen and (max-width: 969px) {
  .footer::before {
    background: url("../img/wave-white_sp.svg") repeat center center / contain;
  }
}

.footer.wave-position {
  padding-bottom: 100px;
}

@media screen and (max-width: 969px) {
  .footer.wave-position {
    padding-bottom: 60px;
  }
}

.footer-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 30px;
}

@media screen and (max-width: 969px) {
  .footer-inner {
    padding-inline: 15px;
  }
}

.footer-menus {
  margin-top: 128px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
}

@media screen and (max-width: 969px) {
  .footer-menus {
    flex-direction: column;
    gap: 29px;
    margin-top: 53px;
  }
}

.footer-menu {
  display: block;
  font-weight: 700;
}

@media screen and (max-width: 969px) {
  .footer-menu {
    font-size: 16px;
  }
}

.footer-bottom {
  margin-top: 84px;
  text-align: center;
}

@media screen and (max-width: 969px) {
  .footer-bottom {
    margin-top: 57px;
  }
}

.footer-copyright {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/*=======================================================================
# アニメーション
========================================================================*/
@media screen and (min-width: 970px) {
  .fade-up {
    opacity: 0;
    transform: translateY(72px);
    transition:
      opacity 0.6s ease,
      transform 0.6s ease;
    transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .fade-up.is-show,
  .slide-up.is-show {
    opacity: 1;
    transform: translateY(0);
  }

  .slide-up {
    opacity: 0;
    transform: translateY(150px);
    transition:
      opacity 0.8s ease-out,
      transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .player.slide-up {
    transition-delay: 0.3s;
  }

  .scale {
    /* 初期状態：さらに小さく */
    scale: 0;
    opacity: 1;
    /* トランジションを調整 */
    transition:
      scale 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55),
      opacity 0.3s ease-out;
  }

  .scale.is-show {
    opacity: 1;
    animation: boyoyon 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
  }

  @keyframes boyoyon {
    0% {
      scale: 0;
      opacity: 1;
    }
    30% {
      scale: 1.25; /* 最初に大きくオーバーシュート */
    }
    50% {
      scale: 0.9; /* 縮こまる */
    }
    65% {
      scale: 1.15; /* 2回目の跳ね */
    }
    80% {
      scale: 0.95; /* 微調整の戻り */
    }
    100% {
      scale: 1; /* 定着 */
    }
  }

  .scale-simple {
    scale: 0.3;
    opacity: 0;

    transition:
      scale 0.4s ease-out,
      opacity 0.4s ease-out;
  }

  .scale-simple.is-show {
    scale: 1;
    opacity: 1;
  }
}

/* スクロール開始位置
========================================================================*/
.anchor {
  position: absolute;
  top: 0;
  height: 0;
  pointer-events: none;
}

.anchor-song {
  transform: translateY(30px);
}

@media screen and (min-width: 970px) {
  .anchor {
    transform: translateY(-890px); /* 基準位置 */
  }
  /* song だけ少し下にしたい場合 */
  .anchor-song {
    transform: translateY(150px);
  }
}
