@charset "utf-8";

/* =========================
*  基本（PC/SP共通）
========================= */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

body {
  background: #ffffff;
  color: #000000;
  font-family: "Noto Sans JP", sans-serif;
  width: 100%;
  font-size: 15px;
  /* overflow: hidden; */
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #000000;
  text-decoration: none;
  display: block;
}

a:hover {
  opacity: 0.7;
}

#wrap {
  position: relative;
  overflow: hidden;
}

/* =========================================
           L. ローディング画面 (Opening)
           ========================================= */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* グラデーション背景とアニメーション設定 */
  background: linear-gradient(90deg, rgba(153, 221, 51, 1) 2%, rgba(0, 204, 204, 1) 18%, rgba(0, 153, 255, 1) 34%, rgba(102, 102, 255, 1) 50%, rgba(204, 0, 255, 1) 66%, rgba(255, 51, 153, 1) 82%, rgba(255, 170, 51, 1) 98%);
  background-size: 200% 100%;
  animation: gradientScroll 3s linear infinite;

  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* 幕が上がるアニメーション */
  transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}

@keyframes gradientScroll {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

/* ロード完了時に付与するクラス */
#loading-screen.finished {
  transform: translateY(-100%);
}

/* ローディング用テキストコンテナ */
.loader-text-container {
  /* margin-bottom: 2em; */
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 3em;
  letter-spacing: 0.1em;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .loader-text-container {
    font-size: 6em;
  }
}

/* ローディング用スライスエフェクト (白文字用) */
.loader-slice-wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: 1.1;
  /* 行間を少し調整 */
}

