@charset "utf-8";

/* ============
common
============ */
:root {
  --spectral-white: #f5f9fe;
  --ink-black: #020b14;
  --electron-blue: #015bb5;
  --photon-blue: #7F96CF;
  --blue-light: #C9D8FF;
  --energy-yellow: #f7ba74;
  --gray-low: #CFCFCF;
  --gray-light: #F5F5F5;
  --contentWidth: 91.4%;
  --contentPadding: 4.2%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-black, #020b14);
}

html[lang="en"] body {
  font-family: "Roboto", sans-serif;
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site>main {
  flex: 1;
}

@media (min-width: 768px) {
  body {
    font-size: 1.125rem;
    /* 16px × 1.125 = 18px */
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* 背景動画ラッパー */
.bg-video {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  /* SPフォールバック画像（初期値） */
  background: url("../images/nomovie-bg-sp1.webp") center / cover no-repeat;
}

/* PCフォールバック */
@media (min-width: 768px) {
  .bg-video {
    background: url("../images/nomovie-bg-pc1.webp") center / cover no-repeat;
  }
}

.bg-video__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main {
  background: rgba(256, 256, 256, 0.2);
  position: relative;
}

h2 {
  color: var(--electron-blue);
  font-family: "Roboto", sans-serif;
  text-align: center;
  font-size: 2rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 1px;
}

h3 {
  line-height: 1.4;
}

.l-container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--contentPadding);
}

.brPc {
  display: none;
}

@media (min-width: 1024px) {
  h2 {
    font-size: 3rem;
  }

  .l-container {
    padding: 24px;
  }

  .brSp {
    display: none;
  }
}

/*  ====== Atom bottom　(htmlはmainタグ終了前) ====== */
.atom-top-indicator {
  position: fixed;
  right: 2%;
  bottom: 2%;
  z-index: 5;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}

.atom-top-indicator--visible {
  opacity: 1;
  pointer-events: auto;
}

.atom-icon__bottom {
  width: 48px;
  height: 48px;
}

.atom-top-indicator:hover .atom-icon__bottom {
  opacity: 0.85;
  transition: opacity .3s ease;
}

.atom-top-indicator::after {
  content: 'top';
  color: var(--electron-blue);
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 300;
  line-height: 1;
  letter-spacing: normal;
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
}

@media (min-width: 768px) {
  .atom-top-indicator {
    position: fixed;
    right: 2%;
    bottom: 4.4%;
  }

  .atom-icon__bottom {
    width: 56px;
    height: 56px;
  }

  .atom-top-indicator::after {
    font-size: 0.9rem;
    bottom: -8px;
  }
}

/* ===============
Header
 =============== */
/* ※スマホデバイスの制御※ */
@media (max-width: 1023px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
  }

  main {
    padding-top: 64px;
    /* 　✅実際のヘッダーの高さに合わせて調整する */
  }
}

.header-wrap {
  display: flex;
  justify-content: space-between;
  font-family: "Roboto", sans-serif;
  color: var(--electron-blue);
  margin-top: var(--contentPadding);
}

.header-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: fit-content;
  height: fit-content;
  gap: -2px;
  z-index: 100;
}

.header-logo__name {
  font-size: 1.44rem;
  font-weight: 700;
  letter-spacing: 0.96px;
  line-height: normal;
}

.header-logo__special {
  font-size: 0.92rem;
  letter-spacing: 1.12px;
  line-height: 0.9;
  font-weight: 400;
}

@media (min-width: 768px) {
  .header-wrap {
    margin-top: 0;
  }

  .header-logo__name {
    font-size: 1.6rem;
  }

  .header-logo__special {
    font-size: 0.98rem;
    letter-spacing: 1.6px;
    line-height: 0.9;
    font-weight: 400;
  }
}


/* ===== ハンバーガーメニュー・ボタン ===== */
.openbtn {
  position: relative;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  z-index: 100;
}

.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 2px;
  border-radius: 1px;
  background: var(--electron-blue);
}

/* ==== Approachセクションの暗転 ==== */
.header-logo__name,
.header-logo__special {
  color: var(--electron-blue);
  transition: color 0.4s ease;
  /* 滑らかに色変更 */
}

