@charset "UTF-8";

/* =========================================================
 common
========================================================= */

.default-content.level-3 {
  margin-bottom: -120px;
}

/* 吹き出し
--------------------------------------------------------- */
.bubble {
  position: relative;
  background: #ffffff;
  border-radius: 10px;
  padding: 10px 20px;
  filter: drop-shadow(0px 4px 12px rgba(0, 0, 0, 0.12));
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: filter;
}
.bubble::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 10px 17px 10px 0;
  border-color: transparent #ffffff transparent transparent;
}

.bubble p {
  font-weight: 500;
}


/* =========================================================
  カーソルポインター設定
========================================================= */
@media (hover: hover) {
  /* JS無効時のフォールバック（OS標準カーソル経由でキャラ画像） */
  #main,
  #main * {
    cursor: -webkit-image-set(
      url(/sustainability/common/img/world/pointer_001.png) 1x,
      url(/sustainability/common/img/world/pointer_001@2x.png) 2x
    ), url(/sustainability/common/img/world/pointer_001.png), auto !important;
    cursor: image-set(
      url(/sustainability/common/img/world/pointer_001.png) 1x,
      url(/sustainability/common/img/world/pointer_001@2x.png) 2x
    ), url(/sustainability/common/img/world/pointer_001.png), auto !important;
  }

  /* JS有効時はOSカーソル非表示、JS製のキャラカーソルへ切替 */
  body.js-cursor-active #main,
  body.js-cursor-active #main * {
    cursor: none !important;
  }

  /* sec-04 より下ではキャラカーソルをやめ、OS標準カーソルに戻す */
  body.js-cursor-active.is-default-cursor #main,
  body.js-cursor-active.is-default-cursor #main * {
    cursor: auto !important;
  }
  body.js-cursor-active.is-default-cursor #main a,
  body.js-cursor-active.is-default-cursor #main button {
    cursor: pointer !important;
  }

  /* パンくずは通常カーソルに戻す */
  #main .breadcrumbs,
  #main .breadcrumbs *,
  body.js-cursor-active #main .breadcrumbs,
  body.js-cursor-active #main .breadcrumbs * {
    cursor: auto !important;
  }
  #main .breadcrumbs a,
  body.js-cursor-active #main .breadcrumbs a {
    cursor: pointer !important;
  }

  .custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 50px;
    height: 59px;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.2s ease;
    will-change: transform;
  }
  .custom-cursor.is-visible {
    opacity: 1;
  }
  .custom-cursor__inner {
    width: 100%;
    height: 100%;
    background: url(/sustainability/common/img/world/pointer_001.png) no-repeat center/contain;
    background-image: -webkit-image-set(
      url(/sustainability/common/img/world/pointer_001.png) 1x,
      url(/sustainability/common/img/world/pointer_001@2x.png) 2x
    );
    background-image: image-set(
      url(/sustainability/common/img/world/pointer_001.png) 1x,
      url(/sustainability/common/img/world/pointer_001@2x.png) 2x
    );
  }

  /* ホバー時：カーソル右上にびっくりマーク（吹き出し）出現 */
  .custom-cursor__mark {
    position: absolute;
    top: -20px;
    right: -5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #FFD600;
    color: var(--Text_black);
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    -webkit-text-stroke: 0.6px var(--Text_black);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0) rotate(-10deg);
    transform-origin: bottom left;
    pointer-events: none;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.18));
  }
  /* 吹き出しのしっぽ（「!」の真下から出る小さな三角） */
  .custom-cursor__mark::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 4px 0 4px;
    border-color: #FFD600 transparent transparent transparent;
    transform: translateX(-50%);
  }
  .custom-cursor.is-hover .custom-cursor__mark {
    opacity: 1;
    animation: cursor-mark-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }
  @keyframes cursor-mark-pop {
    0%   { transform: scale(0)    rotate(-10deg); }
    60%  { transform: scale(1.25) rotate(32deg); }
    100% { transform: scale(1)    rotate(25deg); }
  }
}