.loader-slice-top,
.loader-slice-bottom {
  display: block;
  opacity: 0;
  animation: loaderSliceIn 1s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

.loader-slice-top {
  clip-path: polygon(0 0, 100% 0, 100% 55%, 0 55%);
  transform: translateX(-40px);
  color: rgba(255, 255, 255, 0.7);
}

.loader-slice-bottom {
  position: absolute;
  top: 0;
  left: 0;
  /* 全体の高さに対する割合でカットされるため、2行になっても効果は適用されます */
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
  transform: translateX(40px);
  /* 背景がカラフルなので、下半分は白の透過で表現 */
  color: rgba(255, 255, 255, 0.7);
}

@keyframes loaderSliceIn {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* プログレスバー */
.loader-progress-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(0, 0, 0, 0.2);
  /* 背景に合わせて調整 */
}

.loader-progress-bar {
  height: 100%;
  width: 0%;
  background-color: #ffffff;
  /* 白に変更 */
  transition: width 0.2s linear;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  /* 光彩追加 */
}

/* =========================================
           S. スクロールインジケーター (Scroll Prompt)
           ========================================= */
.scroll-indicator {
  position: fixed;
  bottom: 0;
  right: 1.5em;
  left: auto;
  transform: none;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  padding-bottom: 1.5em;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

@media (min-width: 768px) {
  .scroll-indicator {
    right: 2em;
    padding-bottom: 2em;
  }
}

body.loaded .scroll-indicator {
  opacity: 1;
  transition-delay: 1s;
}

/* フッターが見えたら非表示にするクラス */
body.loaded .scroll-indicator.is-hidden {
  opacity: 0;
  transition-delay: 0s;
}

.scroll-text {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.2em;
  letter-spacing: 0.2em;
  color: #9ca3af;
  font-weight: 600;
  writing-mode: vertical-rl;
  margin: 0;
}

@media (min-width: 768px) {
  .scroll-text {
    font-size: 0.8em;
  }
}

.scroll-line {
  width: 1px;
  height: 4em;
  background-color: #e5e7eb;
  position: relative;
  overflow: hidden;
  margin: 0;
}

@media (min-width: 768px) {
  .scroll-line {
    height: 6em;
  }
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #007fc5;
  animation: scrollLineAnim 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollLineAnim {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(100%);
  }
}

header {
  position: fixed;
  z-index: 999;
  height: 6em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.75);
  width: 100%;
}

header h1 {
  padding: 0 1.5em;
  width: 15%;
  max-width: 210px;
}

header h1 img {
  width: 100%;
}

nav ul.menu {
  display: flex;
  align-items: center;
  /* padding: 0 2em 0 0; */
}

nav ul.menu>li {
  font-weight: 500;
  cursor: pointer;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
  padding: 0 0 0.5em;
  position: relative;
  margin: 0 1em;
}

nav ul.menu>li::before,
nav ul.menu>li.inMenu p a::before {
  background: #0052a4;
  content: '';
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  margin: auto;
  transform-origin: center top;
  transform: scale(0, 1);
  transition: transform .3s;
}

nav ul.menu>li a {
  font-size: 1.1em;
  font-style: italic;
}

nav ul.menu>li.inMenu::before {
  content: none;
}

nav ul.menu>li:hover::before,
nav ul.menu>li.inMenu p a:hover::before {
  transform-origin: center top;
  transform: scale(1, 1);
  opacity: 1;
}

nav ul.menu>li:hover a,
nav ul.menu>li.inMenu p a:hover {
  opacity: 1;
}

nav ul.menu>li.inMenu p {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 0.5em;
}

nav ul.menu>li.inMenu p::before,
nav ul.menu>li.inMenu p::after {
  content: "";
  background: #000;
  width: 50%;
  height: 2px;
  margin: 0 0 0.25em;
}

nav ul.menu>li.inMenu p a {
  position: relative;
  cursor: pointer;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
  padding: 0 0 0.25em;
  margin: 0 0.5em;
  display: inline-block;
}

nav ul.menu>li.inMenu p a span {
  font-size: 1.25em;
}

nav ul.menu>li ul.inner {
  display: flex;
  gap: 1em;
}

nav ul.menu>li ul.inner>li {
  cursor: pointer;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
  padding: 0 0 0.5em;
  position: relative;
}

nav ul.menu>li ul.inner>li::before {
  background: linear-gradient(90deg, rgba(153, 221, 51, 1) 2%, rgba(0, 204, 204, 1) 18%, rgba(0, 153, 255, 1) 34%, rgba(102, 102, 255, 1) 50%, rgba(204, 0, 255, 1) 66%, rgba(255, 51, 153, 1) 82%, rgba(255, 170, 51, 1) 98%);
  content: '';
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  margin: auto;
  transform-origin: center top;
  transform: scale(0, 1);
  transition: transform .3s;
}

nav ul.menu>li ul.inner>li:hover::before {
  transform-origin: center top;
  transform: scale(1, 1);
  opacity: 1;
}

nav ul.menu>li ul.inner a {
  /* font-size: 1em; */
  font-size: 0.9em;
}

main {
  padding: 6em 0 0;
}

section {
  position: relative;
  margin: 0 0 4em;
  padding: 4em 0 0;
}

.box {
  margin: 0 1em;
}

.main_visual {
  background: #efefef;
  text-align: center;
  padding: 0 !important;
}

.main_visual div {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 810px;
  margin: 0 auto;

}

.main_visual svg {
  width: 95%;
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

.main_visual svg path {
  fill: #fff;
}

.main_visual img[src="assets/img/txt-copy.svg"] {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 40%;
}

.main_visual img[src="assets/img/bsn-vision-report.svg"] {
  position: absolute;
  z-index: 30;
  right: 10%;
  bottom: 10%;
  width: 60%;
}

.main_visual img[src*="bg_parts"] {
  position: absolute;
}

.main_visual img[src*="bg_parts_sbl"] {
  width: 24%;
  top: 5%;
  left: 0%;
  z-index: 4;
}

.main_visual img[src*="bg_parts_pnk"] {
  width: 42%;
  top: 0;
  left: 12%;
  z-index: 2;
}

.main_visual img[src*="bg_parts_org"] {
  /* width: 28%; */
  height: 50%;
  top: 0;
  right: 0;
  z-index: 3;
}

.main_visual img[src*="bg_parts_yel"] {
  width: 10%;
  right: 0;
  bottom: 0;
  z-index: 4;
}

.main_visual img[src*="bg_parts_blu"] {
  /* width: 50%; */
  height: 50%;
  bottom: 0;
  right: 10%;
  z-index: 5;
}

.main_visual img[src*="bg_parts_ygn"] {
  left: 0;
  bottom: 0;
  width: 36%;
  z-index: 5;
}

section.opening {
  margin: 8em 0;
}

.opening div {
  text-align: center;
}

.opening p {
  margin: 0 0 2em;
  font-size: 1.8em;
  overflow: hidden;
}

.opening p span {
  line-height: 1.75em;
}

.slide-in {
  overflow: hidden;
  display: inline-block;
}

.slide-in_inner {
  display: inline-block;
}

/* 上下のアニメーション*/
.upAnime {
  opacity: 0;
  /* 事前に透過0 にして消しておく*/
}

.slideAnimeDownUp {
  animation-name: slideTextY100;
  animation-duration: 1.0s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes slideTextY100 {
  from {
    transform: translateY(100%);
    /* 要素を上の枠外に移動*/
    opacity: 0;
  }

  to {
    transform: translateY(0);
    /* 要素を元の位置に移動*/
    opacity: 1;
  }
}

.slideAnimeUpDown {
  animation-name: slideTextY-100;
  animation-duration: 1.0s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes slideTextY-100 {
  from {
    transform: translateY(-100%);
    /* 要素を下の枠外に移動*/
    opacity: 0;
  }

  to {
    transform: translateY(0);
    /* 要素を元の位置に移動*/
    opacity: 1;
  }
}

.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeUpTrigger {
  opacity: 0;
}

h2 {
  font-size: 3em;
  font-weight: 500;
  position: relative;
  /* margin: 0 0 1.5em; */
  text-align: center;
}

/* h2:before {
  content: '';
  position: absolute;
  bottom: -0.5em;
  display: inline-block;
  width: 3em;
  height: 2px;
  left: 0;
  right: 0;
  margin: 0 auto;
  background-color: #000;
  border-radius: 100vh;
} */

h3 {
  font-size: 3em;
  text-align: center;
  /* color: #0052a4; */
  color: #000;
  font-weight: 700;
  position: relative;
  margin: 0 0 3em;
}

h3:before {
  content: '';
  position: absolute;
  bottom: -0.5em;
  display: inline-block;
  width: 3em;
  height: 0.1em;
  left: 0;
  right: 0;
  margin: 0 auto;
  background: linear-gradient(90deg, rgba(153, 221, 51, 1) 2%, rgba(0, 204, 204, 1) 18%, rgba(0, 153, 255, 1) 34%, rgba(102, 102, 255, 1) 50%, rgba(204, 0, 255, 1) 66%, rgba(255, 51, 153, 1) 82%, rgba(255, 170, 51, 1) 98%);
  border-radius: 100vh;
}

.vision-headline-title::before {
  width: 100%;
}

.vision-headline-title {
  /* font-family: "Montserrat", sans-serif; */
  font-size: 2em;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 2em;
}

@media (min-width: 768px) {
  .vision-headline-title {
    font-size: 3em;
  }
}

.effect-slice-wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: 1.1;
  vertical-align: bottom;
}

/* 初期状態ではopacity:0にしておき、.is-visibleが付いたらアニメーション開始 */
.effect-slice-top,
.effect-slice-bottom {
  display: block;
  opacity: 0;
  transition: opacity 0s;
}

.effect-slice-wrap.is-visible .effect-slice-top,
.effect-slice-wrap.is-visible .effect-slice-bottom {
  animation: sliceIn 1.2s cubic-bezier(0.8, 0, 0.2, 1) forwards;
}

.effect-slice-top {
  clip-path: polygon(0 0, 100% 0, 100% 55%, 0 55%);
  transform: translateX(-30px);
  color: #111827;
}

.effect-slice-bottom {
  position: absolute;
  top: 0;
  left: 0;
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
  transform: translateX(30px);
  color: #111827;
}

.effect-slice-bottom.mono {
  color: #111827;
}

@keyframes sliceIn {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.index_gp {
  margin: 0 auto;
  text-align: center;
  display: block;
}

.index_gp ul.outer {
  display: inline-block;
  font-size: 1.6em;
}

.index_gp ul.outer li {
  text-align: left;
  margin: 0 0 1em;
}

.index_gp a {
  display: inline-block;
  transition: .3s;
  background-position: 0 0;
  background-size: 200% auto;
  padding: 0.25em 0.5em;
}

.index_gp li:nth-of-type(1) a {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 50%, #5f7dff 50%);
}

.index_gp li:nth-of-type(2) a {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 50%, #A4FD49 50%);
}

.index_gp li:nth-of-type(3) a {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 50%, #60FFED 50%);
}

.index_gp li:nth-of-type(4) a {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 50%, #FF53B7 50%);
}

.index_gp li:nth-of-type(5) a {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 50%, #FF694E 50%);
}

.index_gp a:hover {
  background-position: -100% 0;
  color: #fff;
  opacity: 1;
}

/*Page Topと書かれたテキストの位置*/
#page-top span {
  position: absolute;
  bottom: -20px;
  right: 20px;
  color: #666;
}

footer {
  background: #0052a4;
  margin: 8em 0 0;
  padding: 2em 0;
}

footer .copy {
  text-align: center;
  font-size: 0.8em;
  color: #ffffff;
}


@media screen and (min-width :900px) {
  .sp {
    display: none;
  }
}


@media screen and (max-width :899px) {
  body {
    font-size: 10px;
  }

  header {
    /* display: block; */
    justify-content: center;
    flex-wrap: wrap;
    padding: 1em 0;
    height: 7em;
  }

  header h1 {
    padding: 0 1em 1em 1em;
    width: 33%;
    max-width: 160px;
  }

  h3 {
    font-size: 2.4em;
  }

  nav {
    overflow-x: auto;
  }

  nav ul.menu {
    font-size: 0.9em;
    width: max-content;
  }

  nav ul.menu:has(> .active) {
    align-items: flex-start;
  }

  nav ul.menu>li.inMenu p {
    justify-content: left;
  }

  nav ul.menu>li.inMenu p::before {
    height: 1px;
    width: 1em;
  }

  nav ul.menu>li.inMenu p::after {
    height: 1px;
    width: 100%;
  }

  nav ul.menu>li::before,
  nav ul.menu>li.inMenu p a::before {
    content: none;
  }

  /* nav ul.menu > li.inMenu p a {
    margin: 0 0.5em 0 0;
  } */

  nav ul.menu>li.inMenu p a span {
    font-size: 1.1em;
  }

  main {
    padding: 9em 0 0;
  }

  section {
    margin: 0 0 2em;
    padding: 2em 0 0;
  }

  section.opening {
    margin: 0 0 8em;
  }

  .opening div p {
    font-size: 1.6em;
    line-height: 1.5em;
  }

  footer {
    margin: 4em 0 0;
  }

}

/* --- レポートアーカイブ（ドロップダウン） --- */
.archive-menu {
  position: relative;
  cursor: pointer;
  padding: 0.5em 0;
  width: 100%;
  text-align: center;
}

@media (min-width: 1024px) {
  .archive-menu {
    width: auto;
    text-align: left;
  }
}

@media screen and (max-width :899px) {
  .archive-menu {
    width: auto;
  }
}

.archive-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25em;
  font-weight: 500;
  color: #374151;
  font-size: 0.9em;
}

@media (min-width: 1024px) {
  .archive-label {
    justify-content: flex-start;
  }

  .archive-menu:hover .archive-label {
    color: #0052a4;
  }
}

.arrow-icon {
  width: 1em;
  height: 1em;
  transition: transform 0.3s ease;
}

/* PCホバー時またはスマホのアクティブ時に矢印を回転 */
.archive-menu.active .arrow-icon {
  transform: rotate(180deg);
}

@media (min-width: 1024px) {
  .archive-menu:hover .arrow-icon {
    transform: rotate(180deg);
  }
}

.inner-menu {
  /* モバイル: 他の要素を押し下げるように配置 */
  width: 100%;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  background-color: #f3f4f6;
  margin-top: 0.5em;
  border-radius: 0.5em;
}

@media (min-width: 1024px) {
  .inner-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    border: 1px solid #f3f4f6;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 0.5em 0.5em;
    min-width: 180px;
    margin-top: 0;
  }
}

/* アクティブ時の表示制御（スマホ用） */
.archive-menu.active .inner-menu {
  max-height: 500px;
  opacity: 1;
  visibility: visible;
  padding: 0.5em 0;
}

/* ホバー時の表示制御（PC用） */
@media (min-width: 1024px) {
  .archive-menu:hover .inner-menu {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    padding: 1em 0;
    text-align: center;
  }

  .archive-menu:hover .inner-menu>li a {
    font-size: 0.9em;
  }
}

.inner-menu-link {
  display: block;
  padding: 0.75em 1.5em;
  color: #4b5563;
  white-space: nowrap;
  font-size: 0.9375em;
}

.inner-menu-link:hover {
  background-color: #eff6ff;
  color: #0052a4;
}

/* =========================
*  基本（PC/SP共通）
========================= */
html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  color: #000000;
  font-family: "Noto Sans JP", sans-serif;
  width: 100%;
  font-size: 15px;
  /* overflow: hidden; */
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: #000000;
  text-decoration: none;
  display: block;
}

