@charset "UTF-8";
:root {
  --color-main-pink: #ff80b7;
  --color-accent-pink: #ff9aa4;
  --color-main-red: #ff737f;
  --color-accent-red: #ff8a73;
  --color-main-orange: #ff9466;
  --color-accent-orange: #ffb873;
  --color-yellow: #fffce3;
  --color-main-yellow: #f2d574;
  --color-accent-yellow: #f2ea85;
  --color-main-green: #6cd9a4;
  --color-accent-green: #7de6d2;
  --color-main-blue: #82d5ff;
  --color-accent-blue: #7ba5f2;
  --color-main-indigo: #677ee6;
  --color-accent-indigo: #9383e6;
  --color-main-purple: #8970cc;
  --color-accent-purple: #a571bf;
  --color-main-dark-gray: #555555;
  --color-accent-dark-gray: #6e4d80;
  --color-main-light-gray: #cccccc;
  --color-accent-light-gray: #b8cbe5;
  --color-rgb-pink: 255, 128, 183;
  --color-rgb-red: 255, 77, 79;
  --color-rgb-orange: 255, 122, 69;
  --color-rgb-yellow: 250, 219, 20;
  --color-rgb-green: 82, 196, 26;
  --color-rgb-blue: 24, 144, 255;
  --color-rgb-indigo: 47, 84, 235;
  --color-rgb-purple: 114, 46, 209;
  --color-rgb-dark-gray: 89, 89, 89;
  --color-rgb-light-gray: 217, 217, 217;
  --color-text: var(--color-black);
  --color-text-sub: var(--color-main-light-gray);
  --color-black: #333;
  --color-white: #fff;
  --color-gray: #888;
  --color-bg: #fefefe;
  --color-bg-gray: #f3f4f6;
  --color-footer-bg: var(--color-text);
  --color-border: #eee;
  --ISTJ: #D96C62;
  --ISFJ: #D9C14C;
  --INFJ: #59A9B3;
  --INTJ: #4C4080;
  --ISTP: #805446;
  --ISFP: #8DB35A;
  --INFP: #D96C8C;
  --INTP: #31478A;
  --ESTP: #D98D57;
  --ESFP: #D96CB5;
  --ENFP: #57ADD9;
  --ENTP: #4584BF;
  --ESTJ: #993D45;
  --ESFJ: #D96262;
  --ENFJ: #53A683;
  --ENTJ: #593145;
  --font-family-logo: 'LINE Seed JP', sans-serif;
  --font-family-base: 'Zen Kaku Gothic New', sans-serif;
  --font-family-letter: 'Zen Maru Gothic', sans-serif;
  --font-family-en: 'Mayonice', sans-serif;
  --font-family-star: 'Potta One', system-ui;
  --int-s-1: 4px;
  --int-s-2: 8px;
  --int-s-3: 16px;
  --int-m-1: 32px;
  --int-m-2: 64px;
  --int-m-3: 128px;
  --int-l-1: 256px;
  --font-size-text-main: 14px;
  --line-height-text-main: 24px;
  --font-size-text-small: 12px;
  --line-height-text-small:20px;
  --font-size-text-supplement: 10px;
  --font-size-big-title: 24px;
  --font-size-big-title-en: 36px;
  --font-size-main-title: 20px;
  --font-size-sub-title: 16px;
  --font-size-sub-title-en: 28px;
  --font-size-accent-title-ja: 44px;
  --font-size-accent-title-en: 20px;
  --img-size-accent-title-piece: 12px;
  --font-size-shindan-title: 26px;
  --font-size-shindan-title-accent:1.8em;
  --font-size-main-button: 18px;
  --img-size-main-button: 10px;
  --font-size-middle-button: 16px;
  --img-size-middle-button: 8px;
  --img-size-pulldown-button: 16px;
  --img-size-account-icon: 64px;
  --font-size-account-name: 20px;
  --font-size-account-id: 12px;
  --layout-header-height: 60px;
  --layout-content-width: stretch;
  --layout-inner-space-side: var(--int-s-3);
  --layout-content-space-header: var(--int-m-2);
  --layout-content-space-bottom: var(--int-m-2);
  --layout-inner-width: calc(100% - var(--layout-inner-space-side) * 2);
  --size-background-line-piece: var(--layout-content-space-bottom);
  --default-easing: cubic-bezier(0.25, 1, 0.5, 1);
  --mask-easing: cubic-bezier(0.16, 1, 0.3, 1);
  --bounce-easing: cubic-bezier(0.175, 0.885, 0.32, 1.1);
  --ease-cloth: cubic-bezier(0.45, 0, 0.55, 1);
}

