@charset "UTF-8";



/****************************************
Loading Anim - 波の形状固定（レスポンシブ対応版）
****************************************/
.overlay-logo-anim {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 99;
  pointer-events: none;
  overflow: hidden;
}

/* 旧ロゴ */
.old-logo {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  z-index: 1;
  animation: oldLogoHide 0.1s ease 3.8s forwards;
}

.old-logo img {
  max-width: 586px;
  width: 80%;
}

/* リビールセクション */
.reveal-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 2;
  animation: revealHide 0.3s ease 6.8s forwards;
}

.reveal-svg {
  width: max(100vw, 1920px);
  height: max(100vh, 1080px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 青背景レイヤー - デスクトップ */
.blue-bg-solid,
.wave-right-bg,
.wave-left-bg {
  opacity: 0;
  animation-duration: 5s;
  animation-timing-function: cubic-bezier(0.4, 0.5, 0.2, 0);
  animation-delay: 2.5s;
  animation-fill-mode: forwards;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* 各個別のアニメーション */
.blue-bg-solid {
  animation-name: slideRect;
}

.wave-right-bg {
  animation-name: slidewaveLeft;
}

.wave-left-bg {
  animation-name: slidewaveRight;
}

/* マスク用の青背景レイヤー - 青背景と完全に同じ値 */
.blue-bg-solid-mask,
.wave-right-bg-mask,
.wave-left-bg-mask {
  opacity: 0;
  animation-duration: 5s;
  animation-timing-function: cubic-bezier(0.4, 0.5, 0.2, 0);
  animation-delay: 2.5s;
  animation-fill-mode: forwards;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.blue-bg-solid-mask {
  animation-name: slideRect;
}

.wave-right-bg-mask {
  animation-name: slidewaveLeft;
}

.wave-left-bg-mask {
  animation-name: slidewaveRight;
}


/* 白いテキスト */
.white-text {
  font-size: 10rem;
  text-rendering: geometricPrecision;
  transform: translate3d(0, 0, 0);
}

/* 新ロゴ */
.new-logo {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  z-index: 0;
  animation: newLogoFadeOut 1.5s ease 7.5s forwards;
}

.new-logo img {
  max-width: 290px;
  width: 80%;
}

/* アニメーション定義 */
@keyframes oldLogoHide {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes revealHide {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes slideRect {
  0% {
    opacity: 1;
    transform: translate3d(-3333px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(3333px, 0, 0);
  }
}

@keyframes slidewaveRight {
  0% {
    opacity: 1;
    transform: translate3d(-600px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(calc(300% + 600px), 0, 0);
  }
}

@keyframes slidewaveLeft {
  0% {
    opacity: 1;
    transform: translate3d(-3340.5px, 0, 0) scaleX(-1);
  }
  100% {
    opacity: 1;
    transform: translate3d(3340.5px, 0, 0) scaleX(-1);
  }
}

@keyframes newLogoFadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* Firefox専用の追加最適化 */
@supports (-moz-appearance: none) {
  .reveal-svg {
    transform: translate(-50%, -50%) translate3d(0, 0, 0);
    transform-style: preserve-3d;
  }
  
  .blue-bg-layer,
  .blue-bg-layer-mask {
    isolation: isolate;
  }
}

/* SP時のアニメーション調整 */
/* モバイル設定 */
@media (max-width: 979px) {
  .blue-bg-solid,
  .wave-right-bg,
  .wave-left-bg,
  .blue-bg-solid-mask,
  .wave-right-bg-mask,
  .wave-left-bg-mask {
    animation-duration: 10s;
    animation-timing-function: cubic-bezier(2, 1, 0.4, 0.9);
  }
  
  /* 画面左側の波のアニメーションにオフセット追加 */
  @keyframes slidewaveLeft {
    0% {
      opacity: 1;
      transform: translate3d(calc(1896px - 3340.5px), 0, 0) scaleX(-1);
    }
    100% {
      opacity: 1;
      transform: translate3d(calc(1896px + 3340.5px), 0, 0) scaleX(-1);
    }
  }
  
  .old-logo {
    animation: oldLogoHide 0.1s ease 5s forwards;
  }
  
  .reveal-section {
    animation: revealHide .3s ease 10.8s forwards;
  }
  
  .new-logo {
    animation: newLogoFadeOut 1.5s ease 8s forwards;
  }
}


/****************************************
Main Visual Area (画像切替、スクロール固定処理など)
****************************************/
.home-bg {
  position: fixed;
  top: 148px;
  right: 0;
  width: 50vw;
  height: calc(100vh - 148px);
}
.home-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right top;
}
.home-content-wrap {
  position: relative;
  z-index: 2;
}

.home-main-visual {
  position: relative;
  /* min-height: 200vh; */
}

.home-main-visual-text-area {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
  /* ビューポート高さの一定割合を上部スペースとして確保 */
  padding-top: max(240px, 20vh);
}

/* .fixed-image {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  width: clamp(240px, 35vw, 600px);
  height: clamp(240px, 35vw, 600px);
} */
.fixed-image {
  position: fixed;
  left: 50%;
  top: 50%;
  /* 画面高さに応じて配置を調整 */
  transform: translate(-50%, -46%);
  /* transform: translate(-50%, max(-50%, calc(-100vh + 100% + 20px))); */
  z-index: 0;
  width: clamp(240px, 35vw, 600px);
  height: clamp(240px, 35vw, 600px);
  /* 最小の top 値を設定して上部に隠れないようにする */
  max-height: calc(100vh - 40px);
}

.fixed-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.fixed-image-ui{
  display: flex;
  align-items: center;
  position: absolute;
  right: 0;
  bottom: 0;
}
.fixed-image-ui:hover,
.fixed-image-ui button:hover{
  cursor: pointer;
}
.fixed-image-ui button {
  min-width: 40px;
  text-align: left;
}

/* 上部セクション（左に見出し、右に説明文） */
.home-main-visual-text-area .top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 100px;
  /* height: 507px; */
}

.home-main-visual-text-area .top h2 {
  flex: 0 0 auto;
  width: calc(50% - 300px);
  color: #DE0012;
  /* font-size: 7.0rem; */
  font-size: clamp(2rem, 5vw, 7rem);
  line-height: clamp(2rem, 5vw, 7rem);
  font-family: Noto Sans;
  font-weight: 900;
  word-wrap: break-word;
  display: block;
  white-space: nowrap;
}
.home-main-visual-text-area .top h2 span{
  color: #DE0012;
  /* font-size: 4.2rem; */
  font-size: clamp(1.6rem, 3.5vw, 4.2rem);
  line-height: clamp(1.6rem, 3.5vw, 4.2rem);  
  font-family: Noto Sans;
  font-weight: 900;
  word-wrap: break-word;
  display: block;
}

.home-main-visual-text-area .top p {
  flex: 0 0 auto;
  width: calc(50% - 20vw);
  font-size: 1.8rem;
  line-height: 1.8;
  color: #333;
}

/* 下部セクション（左側に配置、topのh2と同じ幅） */
.home-main-visual-text-area .bottom {
  position: relative;
  width: calc(50% - 300px);
  padding: 100px 0;
  margin-top: 400px;
}

.home-main-visual-text-area .bottom h2 {
  color: #0042BC;
  font-size: 3.8rem;
  font-family: Noto Sans;
  font-weight: 800;
  line-height: 41.80px;
  word-wrap: break-word
}
.home-main-visual-text-area .bottom p {
  color: #0042BC;
  font-size: 1.8rem;
  font-family: Noto Sans;
  font-weight: 400;
  line-height: 27px;
  margin: 26px 0;
  word-wrap: break-word;
}
.sp-only-text{
  display: none;
}
.sp-only-new-logo{
  display: none;
}




/****************************************
Watch our Story
****************************************/
.watch-our-story{
  padding: 80px 0 120px;
}
.home-movie-area {
  max-width: 998px;
  margin: 0 auto;
}
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 998px;
  overflow: hidden;
  margin: auto;
  margin-bottom: 8px;
  border-radius: 20px;
  background-color: #FA0014;
}
/* .video-wrapper:before {
  content: "";
  display: block;
  padding-top: 56.25%;
}
.video-wrapper iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
} */



/****************************************
Getting to know us
****************************************/
.getting-to-know-us{
  padding: 120px 0;
}
.getting-to-know-us .link-image img{
  width: 100%;
}
.getting-to-know-us .link-title{
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 36px;
  word-wrap: break-word;
  display: flex;
  align-items: center;
  gap: 0 13.5px;
  margin: 20px 0 17px;
}
.getting-to-know-us .link-text{
  color: #F2F6FC;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 21px;
  word-wrap: break-word
}
.learn-our-latest-strategies .link-image img{
  transition: transform .6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0) scale(1.01);
    will-change: transform;
}
.learn-our-latest-strategies .link-image{
  overflow: hidden;
  border-radius: 10px;
}
.learn-our-latest-strategies a:hover .link-image img{
  transform: translateZ(0) scale(1.1);
}
.learn-our-latest-strategies svg{
  transition: all .6s;
}
.learn-our-latest-strategies a:hover svg{
  transform: translateX(4px);
}



/****************************************
Slider
****************************************/
.slider-type-1{
  max-width: 100%;
}
.slider-type-1 .splide__slide{
  min-width: 363px;
}



@media (max-width: 1100px) {
  .fixed-image {
    width: 30vw;
    height: 32vw;
    transform: translate(-50%, -25vh);
    /* transform: translate(-50%, -100%); */
  }
  .home-main-visual-text-area{
    /* padding-top: max(200px, 20vh); */
    /* padding-top: max(100px, 10vh); */
    padding-top: max(150px, 15vh);
  }
  .home-main-visual-text-area .top h2,
  .home-main-visual-text-area .top p,
  .home-main-visual-text-area .bottom {
    /* width: calc(50% - 240px); */
    width: calc(50% - 180px);
  }
  .home-main-visual-text-area .top h2 {
    font-size: 5vw;
    font-weight: 900;
    line-height: 5vw;
  }
  .home-main-visual-text-area .top h2 span{
    font-size: 3vw;
    font-weight: 900;
    line-height: 3vw;
  }
  .home-main-visual-text-area .bottom h2{
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 33.80px;
  }
  .home-main-visual-text-area .bottom p{
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 24.80px;
    margin: 10px 0 20px;
  }

  .getting-to-know-us .link-title{
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 24px;
    margin: 12px 0 8px;
  }
  .getting-to-know-us{
    padding: 80px 0;
  }
  .home-main-visual-text-area .bottom{
    margin-top: 200px;
  }
  .video-wrapper {
    max-width: 65%;
  }

}
@media (max-width: 769px) {

  .home-main-visual-text-area{
    margin: 0 auto 0;
  }

  .white-text{
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 43.20px;
  }
  .old-logo img{
    max-width: 300px;
  }
  .new-logo img{
    max-width: 150px;
  }
  #textMask text {
    font-size: 3.6rem;
  }
  .home-main-visual-text-area .top h2 {
    font-size: 4.2rem;
    font-weight: 900;
    line-height: 42px;
  }
  .home-main-visual-text-area .top h2 span{
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 22px;
  }
  .home-main-visual-text-area{
    margin: 40px auto 0;
    padding: 0 20px;
  }
  .home-main-visual-text-area .top {
    flex-direction: column;
    gap: 30px;
  }
  .home-bg{
    position: absolute;
    width: 80vw;
    top: 240px;
    height: auto;
  }
  .fixed-image {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 540px;
    height: auto;
    margin: 20px auto 32px;
    padding: 0 21px;
    transform: translate(0, 0)!important
  }
  .fixed-image-ui{
    right: 20px;
  }
  .home-main-visual-text-area .top h2,
  .home-main-visual-text-area .top p,
  .home-main-visual-text-area .bottom {
    width: 100%;
  }
  
  .home-main-visual-text-area .bottom {
    margin-top: 0;
    padding: 0 0 64px;
  }
  .pc-only-text{
    display: none;
  }
  .sp-only-text{
    display: block;
  }
  .sp-only-new-logo{
    width: 130px;
    margin: 100px auto;
    display: block;
  }


  .watch-our-story{
    padding: 40px 0 40px;
  }
  /****************************************
  Getting to know us
  ****************************************/
  .getting-to-know-us{
    padding: 50px 0;
  }
  .getting-to-know-us .link-title{
    color: white;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 24px;
    gap: 0 10px;
    margin: 12px 0 8px;
  }
  .getting-to-know-us .link-title svg{
    width: 7px;
    height: 10px;
  }

  .video-wrapper {
    max-width: 476px;
  }

}