a:hover {
  opacity: 0.7;
}

#wrap {
  position: relative;
  overflow: hidden;
}

header {
  position: fixed;
  z-index: 999;
  height: 6em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.75);
  width: 100%;
}

header h1 {
  padding: 0 2em;
  width: 16%;
  max-width: 240px;
}

header h1 img {
  width: 100%;
}

nav ul.menu {
  display: flex;
  align-items: center;
  /* padding: 0 2em 0 0; */
}

nav ul.menu>li {
  font-weight: 500;
  cursor: pointer;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
  padding: 0 0 0.5em;
  position: relative;
  margin: 0 1em;
}

nav ul.menu>li::before,
nav ul.menu>li.inMenu p a::before {
  background: #0052a4;
  content: '';
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  margin: auto;
  transform-origin: center top;
  transform: scale(0, 1);
  transition: transform .3s;
}

nav ul.menu>li a {
  font-size: 1.1em;
  font-style: italic;
}

nav ul.menu>li.inMenu::before {
  content: none;
}

nav ul.menu>li:hover::before,
nav ul.menu>li.inMenu p a:hover::before {
  transform-origin: center top;
  transform: scale(1, 1);
  opacity: 1;
}

nav ul.menu>li:hover a,
nav ul.menu>li.inMenu p a:hover {
  opacity: 1;
}