/* Approachエリアでロゴを白色に */
body.is-logo-white .header-logo__name,
body.is-logo-white .header-logo__special {
  color: var(--spectral-white, #f5f9fe);
}

/* ハンバーガーメニューの線も白色に */
body.is-logo-white .openbtn span {
  background: var(--spectral-white, #f5f9fe);
}

/* bottomの電子も白色に */
body.is-logo-white .atom-top-indicator .atom-icon__bottom,
body.is-logo-white .atom-top-indicator .atom-icon__bottom * {
  fill: var(--spectral-white, #f5f9fe);
  stroke: var(--spectral-white, #f5f9fe);
}

body.is-logo-white .atom-top-indicator::after {
  color: var(--spectral-white, #f5f9fe);
}


.header-logo__name,
.header-logo__special {
  color: var(--electron-blue);
}

.openbtn span:nth-of-type(1) {
  top: 15px;
  width: 45%;
}

.openbtn span:nth-of-type(2) {
  top: 23px;
  width: 35%;
}

.openbtn span:nth-of-type(3) {
  top: 31px;
  width: 20%;
}

.openbtn.active span:nth-of-type(1),
.openbtn.active span:nth-of-type(3) {
  top: 50%;
  left: 50%;
  width: 60%;
}

.openbtn.active span:nth-of-type(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.openbtn.active span:nth-of-type(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  /* 閉じてるときはクリック無効に */
}

/* 円形オーバーレイ */
.nav::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.84);
  background-repeat: no-repeat;
  background-size: cover;
  clip-path: circle(0% at 100% 0);
  transition: clip-path 0.5s ease-out;
}

.nav__list {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  margin: 112px auto 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
  font-family: "Roboto", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--spectral-white);
  letter-spacing: 0.2px;

}

/* 開いた状態 */
.site-header--nav-open .nav {
  pointer-events: auto;
}

.site-header--nav-open .nav::before {
  clip-path: circle(150% at 100% 0);
}

.site-header--nav-open .nav__list {
  opacity: 1;
  transform: translateY(0);
}

/* 言語切り替えのli全体（PC/SP共通のベース） */
.nav__item--lang {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* JP / EN 共通のボタンスタイル */
.nav__lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 4px;
  border-radius: 50%;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--electron-blue);
  background-color: transparent;
}

/* アクティブ言語だけ「白丸＋文字青」にする */
.nav__lang--active {
  background-color: var(--spectral-white);
}

/* メニューOPEN中は白*/
@media (max-width: 1024px) {

  .site-header--nav-open .header-logo__name,
  .site-header--nav-open .header-logo__special {
    color: var(--spectral-white);
  }

  .site-header--nav-open .openbtn span {
    background: var(--spectral-white);
  }

  .nav__item--lang {
    position: relative;
    padding-top: 48px;
    display: flex;
    justify-content: center;
    gap: 8px;
  }

  .nav__item--lang::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 0.5px;
    border-radius: 1px;
    background-color: var(--spectral-white);
  }

  .site-header--nav-open .nav__lang {
    color: var(--spectral-white);
  }

  .site-header--nav-open .nav__lang--active {
    background-color: var(--spectral-white);
    color: var(--electron-blue);
  }
}

/* NAVスクロールアニメーション */
#site-header {
  transition: transform 0.3s ease;
}

#site-header.is-hidden {
  transform: translateY(-100%);
}

@media (min-width: 1024px) {
  .site-header {
    position: fixed;
    z-index: 30;
    width: 100%;
  }

  .openbtn {
    display: none;
  }

  .header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 0;
  }

  /* navを「固定オーバーレイ」から「通常配置」に戻す */
  .nav {
    position: static;
    inset: auto;
    width: auto;
    height: auto;
    pointer-events: auto;
    transform: none;
    background: none;
    z-index: 30;
  }

  /* 円形の黒オーバーレイはPCでは使わない */
  .nav::before {
    content: none;
  }

  /* メニューを横並びに・下ズレをリセット */
  .nav__list {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 36px;
    margin: 0;
    padding: 0;
    opacity: 1;
    transform: none;
    color: var(--electron-blue);
    font-size: 0.9rem;
  }

  .nav__item a {
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--electron-blue);
  }

  .site-header--nav-open .nav {
    pointer-events: auto;
  }

  .nav__item--lang .nav__lang {
    font-size: 1.06rem;
    font-weight: 400;
    color: var(--electron-blue);
  }

  /* アクティブ言語だけ「白丸＋文字青」にする */
  .nav__item--lang .nav__lang--active {
    color: var(--spectral-white);
    background-color: var(--electron-blue);
  }

  @media (min-width: 1024px) {
    /* …PCナビのレイアウト… */

    /* ★ここに追記 */
    body.is-logo-white .nav__item a {
      color: var(--spectral-white);
    }

    body.is-logo-white .nav__item--lang .nav__lang {
      color: var(--spectral-white);
      background-color: transparent;
    }

    body.is-logo-white .nav__item--lang .nav__lang--active {
      color: var(--spectral-white);
      background-color: transparent;
      border: 1px solid var(--spectral-white);
    }
  }

}

/* -------  Header END ------- */

/* ============
Footer
============ */
.site-footer .l-container {
  width: auto;
  height: auto;
  padding-top: 40px;
  padding-bottom: var(--contentPadding);
  background: var(--electron-blue);
  color: var(--spectral-white);
  text-align: center;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: fit-content;
  height: fit-content;
  margin: 0 auto;
}

.footer-logo__name {
  font-size: 1.44rem;
  font-weight: 700;
  letter-spacing: 0.96px;
  line-height: normal;
}

.footer-logo__special {
  font-size: 0.92rem;
  letter-spacing: 1.12px;
  line-height: 0.9;
  font-weight: 400;
}

.nav-footer__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 24px auto;
}

.nav-footer__item {
  font-family: "Roboto", sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
}

.small {
  font-family: "Roboto", sans-serif;
  font-size: 0.875rem;
  display: block;
  width: 100%;
  text-align: center;
  padding-top: var(--contentPadding);
}


.footer-privacy {
  position: relative;
  width: 80%;
  margin: 0 auto;
  padding-top: 24px;
  font-size: 0.75rem;
  line-height: 1.6;
  text-align: left;
  color: rgba(255, 255, 255, 0.75);
  /* 背景が暗色前提 */
}

.footer-privacy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background-color: var(--spectral-white);
}

.footer-privacy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s ease;
}

.footer-privacy a:hover {
  opacity: 1;
}

@media (min-width: 1024px) {
  .site-footer .l-container {
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    max-width: none;
  }

  .footer-logo,
  .nav-footer,
  .footer-privacy::before {
    display: none;
  }

  .footer-privacy {
      text-align: center;
    font-size: 0.8rem;
      padding-top: 32px;
  }

  .small {
    padding: 16px;
    font-size: 0.9rem;
    letter-spacing: 0.4px;
  }
}