@media screen and (min-width: 1025px) {
  :root {
    --int-s-1: 8px;
    --int-s-2: 16px;
    --int-s-3: 32px;
    --int-m-1: 64px;
    --int-m-2: 128px;
    --int-m-3: 256px;
    --int-l-1: 512px;
    --font-size-text-main: 16px;
    --font-size-text-small: 14px;
    --font-size-text-supplement: 12px;
    --font-size-main-title: 32px;
    --font-size-sub-title: 20px;
    --font-size-accent-title-ja: 72px;
    --font-size-accent-title-en: 36px;
    --font-size-main-button: 24px;
    --font-size-middle-button: 20px;
    --layout-content-width: 94%;
    --layout-inner-space-side: var(--int-s-2);
    --layout-content-space-header: var(--int-m-1);
    --size-background-line-piece: var(--int-m-1);
  }
}
/* =========================================
  ローディング/オープニング アニメーション部分
========================================= */
#opening-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-bg-gray);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: hideLoader 0.6s 1.6s forwards ease-in-out;
}

/* --- 共通の配置スタイル --- */
.scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
@media screen and (min-width: 769px) {
  .scene {
    perspective: 800px;
    transform-style: preserve-3d;
  }
}

.triangle {
  position: absolute;
  left: 0;
  width: 100vw;
  height: 50vh;
  transform-origin: 50% 50%;
}
@media screen and (max-width: 768px) {
  .triangle {
    will-change: transform, opacity;
  }
}
@media screen and (min-width: 769px) {
  .triangle {
    will-change: transform, opacity, filter;
    backface-visibility: hidden;
  }
}

.triangle-top {
  top: 0;
  background-color: #cbcbcb;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  animation: rushDownOpening 1.96s cubic-bezier(0.6, 0.05, 0.15, 1) forwards;
  z-index: 10;
}

.triangle-bottom {
  bottom: 0;
  background-color: #333333;
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
  animation: rushUpOpening 1.96s cubic-bezier(0.6, 0.05, 0.15, 1) forwards;
  z-index: 20;
}

.opening-text {
  position: relative;
  font-size: var(--font-size-big-title-en);
  font-weight: 800;
  letter-spacing: 0.5em;
  color: var(--color-bg-gray);
  mix-blend-mode: difference;
  z-index: 100;
  animation: pulseTextOpening 1.96s forwards;
}