nav ul.menu>li.inMenu p {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 0.5em;
}

nav ul.menu>li.inMenu p::before,
nav ul.menu>li.inMenu p::after {
  content: "";
  background: #000;
  width: 50%;
  height: 2px;
  margin: 0 0 0.25em;
}

nav ul.menu>li.inMenu p a {
  position: relative;
  cursor: pointer;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
  padding: 0 0 0.25em;
  margin: 0 0.5em;
  display: inline-block;
}

nav ul.menu>li.inMenu p a span {
  font-size: 1.25em;
}

nav ul.menu>li ul.inner {
  display: flex;
  gap: 1em;
}

nav ul.menu>li ul.inner>li {
  cursor: pointer;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
  padding: 0 0 0.5em;
  position: relative;
}

nav ul.menu>li ul.inner>li::before {
  background: linear-gradient(90deg, rgba(153, 221, 51, 1) 2%, rgba(0, 204, 204, 1) 18%, rgba(0, 153, 255, 1) 34%, rgba(102, 102, 255, 1) 50%, rgba(204, 0, 255, 1) 66%, rgba(255, 51, 153, 1) 82%, rgba(255, 170, 51, 1) 98%);
  content: '';
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  margin: auto;
  transform-origin: center top;
  transform: scale(0, 1);
  transition: transform .3s;
}