/* =========================================================
  world-visual
========================================================= */
.world-content {
  position: relative;
  z-index: 0;
}
.world-content::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 100vw;
  height: 100%;
  background: #8aebff;
}
.world-content::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100vw;
  height: calc(100% - 7%);
  background: url(/sustainability/common/img/world/bg_002.webp) no-repeat left top / contain,
    linear-gradient(rgba(102, 171, 255, 1)) no-repeat bottom / 100% 90%;
}
@media screen and (min-width: 1600px) {
  .world-content::after {
    height: calc(100% - 10%);
  }
}
@media screen and (max-width: 1080px) {
  .world-content::after {
    height: calc(100% - 53vw);
  }
}
@media screen and (max-width: 769px) {
  .world-content::after {
    height: calc(100% - 10%);
    background: url(/sustainability/common/img/world/bg_002.webp) no-repeat center top / 160%,
      linear-gradient(rgba(102, 171, 255, 1)) no-repeat bottom / 100% 95%
  }
}


/* =========================================================
  world-visual
========================================================= */
.world-scroll-container {
  position: relative;
}
.world-visual-wrap {
  position: relative;
  aspect-ratio: 1180 / 840;
  height: 100%;
  margin-top: 0;
  margin-right: -3vw;
  margin-left: -3vw;
}

/* h1 + ゴジラ
--------------------------------------------------------- */
.world-visual-wrap .h1-area {
  position: absolute;
  z-index: 1;
  top: 60px;
  left: 3vw;
  width: 25%;
  max-width: 295px;
}
.world-visual-wrap .h1-area > div {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: -8px;
}
.world-visual-wrap .h1-area .bubble {
  width: calc(71% - 20px);
}
.world-visual-wrap .h1-area > div {
  margin-top: 4%;
}
.world-visual-wrap .h1-area p {
  font-size: 1.3rem;
}
.gozilla-img {
  position: relative;
  width: 29%;
  min-width: 91px;
}


/* 背景 + アンカーエリア
--------------------------------------------------------- */
.visual-bg {
  aspect-ratio: 1920 / 1273;
  width: 100%;
  height: 100%;
  background: url(/sustainability/common/img/world/bg_001.webp) no-repeat center/contain;
}
.anchor-area,
.anchor-area ul {
  position: relative;
  width: 100%;
  height: 100%;
}
.anchor-area ul li {
  position: absolute;
}
.anchor-area ul li img {
  position: relative;
  z-index: 1;
}