/* =========================================
  キーフレーム（アニメーションの動き）
========================================= */
@keyframes hideLoader {
  from {
    opacity: 1;
    visibility: visible;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}
/* --- スマホ用（768px以下）のアニメーション --- */
@media screen and (max-width: 768px) {
  @keyframes rushDownOpening {
    0% {
      transform: translateY(-100vh) scale(0.9);
      opacity: 0;
    }
    15%, 45% {
      transform: translateY(0) scale(1);
      opacity: 1;
    }
    85% {
      transform: translateY(80vh) scale(4);
      opacity: 1;
    }
    100% {
      transform: translateY(120vh) scale(6);
      opacity: 0;
    }
  }
  @keyframes rushUpOpening {
    0% {
      transform: translateY(100vh) scale(0.9);
      opacity: 0;
    }
    15%, 45% {
      transform: translateY(0) scale(1);
      opacity: 1;
    }
    85% {
      transform: translateY(-80vh) scale(4);
      opacity: 1;
    }
    100% {
      transform: translateY(-120vh) scale(6);
      opacity: 0;
    }
  }
  @keyframes pulseTextOpening {
    0% {
      opacity: 0;
      transform: scale(0.95);
    }
    15%, 45% {
      opacity: 1;
      transform: scale(1);
    }
    85%, 100% {
      opacity: 0;
      transform: scale(1.1);
    }
  }
}
/* --- タブレット・PC用（769px以上）のアニメーション --- */
@media screen and (min-width: 769px) {
  @keyframes rushDownOpening {
    0% {
      transform: translate3d(0, -100vh, -100px) scale(1);
      opacity: 0;
      filter: blur(5px);
    }
    15%, 45% {
      transform: translate3d(0, 0, 0) scale(1);
      opacity: 1;
      filter: blur(0px);
    }
    85% {
      transform: translate3d(0, 80vh, 200px) scale(4);
      opacity: 1;
      filter: blur(8px);
    }
    100% {
      transform: translate3d(0, 120vh, 400px) scale(6);
      opacity: 0;
      filter: blur(15px);
    }
  }
  @keyframes rushUpOpening {
    0% {
      transform: translate3d(0, 100vh, -100px) scale(1);
      opacity: 0;
      filter: blur(5px);
    }
    15%, 45% {
      transform: translate3d(0, 0, 0) scale(1);
      opacity: 1;
      filter: blur(0px);
    }
    85% {
      transform: translate3d(0, -80vh, 200px) scale(4);
      opacity: 1;
      filter: blur(8px);
    }
    100% {
      transform: translate3d(0, -120vh, 400px) scale(6);
      opacity: 0;
      filter: blur(15px);
    }
  }
  @keyframes pulseTextOpening {
    0% {
      opacity: 0;
      filter: blur(5px);
    }
    15%, 45% {
      opacity: 1;
      filter: blur(0px);
    }
    85%, 100% {
      opacity: 0;
      filter: blur(10px);
    }
  }
}
/* =========================================
  data-loading="true" の場合のみ適用
========================================= */
main[data-loading=true] {
  /* 初期状態（隠れている状態） */
  opacity: 0;
  transform: scale(1.02);
  filter: blur(12px);
  will-change: opacity, transform, filter;
  backface-visibility: hidden;
  animation: premiumReveal 1.2s 2.2s ease forwards;
}

/* 完了状態へ向かうアニメーション定義 */
@keyframes premiumReveal {
  0% {
    opacity: 0;
    transform: scale(1.02);
    filter: blur(12px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}
.--puzzle {
  position: fixed;
  top: 25%;
  left: -10%;
  rotate: 15deg;
  opacity: 0.2;
  z-index: -1;
}

.--piece_big {
  position: fixed;
  top: -5%;
  right: -30%;
  rotate: -18deg;
  opacity: 0.2;
  z-index: -1;
}

.--piece {
  position: fixed;
  top: 72%;
  right: 2%;
  rotate: -300deg;
  opacity: 0.2;
  z-index: -1;
}

.mentuzzle-slider {
  min-width: 0;
}
.mentuzzle-slider .slider-core-wrapper {
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  width: 100vw !important;
  padding-left: calc(50vw - 50%) !important;
  padding-right: calc(50vw - 50%) !important;
}
.mentuzzle-slider .slider-track {
  align-items: stretch;
}
.mentuzzle-slider .slider-item {
  display: flex;
  height: auto;
}
.mentuzzle-slider .slider-item > article {
  box-shadow: 0 4px 10px rgba(var(--color-rgb-light-gray), 0.4) !important;
  border-radius: var(--int-s-3);
}
.mentuzzle-slider .slider-nav {
  top: 50%;
  width: 28px;
  height: 28px;
  font-size: 10px;
  border: none;
}
.mentuzzle-slider .slider-nav.slider-prev {
  left: var(--int-s-2);
}
.mentuzzle-slider .slider-nav.slider-next {
  right: var(--int-s-2);
}

body {
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url("../img/portal/background/gray_puzzle_back_2tone.png");
  background-repeat: repeat;
  background-position: center top;
  background-size: 40%;
}
@media screen and (min-width: 1025px) {
  body::before {
    background-size: auto;
  }
}
body::before {
  z-index: -1;
  pointer-events: none;
  will-change: transform;
}

.p-top-visual {
  width: 100%;
  max-width: var(--layout-content-width);
  margin: 0 auto;
}
@media screen and (min-width: 1025px) {
  .p-top-visual {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-between;
    gap: 5vw;
    padding: var(--int-m-1) 0;
  }
}

.p-hero {
  position: sticky;
  top: calc(var(--int-m-1) + var(--layout-header-height));
  margin-bottom: var(--int-m-3);
}
@media screen and (min-width: 1025px) {
  .p-hero {
    width: 50%;
    top: 35vh;
  }
}
.p-hero__logo {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  font-size: var(--font-size-text-main);
  font-family: var(--font-family-letter);
  padding: 0 var(--layout-inner-space-side);
}
@media screen and (min-width: 1025px) {
  .p-hero__logo {
    max-width: 100%;
  }
}
.p-hero__logo-subline {
  display: block;
  font-size: var(--font-size-text-small);
  margin-top: var(--int-s-3);
}

.p-hero-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding-top: 0;
}
@media screen and (min-width: 1025px) {
  .p-hero-wrapper {
    width: 50%;
    max-width: 50%;
  }
}
.p-hero-wrapper .p-hero__piece {
  width: 100%;
  margin-bottom: -1px;
  position: relative;
}
.p-hero-wrapper .p-hero__piece img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.p-hero-wrapper .p-hero__piece .--kirakira {
  position: absolute;
  top: 30%;
  right: 20%;
}
.p-hero-wrapper .p-hero__piece .--ribbon {
  position: absolute;
  top: 12%;
  right: 8%;
  rotate: 103deg;
}
.p-hero-wrapper .p-hero__scroll {
  position: absolute;
  top: 0;
  bottom: auto;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 75%;
}
@media screen and (min-width: 1025px) {
  .p-hero-wrapper .p-hero__scroll {
    margin-top: 90%;
  }
}
.p-hero-wrapper .p-hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--int-m-1);
  z-index: 10;
  text-align: center;
}
.p-hero-wrapper .p-hero__scroll-keyhole {
  width: 32px;
  height: 58px;
  background-color: var(--color-bg-gray);
  -webkit-mask-image: url("../img/portal/background/icon_keyhole.svg");
  mask-image: url("../img/portal/background/icon_keyhole.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  mask-size: contain;
  opacity: 1;
  margin-bottom: var(--int-s-1);
}
.p-hero-wrapper .p-hero__scroll-text {
  color: var(--color-main-pink);
  font-family: var(--font-family-logo);
  font-size: var(--font-size-text-small);
  letter-spacing: 0.1em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.p-hero-wrapper .p-hero__scroll-arrow {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-main-pink);
  border-bottom: 2px solid var(--color-main-pink);
  transform: rotate(45deg);
  margin-top: 4px;
}

.p-introduction-wrapper {
  border-radius: 0 0 32px 32px;
  background-color: var(--color-white);
}
.p-introduction-wrapper .p-scroll {
  font-size: var(--font-size-text-small);
}
.p-introduction-wrapper .p-hero__catchphrase {
  font-family: var(--font-family-logo);
  font-size: 42px;
  font-weight: 900;
  line-height: 1.2;
}
.p-introduction-wrapper .p-hero__catchphrase .a-text-mask__inner {
  background: linear-gradient(320deg, var(--color-accent-pink), var(--color-main-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
@media screen and (min-width: 1025px) {
  .p-introduction-wrapper .p-hero__catchphrase {
    font-size: 48px;
    line-height: 1.4;
    text-align: center;
  }
}
.p-introduction-wrapper .p-hero__lead {
  font-family: var(--font-family-logo);
  font-size: var(--font-size-text-main);
  font-weight: bold;
  line-height: 1.8;
  color: var(--color-text);
}
@media screen and (min-width: 1025px) {
  .p-introduction-wrapper .p-hero__lead {
    text-align: center;
  }
}
.p-introduction-wrapper .p-hero__lead p {
  margin-bottom: var(--int-m-1);
}
.p-introduction-wrapper .p-hero__lead p:last-child {
  margin-bottom: 0;
}

.p-about {
  position: relative;
  color: var(--color-text);
  border-radius: 32px;
  background-color: var(--color-bg-gray);
  z-index: 0;
}
.p-about::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: var(--size-background-line-piece);
  height: var(--size-background-line-piece);
  transform: rotate(180deg);
  background: url("../img/portal/background/back_whiteLine_onepiece.svg") no-repeat center/contain;
  z-index: -1;
  pointer-events: none;
}
.p-about::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: var(--size-background-line-piece);
  height: var(--size-background-line-piece);
  background: url("../img/portal/background/back_whiteLine_onepiece.svg") no-repeat center/contain;
  z-index: -1;
  pointer-events: none;
}
.p-about__text {
  font-family: var(--font-family-letter);
  font-size: var(--font-size-text-main);
  line-height: 1.8;
}
.p-about .block {
  max-width: 640px;
  margin: var(--int-s-2) auto;
}

.p-intro-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: calc(var(--int-s-3) * -1) var(--int-s-3) auto;
}
.p-intro-cta__btn {
  color: var(--color-white) !important;
  background: linear-gradient(320deg, var(--color-accent-pink), var(--color-main-pink));
  box-shadow: 0 4px 10px rgba(var(--color-rgb-pink), 0.4) !important;
}
.p-intro-cta__status {
  font-size: var(--font-size-text-main);
  color: var(--color-text);
  font-weight: bold;
}
@media screen and (min-width: 1025px) {
  .p-intro-cta__status {
    font-size: var(--font-size-text-small);
  }
}

.p-intro-character {
  text-align: center;
  position: relative;
}
@media screen and (min-width: 1025px) {
  .p-intro-character {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: left;
  }
}
.p-intro-character__drop {
  margin: 0 auto;
  width: 32px;
  height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.p-intro-character__drop img {
  width: 100%;
}
@media screen and (min-width: 1025px) {
  .p-intro-character__drop {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}
.p-intro-character__drop .drop-square {
  height: 100px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
}
.p-intro-character__drop .drop-piece {
  width: 20px;
  height: 20px;
  position: relative;
}
.p-intro-character__drop {
  /* 各ピースの初期位置とサイズ */
}
.p-intro-character__drop .drop-animation__01 {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 0px;
  left: 0px;
  opacity: 0;
}
.p-intro-character__drop {
  /* 02〜04は後から出すので、初期状態を透明（opacity: 0）にしておく */
}
.p-intro-character__drop .drop-animation__02 {
  width: 16px;
  height: 16px;
  opacity: 0;
}
.p-intro-character__drop .drop-animation__03 {
  width: 24px;
  height: 24px;
  opacity: 0;
}
.p-intro-character__drop .drop-animation__04 {
  width: 32px;
  height: 32px;
  opacity: 0;
}
.p-intro-character__drop {
  /* ===================================
     スクロール発火時のアニメーション
  =================================== */
}
.p-intro-character__drop.is-animated {
  /* 1. ピース02〜04（高精度イージングでスッと落ちる） */
}
.p-intro-character__drop.is-animated .drop-animation__02 {
  animation: a-fadeInDown 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.8s both;
}
.p-intro-character__drop.is-animated .drop-animation__03 {
  animation: a-fadeInDown 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.4s both;
}
.p-intro-character__drop.is-animated .drop-animation__04 {
  animation: a-fadeInDown 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0s both;
}
.p-intro-character__drop.is-animated {
  /* 2. メインのピース01（スプリング関数を使って自動バウンド） */
}
.p-intro-character__drop.is-animated .drop-animation__01 {
  animation: a-dropSimple 1.5s linear(0, 0.006, 0.025, 0.056, 0.099, 0.154, 0.221, 0.301, 0.392, 0.495, 0.609, 0.733, 0.811, 0.88, 0.941, 0.992, 1.035, 1.07, 1.091, 1.102, 1.103, 1.096, 1.083, 1.066, 1.046, 1.026, 1.007, 0.99, 0.977, 0.967, 0.961, 0.959, 0.96, 0.964, 0.97, 0.977, 0.985, 0.993, 1, 1.006, 1.01, 1.013, 1.014, 1.013, 1.011, 1.008, 1.005, 1.002, 1, 0.998, 0.997, 0.997, 0.997, 0.998, 0.999, 1) 1.6s both;
}
.p-intro-character__drop {
  /* ===================================
     キーフレーム（動かすプロパティだけを定義）
  =================================== */
}
.p-intro-character__image-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  overflow: hidden;
}
.p-intro-character__image-wrapper.is-animated {
  overflow: visible;
}
@media screen and (min-width: 1025px) {
  .p-intro-character__image-wrapper {
    width: auto;
    margin-top: 0 !important;
  }
}
.p-intro-character__image {
  transform: translateX(100%);
  transition: opacity 0.5s ease, transform 1s linear(0, 0.006, 0.025, 0.056, 0.099, 0.154, 0.221, 0.301, 0.392, 0.495, 0.609, 0.733, 0.811, 0.88, 0.941, 0.992, 1.035, 1.07, 1.091, 1.102, 1.103, 1.096, 1.083, 1.066, 1.046, 1.026, 1.007, 0.99, 0.977, 0.967, 0.961, 0.959, 0.96, 0.964, 0.97, 0.977, 0.985, 0.993, 1, 1.006, 1.01, 1.013, 1.014, 1.013, 1.011, 1.008, 1.005, 1.002, 1, 0.998, 0.997, 0.997, 0.997, 0.998, 0.999, 1);
}
.p-intro-character__image img {
  width: 100%;
  max-width: 233px;
  height: auto;
}
@media screen and (min-width: 1025px) {
  .p-intro-character__image img {
    max-width: 388px;
  }
}
.p-intro-character__fukidashi {
  position: absolute;
  z-index: 2;
  top: 0px;
  right: 420px;
  transition-delay: 0.8s;
}
@media screen and (max-width: 1024px) {
  .p-intro-character__fukidashi {
    right: 272px;
  }
}
.p-intro-character__fukidashi img {
  max-width: 118px;
  height: auto;
}
@media screen and (min-width: 1025px) {
  .p-intro-character__fukidashi img {
    max-width: 180px;
  }
}
.p-intro-character__image-wrapper.is-animated .p-intro-character__image {
  transform: translateX(0);
}

.p-intro-reg__header {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.p-intro-reg__title {
  line-height: 1.5;
  text-align: center;
  padding: 0 var(--int-s-2);
}
.p-intro-reg__line {
  width: 50px;
  height: 1px;
  background-color: var(--color-gray, #888888);
  margin: auto 0 var(--int-s-3);
}
.p-intro-reg__line--left {
  transform: rotate(45deg);
}
.p-intro-reg__line--right {
  transform: rotate(-45deg);
}
.p-intro-reg__profile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--int-s-3);
}
@media screen and (min-width: 1025px) {
  .p-intro-reg__profile {
    gap: var(--int-s-1);
  }
}
.p-intro-reg__profile {
  aspect-ratio: 1/1;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  z-index: 1;
  background: url("../img/portal/background/profile_piece.svg") no-repeat center/contain;
}
.p-intro-reg__profile-main, .p-intro-reg__profile-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--int-s-2);
}
@media screen and (min-width: 1025px) {
  .p-intro-reg__profile-main, .p-intro-reg__profile-meta {
    gap: var(--int-s-1);
  }
}
.p-intro-reg__profile-id {
  font-family: var(--font-family-letter);
  font-size: var(--font-size-text-small);
  color: var(--color-text-sub);
}
.p-intro-reg__profile-types {
  font-size: var(--font-size-text-small);
  letter-spacing: 0.05em;
}
.p-intro-reg__auth {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: var(--int-s-3);
  width: 100%;
}