nav ul.menu>li ul.inner>li:hover::before {
  transform-origin: center top;
  transform: scale(1, 1);
  opacity: 1;
}

main {
  padding: 6em 0 0;
}

section.index {
  padding: 0;
}

section#tv,
section#jump-out,
section#event,
section#evo-deep,
section#sales,
section#audio {
  /* background: #edf1e1;
  border: 1em solid #007fc5; */
  scroll-margin-top: 6em;
}

.box {
  margin: 0 1em;
}

.main-visual_secondary {
  background: #f2f2f3;
  text-align: center;
  padding: 0 !important;
  margin: 12em 0 4em;
}

.main-visual_secondary div {
  position: relative;
  margin: 0 auto;
  background: url(../img/bg_kasou_header_beside.svg) no-repeat center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  padding: 4em 0;
}

@media (min-width: 768px) {
  .main-visual_secondary div {
    min-height: 360px;
    padding: 0;
  }
}

h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 6vw;
  font-weight: 700;
  position: relative;
  text-align: center;
  filter: drop-shadow(0.04em 0.04em 0px #fff);
}

h3 {
  font-size: 3em;
  text-align: center;
  /* color: #0052a4; */
  color: #000;
  font-weight: 700;
  position: relative;
  margin: 0 0 3em;
}

h3:before {
  content: '';
  position: absolute;
  bottom: -0.5em;
  display: inline-block;
  /* width: 6em; */
  height: 0.1em;
  left: 0;
  right: 0;
  margin: 0 auto;
  background: linear-gradient(90deg, rgba(153, 221, 51, 1) 2%, rgba(0, 204, 204, 1) 18%, rgba(0, 153, 255, 1) 34%, rgba(102, 102, 255, 1) 50%, rgba(204, 0, 255, 1) 66%, rgba(255, 51, 153, 1) 82%, rgba(255, 170, 51, 1) 98%);
  border-radius: 100vh;
}

#tv h3:before {
  width: 6em;
}

#audio h3:before {
  width: 13em;
}

#jump-out h3:before {
  width: 10em;
}

#event h3:before {
  width: 7em;
}

#sales h3:before {
  width: 7em;
}

#evo-deep h3:before {
  width: 9em;
}

.index h3 {
  margin-bottom: 1.5em;
}

.index h3:before {
  width: 3em;
}

/* h4 {
  font-size: 1.5em;
  font-weight: 600;
  position: relative;
  padding: 0 0 0 2em;
  display: flex;
  align-items: center;
  line-height: 1.25em;
  height: 3em;
} */

/* h4::before {
  content: "";
  position: absolute;
  left: 0;
  background: #007fc5;
  width: 1.5em;
  height: 0.5em;
  top: 0;
  bottom: 0;
  margin: auto 0;
} */