.anchor-area .anc-01 {
  width: 10vw;
  max-width: 166px;
  right: 19%;
  top: 27%;
  animation: anc-move-up-down 4.5s linear infinite;
}
.anchor-area .anc-02 {
  width: 8vw;
  max-width: 120px;
  left: 27%;
  bottom: 47%;
  animation: anc-move-up-down 4.5s linear infinite;
}
@keyframes anc-move-up-down {
  0% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(.04, -0.02, .59, 1);
  }
  50% {
    transform: translateY(16px);
    animation-timing-function: cubic-bezier(.04, -0.02, .59, 1);
  }
  100% {
    transform: translateY(0);
  }
}
.anchor-area .anc-03 {
  width: 12vw;
  max-width: 180px;
  left: 43%;
  bottom: 23%;
}
.anchor-area .anc-03 .anc-flag {
  display: block;
  position: absolute;
  z-index: 0;
  left: 1px;
  top: -16px;
  width: 100%;
  height: 120%;
  background: url(/sustainability/common/img/world/img_004_002.webp) no-repeat center/contain;
  animation: anc-move-flag-left-right 4.5s linear infinite;
  transform-origin: 40% 80%;
}
@keyframes anc-move-flag-left-right {
  0% { 
    transform: rotate(0deg);
    animation-timing-function: cubic-bezier(.04, -0.02, .59, 1);
  } 
  50% {
    transform: rotate(15deg);
    animation-timing-function: cubic-bezier(.04, -0.02, .59, 1);
  }
  100% {
    transform: rotate(0deg);
  }
}
.anchor-area .anc-04 {
  width: 8vw;
  max-width: 130px;
  right: 28.8%;
  bottom: 35%;
}
.anchor-area .anc-04 .anc-flag {
  display: block;
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(/sustainability/common/img/world/img_005_002.webp) no-repeat center/contain;
  animation: anc-move-flag-right-left 4.5s linear infinite;
  transform-origin: 40% 80%;
}
@keyframes anc-move-flag-right-left {
  0% {
    transform: rotate(0deg);
    animation-timing-function: cubic-bezier(.04, -0.02, .59, 1);
  } 
  50% {
    transform: rotate(-15deg);
    animation-timing-function: cubic-bezier(.04, -0.02, .59, 1);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* クリック範囲拡張（カーソルとのズレ対策・見た目は維持）
--------------------------------------------------------- */
.anchor-area a {
  position: relative;
  display: block;
}
.anchor-area a::before,
.animation-toggle::before {
  content: "";
  position: absolute;
}

.anchor-area a::before {
  inset: -12px;
}

.animation-toggle::before {
  inset: -40px;
}

/* アニメーション停止ボタン
--------------------------------------------------------- */
.animation-toggle {
  position: absolute;
  z-index: 2;
  right: 3vw;
  bottom: 18%;
  width: 70px;
  height: 24px;
  padding: 2px 7px;
  border-radius: 12px;
  background: var(--Primary_black);
}
.animation-toggle span {
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
  font-size: 1.2rem;
  color: var(--Text_white);
}
.animation-toggle span svg {
  width: 14px;
  height: 14px;
}
.animation-toggle.is-paused {
  background: var(--Text_black);
}
.animation-toggle.is-paused .toggle-pause {
  display: none;
}
.animation-toggle:not(.is-paused) .toggle-play {
  display: none;
}
.world-visual-wrap.is-paused .anc-01,
.world-visual-wrap.is-paused .anc-02,
.world-visual-wrap.is-paused .anc-03 .anc-flag,
.world-visual-wrap.is-paused .anc-04 .anc-flag,
.world-visual-wrap.is-paused .frame-anime img {
  animation-play-state: paused;
}



@media screen and (max-width: 1080px) {
  .world-visual-wrap {
    aspect-ratio: initial;
    margin: 0 calc(50% - 50vw) 75px;
  }
  .world-visual-wrap .h1-area {
    position: relative;
    top: 32px;
    left: 0;
    width: 40%;
    max-width: 100%;
    margin: 0 auto 0;
  }
  .gozilla-img {
    width: 27%;
  }
  .world-visual-wrap .h1-area .bubble {
    width: calc(73% - 20px);
    padding: 8px 5px 8px 12px;
  }

  .visual-bg {
    background-size: 100%;
    aspect-ratio: 1920 / 1480;
    /* aspect-ratio: 919 / 810; */
    /* margin-top: -11%; */
    background-image: url(/sustainability/common/img/world/bg_001_sp.webp);
  }

  .anchor-area .anc-01 {
    width: 12vw;
    max-width: 130px;
    right: 15%;
    top: 24%;
  }
  .anchor-area .anc-02 {
    width: 10vw;
    max-width: 110px;
    left: 23%;
    bottom: 45%;
  }
  .anchor-area .anc-03 {
    width: 15vw;
    max-width: 160px;
    left: 41%;
    bottom: 22%;
  }
  .anchor-area .anc-04 {
    width: 10vw;
    max-width: 90px;
    right: 27%;
    bottom: 35%;
  }

  .animation-toggle {
    bottom: -40px;
    right: 5vw;
  }
}
@media screen and (max-width: 769px) {
  .world-visual-wrap .h1-area {
    top: 20px;
    width: 90vw;
    max-width: 337px;
  }
  .world-visual-wrap .h1-area h1 img {
    width: 90%;
    margin: 0 auto;
  }
  .scroll-wrap {
    scrollbar-width: none;
  }
  .visual-bg {
    min-width: 730px;
    min-height: 655px;
    background-size: 100%;
    aspect-ratio: 791 / 780;
    margin-top: -150px;
    background-position: bottom;
  }

  .anchor-area .anc-01 {
    width: 95px;
    right: 15%;
    top: 42%;
  }
  .anchor-area .anc-02 {
    width: 75px;
    left: 24%;
    bottom: 35%;
  }
  .anchor-area .anc-03 {
    width: 105px;
    left: 42%;
    bottom: 17%;
  }
  .anchor-area .anc-04 {
    width: 75px;
    right: 27%;
    bottom: 26%;
  }
}


/* =========================================================
 world-section
========================================================= */
.world-section + .world-section {
  margin-top: 50px;
}

.world-section {
  position: relative;
  z-index: 1;
  padding: 32px 102px 32px 40px;
}
.world-section::after {
  opacity: 0;
  transform: scale(0.7) translateY(64px);
  transition: all 0.6s ease;
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.15);
  background: var(--Text_white);
}
.world-section.is-active::after {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.world-section .world-section-inner {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
  transition-delay: 0.3s;
  display: flex;
  flex-wrap: nowrap;
  gap: 32px;
}
.world-section.is-active .world-section-inner {
  opacity: 1;
  transform: translateY(0);
}
.world-section .world-section-inner.is-reached {
  transition-delay: 0s;
}

.world-section h2 {
  text-align: center;
  white-space: nowrap;
}
.world-section h3 {
  font-weight: 500;
  font-size: 2rem;
}
.world-section .bubble + .caption {
  margin: 18px 0;
  font-size: 1.2rem;
}
.caption.border-bottom {
  color: var(--Text_sub_black);
}

/* キャラ画像
--------------------------------------------------------- */
.world-section.sec-01 .title-box img,
.world-section.sec-02 .title-box img,
.world-section.sec-03 .title-box img,
.world-section.sec-04 .title-box img {
  margin: 0 auto;
}
.world-section.sec-01 .title-box img {max-width: 102px;}
.world-section.sec-02 .title-box img {max-width: 115px;}
.world-section.sec-03 .title-box img {max-width: 95px;}
.world-section.sec-04 .title-box img {max-width: 95px;}

/* 吹き出し
--------------------------------------------------------- */
.world-section .bubble {
  margin-left: 12px;
  padding: 10px 12px 10px 20px;
  filter: none;
}
.world-section.sec-01 .bubble {background: #FF9900;}
.world-section.sec-01 .bubble::before {border-color: transparent #FF9900 transparent transparent;}
.world-section.sec-02 .bubble {background: #0F9ED5;}
.world-section.sec-02 .bubble::before {border-color: transparent #0F9ED5 transparent transparent;}
.world-section.sec-03 .bubble {background: #008C6E;}
.world-section.sec-03 .bubble::before {border-color: transparent #008C6E transparent transparent;}
.world-section.sec-04 .bubble {background: #EB5E71;}
.world-section.sec-04 .bubble::before {border-color: transparent #EB5E71 transparent transparent;}
.world-section .bubble p {
  font-size: 1.5rem;
  color: var(--Text_white);
}

/* テキストリンク周辺(-20px)までクリック範囲を拡張 (PCのみ)
--------------------------------------------------------- */
@media screen and (min-width: 1081px) {
  .world-content .arrow-text-link::after {
    content: "";
    position: absolute;
    inset: -20px;
  }
}


@media screen and (max-width: 1080px) {
  .world-section {
    padding: 32px 24px;
  }
  .world-section + .world-section {
    margin-top: 40px;
  }
  .world-section .h2-basis {
    font-size: 2.8rem;
  }

  /* キャラ画像
  --------------------------------------------------------- */
  .world-section.sec-01 .title-box img,
  .world-section.sec-02 .title-box img,
  .world-section.sec-03 .title-box img,
  .world-section.sec-04 .title-box img {max-width: 102px;}
}
@media screen and (max-width: 769px) {
  .world-section {
    padding: 24px;
  }
  .world-section .world-section-inner {
    flex-direction: column;
    gap: 24px;
  }
  .world-section .h2-basis {
    font-size: 2.4rem;
  }
  .world-section h3 {
    font-size: 1.8rem;
  }
  .tb-contents {
    display: contents;
  }
  .tb-contents a {
    grid-column: 1 / 3;
    width: fit-content;
  }

  /* キャラ画像
  --------------------------------------------------------- */
  .world-section.sec-01 .title-box img {max-width: 85px;}
  .world-section.sec-02 .title-box img {max-width: 101px;}
  .world-section.sec-03 .title-box img {max-width: 81px;}
  .world-section.sec-04 .title-box img {max-width: 74px;}

  /* 吹き出し
  --------------------------------------------------------- */
  .world-section .bubble {
    margin-left: 0;
    padding: 10px 18px;
    font-size: 1.3rem;
  }
  .world-section .bubble::before {
    left: 50%;
    top: -16px;
    transform: translateX(-50%) rotate(90deg);
  }

  .world-section .bubble + .caption {
    text-align: center;
  }
}


/* =========================================================
 world-last-section
========================================================= */
.world-last-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 32px;
  margin-top: 61px;
}
.world-last-section > img {
  max-width: 108px;
}
.world-last-section .bubble > p {
  font-size: 1.4rem;
}
.world-copyright {
  margin-top: 50px;
  padding-bottom: 16px;
  font-size: 1rem;
  text-align: center;
}

@media screen and (max-width: 1080px) {
  .world-last-section {
    margin-top: 40px;
  }
}
@media screen and (max-width: 769px) {
  .world-last-section {
    gap: 16px;
  }
  .world-last-section > img {
    max-width: 101px;
  }
}

/* ▼ フレームアニメーション（8枚切り替え） ▼ */
.frame-anime {
  --frame-duration: 120ms; /* 1枚あたりの表示時間 */
  --frame-count: 8;        /* フレーム枚数 */
  position: relative;
  display: block;
  width: 100%;
  line-height: 0;
}
.frame-anime img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  /* 全画像デコード完了後（.is-ready 付与時）にアニメーション開始 */
}
.frame-anime img:first-child {
  opacity: 1;
}
.frame-anime.is-ready img {
  animation: frame-anime-cycle calc(var(--frame-duration) * var(--frame-count)) infinite;
}
.frame-anime img:not(:first-child) {
  position: absolute;
  inset: 0;
}
.frame-anime img:nth-child(1) { animation-delay: calc(var(--frame-duration) * 0); }
.frame-anime img:nth-child(2) { animation-delay: calc(var(--frame-duration) * 1); }
.frame-anime img:nth-child(3) { animation-delay: calc(var(--frame-duration) * 2); }
.frame-anime img:nth-child(4) { animation-delay: calc(var(--frame-duration) * 3); }
.frame-anime img:nth-child(5) { animation-delay: calc(var(--frame-duration) * 4); }
.frame-anime img:nth-child(6) { animation-delay: calc(var(--frame-duration) * 5); }
.frame-anime img:nth-child(7) { animation-delay: calc(var(--frame-duration) * 6); }
.frame-anime img:nth-child(8) { animation-delay: calc(var(--frame-duration) * 7); }
@keyframes frame-anime-cycle {
  /* 次のフレームが表示されるまで前のフレームを残し、ループ時の白チラつきを防止 */
  0%, 13% { opacity: 1; }
  14%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .frame-anime img { animation: none; }
  .frame-anime img:first-child { opacity: 1; }
}
/* ▲ フレームアニメーション ▲ */