.piece-separator {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--layout-content-space-bottom);
}
.piece-separator img {
  width: 128px;
  height: 100%;
}

/* ===================================
  グループ4：トップページのパズルパーテーションのアニメーション
=================================== */
.roll-puzzle__animation {
  position: relative;
  width: 142px;
  height: 40px;
  margin: 0 auto;
}

.roll-animation__01,
.roll-animation__02,
.roll-animation__03,
.roll-animation__04 {
  width: 28px;
  height: 28px;
  position: absolute;
  top: calc(50% - 14px);
  left: 0px;
  display: block;
  opacity: 0;
}

.is-animated .roll-animation__01 {
  animation: roll-anim__01 2s linear 0.2s both;
}

.is-animated .roll-animation__02 {
  animation: roll-anim__02 1.8s linear 1.4s both;
}

.is-animated .roll-animation__03 {
  animation: roll-anim__03 1.4s linear 2.6s both;
}

.is-animated .roll-animation__04 {
  animation: roll-anim__04 1.2s linear 3.8s both;
}

@keyframes roll-anim__01 {
  0% {
    opacity: 0;
    transform: translate(-77px, 0px) rotate(0deg) skew(0deg);
  }
  5% {
    opacity: 1;
  }
  15% {
    opacity: 1;
    transform: translate(-26px, -4px) rotate(140deg) skew(0deg);
  }
  30% {
    opacity: 1;
    transform: translate(24px, 0px) rotate(280deg) skew(0deg);
  }
  45% {
    opacity: 1;
    transform: translate(75px, -4px) rotate(420deg) skew(0deg);
  }
  /* 壁にぶつかる */
  60% {
    opacity: 1;
    transform: translate(126px, 0px) rotate(560deg) skew(0deg);
  }
  75% {
    opacity: 1;
    transform: translate(104px, -2px) rotate(520deg) skew(0deg);
  }
  88% {
    opacity: 1;
    transform: translate(118px, 0px) rotate(545deg) skew(-4deg);
  }
  100% {
    opacity: 1;
    transform: translate(114px, 0px) rotate(540deg) skew(0deg);
  }
}
@keyframes roll-anim__02 {
  0% {
    opacity: 0;
    transform: translate(-77px, 0px) rotate(-90deg) skew(0deg);
  }
  5% {
    opacity: 1;
  }
  15% {
    opacity: 1;
    transform: translate(-34px, -4px) rotate(22deg) skew(0deg);
  }
  30% {
    opacity: 1;
    transform: translate(9px, 0px) rotate(135deg) skew(0deg);
  }
  45% {
    opacity: 1;
    transform: translate(52px, -4px) rotate(247deg) skew(0deg);
  }
  /* 1番目にぶつける */
  60% {
    opacity: 1;
    transform: translate(95px, 0px) rotate(360deg) skew(0deg);
  }
  85% {
    opacity: 1;
    transform: translate(76px, -2px) rotate(270deg) skew(0deg);
  }
  92% {
    opacity: 1;
    transform: translate(76px, 0px) rotate(275deg) skew(-4deg);
  }
  100% {
    opacity: 1;
    transform: translate(76px, 0px) rotate(270deg) skew(0deg);
  }
}
@keyframes roll-anim__03 {
  0% {
    opacity: 0;
    transform: translate(-77px, 0px) rotate(-180deg) skew(0deg);
  }
  5% {
    opacity: 1;
  }
  15% {
    opacity: 1;
    transform: translate(-43px, -4px) rotate(-67deg) skew(0deg);
  }
  30% {
    opacity: 1;
    transform: translate(-10px, 0px) rotate(45deg) skew(0deg);
  }
  45% {
    opacity: 1;
    transform: translate(23px, -4px) rotate(157deg) skew(0deg);
  }
  /* 2番目にぶつける */
  60% {
    opacity: 1;
    transform: translate(57px, 0px) rotate(270deg) skew(0deg);
  }
  85% {
    opacity: 1;
    transform: translate(38px, -2px) rotate(180deg) skew(0deg);
  }
  92% {
    opacity: 1;
    transform: translate(38px, 0px) rotate(185deg) skew(-4deg);
  }
  100% {
    opacity: 1;
    transform: translate(38px, 0px) rotate(180deg) skew(0deg);
  }
}
@keyframes roll-anim__04 {
  0% {
    opacity: 0;
    transform: translate(-77px, 0px) rotate(-90deg) skew(0deg);
  }
  5% {
    opacity: 1;
  }
  15% {
    opacity: 1;
    transform: translate(-53px, -4px) rotate(22deg) skew(0deg);
  }
  30% {
    opacity: 1;
    transform: translate(-29px, 0px) rotate(135deg) skew(0deg);
  }
  45% {
    opacity: 1;
    transform: translate(-5px, -4px) rotate(247deg) skew(0deg);
  }
  /* 3番目にぶつける */
  60% {
    opacity: 1;
    transform: translate(19px, 0px) rotate(360deg) skew(0deg);
  }
  85% {
    opacity: 1;
    transform: translate(0px, -2px) rotate(270deg) skew(0deg);
  }
  92% {
    opacity: 1;
    transform: translate(0px, 0px) rotate(275deg) skew(-4deg);
  }
  100% {
    opacity: 1;
    transform: translate(0px, 0px) rotate(270deg) skew(0deg);
  }
}
.p-fortune-btn {
  position: fixed;
  bottom: calc(var(--int-s-3) + var(--layout-content-space-bottom));
  right: var(--int-s-3);
  width: 96px;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 3;
}
@media screen and (min-width: 1025px) {
  .p-fortune-btn {
    bottom: var(--int-s-3);
  }
}
.p-fortune-btn a {
  display: block;
  overflow: hidden;
  border-radius: 100%;
}
.p-fortune-btn.is-hidden-by-scroll {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px);
}