.article_box {
  margin: 6em 2em 2em;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

article .detail {
  display: flex;
  /* align-items: center; */
  align-items: flex-start;
  margin: 1em 0 0;
  border-top: 2px solid #000;
}

article .pic {
  text-align: center;
  width: 240px;
  min-width: 142px;
  font-weight: 500;
  margin: 1em 0 0;
}

article .pic .head {
  font-weight: 700;
  font-size: 1.2em;
}

article .pic img {
  margin: 0.5em 0;
  margin: 0.5em 0;
  border: 2px solid;
  border-radius: 100vh;
  box-sizing: border-box;
}

article .pic .position {
  font-size: 0.8em;
  margin: 0 0 0.25em;
  display: inline-block;
}

.summary {
  position: relative;
  margin: 0 0 0 1.5em;
  border-left: 2px solid #000;
  padding: 1em 1em 0.5em 1em;
}

.noPerson .summary {
  border-left: none;
  margin: 0;
}

.summary:before {
  content: "";
  position: absolute;
  /* top: calc(50% - 1em); */
  top: 6.75em;
  /* left: calc(-2em - 2px); */
  left: -2em;
  border: 1em solid transparent;
  border-right: 1em solid #007fc5;
  z-index: -1;
}

.noPerson .summary:before {
  content: none;
}

.summary ul {
  display: flex;
}

.summary li {
  margin: 0 0.5em 0 0;
}

.summary li:last-child {
  margin: 0;
}

.summary li img {
  max-height: 12em;
}

.summary .text {
  margin: 0.5em 0 0;
}

.summary .text p {
  font-size: 0.9em;
  line-height: 1.75em;
  text-indent: 1em;
  word-break: break-all;
}

.summary .text span.link {
  display: block;
  font-size: 0.9em;
  word-break: break-all;
  line-height: 1.5em;
}

.slide-in {
  overflow: hidden;
  display: inline-block;
}

.slide-in_inner {
  display: inline-block;
}

/* 上下のアニメーション*/
.upAnime {
  opacity: 0;
  /* 事前に透過0 にして消しておく*/
}

.slideAnimeDownUp {
  animation-name: slideTextY100;
  animation-duration: 1.0s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes slideTextY100 {
  from {
    transform: translateY(100%);
    /* 要素を上の枠外に移動*/
    opacity: 0;
  }

  to {
    transform: translateY(0);
    /* 要素を元の位置に移動*/
    opacity: 1;
  }
}

.slideAnimeUpDown {
  animation-name: slideTextY-100;
  animation-duration: 1.0s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes slideTextY-100 {
  from {
    transform: translateY(-100%);
    /* 要素を下の枠外に移動*/
    opacity: 0;
  }

  to {
    transform: translateY(0);
    /* 要素を元の位置に移動*/
    opacity: 1;
  }
}

.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeUpTrigger {
  opacity: 0;
}

.index_gp {
  margin: 0 auto;
  text-align: center;
  display: block;
}

.index_gp ul.outer {
  display: inline-block;
  font-size: 1.6em;
}

.index_gp ul.outer li {
  text-align: left;
  margin: 0 0 1em;
}

.index_gp ul.outer li.other {
  margin: 0 0.5em;
}

.index_gp a {
  display: inline-block;
  transition: .3s;
  background-position: 0 0;
  background-size: 200% auto;
  padding: 0.25em 0.5em;
}

.index_gp li:nth-of-type(1) a {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 50%, #5f7dff 50%);
}

.index_gp li:nth-of-type(2) a {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 50%, #A4FD49 50%);
}

.index_gp li:nth-of-type(3) a {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 50%, #60FFED 50%);
}

.index_gp li:nth-of-type(4) a {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 50%, #FF53B7 50%);
}

.index_gp li:nth-of-type(5) a {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 50%, #FF694E 50%);
}

.index_gp li:nth-of-type(6) a {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 50%, #cc00ff 50%);
}

.index_gp a:hover {
  background-position: -100% 0;
  color: #fff;
  opacity: 1;
}

.return {
  margin: 2em 2em 0;
}

.return a[href="/"] {
  position: relative;
  display: inline-block;
  padding: 0 1em 0 1.5em;
  color: #000;
  text-decoration: none;
  outline: none;
  font-size: 1.4em;
}

.return a[href="/"]::before {
  position: absolute;
  content: '';
  bottom: -0.5em;
  left: 0;
  width: 0;
  height: 0;
  border: none;
  border-left: solid 15px transparent;
  border-bottom: solid 15px #007FC5;
  transition: all .3s;
}

.return a[href="/"]::after {
  position: absolute;
  content: '';
  bottom: -0.5em;
  left: 0.25em;
  width: 100%;
  border-bottom: solid 3px #007FC5;
  transition: all .3s;
}

.return a[href="/"]:hover::before {
  left: -0.75em;
}

.return a[href="/"]:hover::after {
  left: -0.5em;
}

footer {
  background: #0052a4;
  margin: 8em 0 0;
  padding: 2em 0;
}

footer .copy {
  text-align: center;
  font-size: 0.8em;
  color: #ffffff;
}


@media screen and (min-width :900px) {
  .sp {
    display: none;
  }
}


@media screen and (max-width :899px) {

  body {
    font-size: 10px;
  }

  header {
    /* display: block; */
    justify-content: center;
    flex-wrap: wrap;
    padding: 1em 0;
    height: 7em;
  }

  header h1 {
    padding: 0 1em 1em 1em;
    width: 33%;
    max-width: 160px;
  }

  nav {
    overflow-x: auto;
  }

  nav ul.menu {
    font-size: 0.9em;
    width: max-content;
  }

  nav ul.menu>li.inMenu p {
    justify-content: left;
  }

  nav ul.menu>li.inMenu p::before {
    height: 1px;
    width: 1em;
  }

  nav ul.menu>li.inMenu p::after {
    height: 1px;
    width: 100%;
  }

  /* nav ul.menu > li.inMenu p a {
    margin: 0 0.5em 0 0;
  } */

  nav ul.menu>li.inMenu p a span {
    font-size: 1.1em;
  }

  main {
    padding: 9em 0 0;
  }

  section {
    margin: 0 0 3em;
    padding: 2em 0 0;
  }

  .main_visual div {
    min-height: 16em;
  }

  section#tv,
  section#jump-out,
  section#event,
  section#sales,
  section#audio,
  section#evo-deep {
    scroll-margin-top: 7em;
    margin: 0 1.5em 3em;
  }

  h2 {
    filter: drop-shadow(0.06em 0.06em 0px #fff);
  }

  h3 {
    font-size: 2.4em;
  }

  h4 {
    height: auto;
  }

  .article_box {
    display: block;
    margin: 3em 1em 2em;
  }

  article {
    width: auto;
  }

  article .pic {
    min-width: 60px;
    width: 90px;
  }

  .summary:before {
    top: 4.75em;
  }

  .summary .text {
    font-size: 1.2em;
  }

  footer {
    margin: 4em 0 0;
  }

}

/* --- Grid System --- */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  /* Mobile: 1 column */
  gap: 3em;
  /* Increased gap for floating elements */
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    /* PC: 2 columns */
  }

  .col-span-2 {
    grid-column: span 2;
  }
}

/* --- Card Design --- */
.card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: visible;
  /* ALLOW OVERFLOW for avatar overlap */
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  border: 1px solid #e2e8f0;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Image Area (Slideshow) */
.card-image-container {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  border-radius: 1em 1em 0 0;
  /* Radius only on top */
  overflow: hidden;
}

/* Split View for Double Images */
.split-view {
  display: flex;
}

@media (min-width: 768px) {
  .split-view {
    aspect-ratio: 16 / 4.5;
  }
}

.half-image {
  position: relative;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  /* subtle separator */
}

.half-image:last-child {
  border-right: none;
}

.card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1s ease-in-out;
  opacity: 0;
  z-index: 1;
}

.card-image.contain {
  object-fit: contain
}

.card-image.active {
  opacity: 1;
}

.card-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  /* Gradient for readability */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
  padding: 3em 1.5em 2em;
  z-index: 2;
  box-sizing: border-box;
  /* Safe Zone adjustment: Avatar is now bridging, so text can go wider but still need space on right */
  padding-right: 20px;
}

.split-view .card-image-overlay {
  padding: 3em 1.5em 4em;
}

/* Tags on Image */
.card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: bold;
  z-index: 3;
  text-transform: uppercase;
}

.tag-red {
  background-color: #dc2626;
}

.tag-pink {
  background-color: #db2777;
}

.tag-emerald {
  background-color: #059669;
}

.tag-orange {
  background-color: #ea580c;
}

.tag-purple {
  background-color: #7c3aed;
}

.tag-indigo {
  background-color: #4f46e5;
}

/* Overlay Text (Q1) */
.overlay-q-label {
  color: #fbbf24;
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 0.5em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.split-view .overlay-q-label {
  margin-bottom: 0.25em;
}

.overlay-title {
  color: white;
  font-size: 1.4em;
  font-weight: bold;
  line-height: 1.4;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  word-wrap: break-word;
  padding-right: 4.5em;
}

.split-view .overlay-title {
  font-size: 2em;
}

.card-body {
  padding: 0 1.4em 1.4em;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.avatar-area {
  position: absolute;
  top: 0;
  right: 1em;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}

.avatar-group {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 1em;
  padding: 0 1em;
  box-sizing: border-box;
  pointer-events: none;
}

.avatar-item {
  pointer-events: auto;
  display: flex;
  align-items: center;
}

/* Modified: Left person has Photo on Right to be closer to center */
.avatar-item.left {
  flex-direction: row-reverse;
  width: 210px;
}

.avatar-item.left .avatar-img-wrapper {
  margin-right: 0;
  margin-left: -1em;
  z-index: 2;
}

.avatar-item.left .avatar-info-card {
  padding: 0.5em 2em 0.5em 1em;
  align-items: flex-end;
}

.avatar-item.right {
  flex-direction: row;
  width: 210px;
}

.avatar-item.right .avatar-img-wrapper {
  margin-left: 0;
  margin-right: -1em;
  z-index: 2;
}

.avatar-item.right .avatar-info-card {
  padding: 0.5em 1em 0.5em 2em;
  align-items: flex-start;
  /* Align text to start */
}

.avatar-img-wrapper {
  width: 6em;
  height: 6em;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0.25em 0.5em rgba(0, 0, 0, 0.25);
  overflow: hidden;
  background-color: #ccc;
  margin-left: -1em;
  /* Slight overlap with text box for cohesive look */
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-info-card {
  background-color: white;
  padding: 0.5em 2em 0.5em 1em;
  /* Extra padding right for avatar overlap */
  border-radius: 0.75em;
  box-shadow: 0 0.25em 0.75em rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  /* Right align text */
  position: relative;
  z-index: 1;
  /* min-width: 120px; */
}

.avatar-dept {
  font-size: 0.8em;
  color: #64748b;
  font-weight: bold;
  margin-bottom: 0.25em;
  white-space: nowrap;
}

.avatar-name {
  font-size: 1em;
  color: #1e293b;
  font-weight: 900;
  line-height: 1.25;
  white-space: nowrap;
}


/* Q2 Detail */
.q-section {
  margin-bottom: 1em;
  margin-top: 2em;
}

.col-span-2 .q-section {
  margin-bottom: 1em;
  margin-top: 4em;
}

@media (min-width: 768px) {
  .col-span-2 .q-section {
    margin-top: 2em;
  }
}

.q-label {
  display: block;
  color: #0044cc;
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 1em;
  border-bottom: 2px solid #0044cc;
  padding-bottom: 0.5em;
  margin-right: 6em;
}

.col-span-2 .q-label {
  margin-right: 0;
}

@media (min-width: 768px) {
  .col-span-2 .q-label {
    width: 40%;
  }
}

.q-text {
  font-size: 1.25em;
  color: #666666;
  line-height: 1.75;
}

/* Q3 Message Box */
.message-box {
  margin-top: auto;
  background-color: #eff6ff;
  border-radius: 0.75em;
  padding: 16px;
  position: relative;
  border-left: 4px solid #0044cc;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.message-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em;
  margin-top: auto;
  align-items: stretch;
}

/* Reset margin for boxes inside grid to allow stretch */
.message-grid .message-box {
  margin-top: 0;
}

@media (max-width: 600px) {
  .message-grid {
    grid-template-columns: 1fr;
  }
}

.message-box.pink {
  background-color: #fdf2f8;
  border-left-color: #db2777;
}

.message-box.pink .message-text {
  color: #831843;
}

.message-box.emerald {
  background-color: #ecfdf5;
  border-left-color: #059669;
}

.message-box.emerald .message-text {
  color: #064e3b;
}

.message-box.orange {
  background-color: #fff7ed;
  border-left-color: #ea580c;
}

.message-box.orange .message-text {
  color: #7c2d12;
}

.message-box.purple {
  background-color: #f5f3ff;
  border-left-color: #7c3aed;
}

.message-box.purple .message-text {
  color: #4c1d95;
}

.message-box.indigo {
  background-color: #eef2ff;
  border-left-color: #4f46e5;
}

.message-box.indigo .message-text {
  color: #312e81;
}

.message-label {
  font-size: 0.8em;
  font-weight: bold;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 1em;
  display: block;
}

.message-text {
  font-size: 1em;
  font-weight: bold;
  color: #1e3a8a;
  line-height: 1.5;
  flex-grow: 1;
  /* Push author to bottom */
}

.message-author {
  display: block;
  margin-top: auto;
  /* Force to bottom */
  padding-top: 1em;
  /* Spacing from text */
  font-size: 0.8em;
  font-weight: bold;
  text-align: right;
  color: #64748b;
}

/* =========================================
           B. フッターリンクカード (Next Actions)
           ========================================= */
.vision-links-area {
  padding: 5em 1.5em;
  background-color: #f8f9fa;
  border-top: 1px solid #e5e7eb;
}

.vision-container {
  max-width: 1200px;
  margin: 0 auto;
}

.vision-section-header {
  font-family: "Montserrat", sans-serif;
  margin-bottom: 3em;
  text-align: center;
}

@media (min-width: 768px) {
  .vision-section-header {
    text-align: left;
  }
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2em;
}

@media (min-width: 768px) {
  .vision-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- カード共通スタイル --- */
.link-card {
  display: block;
  position: relative;
  height: 360px;
  width: 100%;
  border-radius: 0.75em;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.5s ease;
}

.link-card:hover {
  transform: translateY(-0.5em);
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.2);
  opacity: 1 !important;
}

.card-content {
  position: relative;
  z-index: 10;
  height: 100%;
  padding: 2em;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.recruit-link .bg-image {
  background-image: url('https://www.ohbsn.com/vision-report/assets/img/bg_exploer_recruit.jpg');
}

.vision-link .bg-image {
  background-image: url('https://www.ohbsn.com/vision-report/assets/img/bg_exploer_vision.jpg');
}

.well-being-link .bg-image {
  background-image: url('https://www.ohbsn.com/vision-report/assets/img/bg_exploer_well-being.jpg');
}

.link-card:hover .bg-image {
  transform: scale(1.1);
  opacity: 0.9;
}

.arrow-wraper {
  display: flex;
  justify-content: right;
}

.link-card .arrow-icon {
  transform: rotate(45deg);
  width: 2em;
  height: 2em;
  transition: transform 0.3s ease, color 0.3s ease;
}

.link-card:hover .arrow-icon {
  transform: translate(0.5em, -0.5em) rotate(45deg);
  color: #ffffff;
}

.card-number {
font-family: "Montserrat", sans-serif;
  font-size: 0.75em;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.card-title {
  font-family: "Montserrat", sans-serif;
  font-size: 2.4em;
  font-weight: 900;
  line-height: 1;
  margin: 0 0 0.5em 0;
  color: #000000;
  transition: color 0.3s;
}

.link-card:hover .card-title { color: #ffffff; }

.card-desc {
  font-size: 0.9em;
  line-height: 1.5;
  margin: 0;
  color: #4b5563;
  font-weight: 600;
}

.link-card:hover .card-desc { color: #d1d5db; }

.hover-line {
  width: 3em;
  height: 0.5em;
  margin-bottom: 1em;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.recruit-link .hover-line {
  background-color: #2563eb;
}

.vision-link .hover-line {
  background-color: #10b981;
}

.well-being-link .hover-line {
  background-color: #fca401;
}

.link-card:hover .hover-line {
  transform: scaleX(1);
}

.deco-circle {
  position: absolute;
  bottom: -3em;
  right: -3em;
  width: 12em;
  height: 12em;
  border-radius: 50%;
  transition: transform 0.7s ease;
  z-index: 1;
}

.recruit-link .deco-circle {
  border: 1.4em solid rgba(34, 179, 239, 0.1);
}

.well-being-link .deco-circle {
  border: 1.4em solid rgba(250, 164, 1, 0.1);
}

.vision-link .deco-circle {
  border: 1.4em solid rgba(16, 185, 129, 0.1);
}

.link-card:hover .deco-circle {
  transform: scale(1.2);
}