@charset "utf-8";
@import url("reset.css");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;500;600;700&display=swap");

/*================================================
  Nakamura Hak「白は夢」特設サイト
  完全モノクロ：#000 / #fff のみで構成し、グレースケールで階調を表現。
================================================*/

html {
  background: #fff;
  /* overflow-x: clip は overflow-x: hidden と違って、
     子要素の position: sticky を破壊しない。
     sectionBanner 100vw の横溢れを防ぎつつ、ジャケットの追従を維持。 */
  overflow-x: clip;
}

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

body {
  padding: 0;
  margin: 0;
  font-size: 17px;
  color: #000;
  margin: auto;
  font-family: "Helvetica Neue", Helvetica, "Noto Sans JP", sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  background: #fff;
  line-height: 1.7;
}
@media screen and (max-width: 1000px) {
  body {
    font-size: 16px;
  }
}
@media screen and (max-width: 560px) {
  body {
    font-size: 15px;
    min-width: inherit;
  }
}

/* メニュー開いている時、背景のスクロールを完全停止 (iOS Safari対応) */
html.bodyMenuLocked,
body.bodyMenuLocked {
  overflow: hidden;
  touch-action: none;
  -ms-touch-action: none;
}

img {
  border: none;
  max-width: 100%;
}

table {
  border-collapse: collapse;
}

iframe {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
a:hover {
  opacity: 0.65;
}

::selection {
  background: #000;
  color: #fff;
}

.small {
  font-size: 0.82em;
}

.nowrap {
  white-space: nowrap;
  display: inline-block;
}

/*================================================
  inview animation
================================================*/

.scrollView {
  opacity: 0;
  transform: translate(0,30px);
  -webkit-transform: translate(0,30px);
  transition: 1s;
}
.scrollViewAction {
  opacity: 1.0;
  -webkit-animation: scrollViewA 0.8s forwards ease-in-out;
  animation: scrollViewA 0.8s forwards ease-in-out;
}
@-webkit-keyframes scrollViewA {
  0%   { opacity: 0; -webkit-transform: translate(0,30px); }
  100% { opacity: 1; -webkit-transform: translate(0,0); }
}
@keyframes scrollViewA {
  0%   { opacity: 0; transform: translate(0,30px); -webkit-transform: translate(0,30px); }
  100% { opacity: 1; transform: translate(0,0); -webkit-transform: translate(0,0); }
}

.fadeIn {
  opacity: 0;
  transition: 1s;
}
.fadeInAction {
  opacity: 1.0;
  -webkit-animation: fadeInA 0.8s forwards ease-in-out;
  animation: fadeInA 0.8s forwards ease-in-out;
}
@-webkit-keyframes fadeInA {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes fadeInA {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

.popIn {
  opacity: 0;
  transform: scale(0.7);
  transition: 1s;
}
.popInAction {
  opacity: 1.0;
  transform: scale(1.0);
  -webkit-animation: popInA 0.5s forwards ease-out;
  animation: popInA 0.5s forwards ease-out;
}
@-webkit-keyframes popInA {
  0%   { opacity: 0; transform: scale(0.7); }
  50%  { opacity: 0.8; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1.0); }
}
@keyframes popInA {
  0%   { opacity: 0; transform: scale(0.7); }
  50%  { opacity: 0.8; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1.0); }
}

/*================================================
  loader
================================================*/

#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: all;
}
#loader.done {
  display: none;
}

#loaderTop, #loaderBottom {
  position: absolute;
  left: 0;
  right: 0;
  background: #000;
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}
#loaderTop {
  top: 0;
  height: 50%;
  transform: translateY(0);
}
#loaderBottom {
  bottom: 0;
  height: 50%;
  transform: translateY(0);
}
#loader.parting #loaderTop {
  transform: translateY(-100%);
}
#loader.parting #loaderBottom {
  transform: translateY(100%);
}
#loader.parting {
  pointer-events: none;
}

#loaderCenter {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

#loaderLogo {
  width: 10em;
  height: 10em;
  /* symbol.svg は <img> タグでロードしているため color が効かない。
     黒背景上で白く表示するため filter で反転する。 */
  filter: invert(1);
  transition: opacity 0.5s ease;
  position: absolute;
  opacity: 0.4;
}
#loaderLogo.hide {
  opacity: 0;
}

#loaderLineWrap {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  overflow: hidden;
  transform: translateY(-0.5px);
}
#loaderLine {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.3);
  -webkit-animation: loaderBlink 1.1s ease-in-out infinite;
  animation: loaderBlink 1.1s ease-in-out infinite;
}
#loaderFlash {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  transition: none;
}
#loaderFlash.run {
  transition: left 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  left: 100%;
}
@-webkit-keyframes loaderBlink {
  0%, 100% { opacity: 0.25; }
  50%      { opacity: 1; }
}
@keyframes loaderBlink {
  0%, 100% { opacity: 0.25; }
  50%      { opacity: 1; }
}

/*================================================
  header
================================================*/

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5em;
  height: 4em;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(0,0,0,0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.5em);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
header.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
@media only screen and (max-width: 560px) {
  header {
    padding: 0 1.25em;
    height: 3.5em;
  }
}

#headerLogo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.9em;
}
#headerLogo a {
  display: block;
  line-height: 0;
}
#headerLogo img {
  height: 1.5em;
  /* logo.svg は #fff 塗りなので、白基調背景では完全黒に変換 */
  filter: brightness(0);
  display: block;
}
@media only screen and (max-width: 560px) {
  #headerLogo img {
    height: 1.2em;
  }
}

.headerLogoLabel {
  font-family: "Noto Serif JP", serif;
  font-size: 0.78em;
  letter-spacing: 0.1em;
  color: rgba(0,0,0,0.65);
  font-weight: 500;
  white-space: nowrap;
  /* ロゴとの間に細い縦罫線で視覚的に区切る */
  padding-left: 0.9em;
  border-left: 1px solid rgba(0,0,0,0.18);
}
@media only screen and (max-width: 560px) {
  .headerLogoLabel {
    font-size: 0.7em;
    padding-left: 0.7em;
    letter-spacing: 0.06em;
  }
}

#toggle {
  position: relative;
  width: 1.75em;
  height: 1.75em;
  cursor: pointer;
  z-index: 1001;
  padding: 0.3em;
  display: none;
  flex-shrink: 0;
}
@media only screen and (max-width: 900px) {
  #toggle {
    display: block;
  }
}

.bar {
  position: absolute;
  left: 0.3em;
  right: 0.3em;
  height: 1px;
  background-color: #000;
  border-radius: 1px;
  transition: all 0.3s ease;
}
#bar01 { top: 0.6em; }
#bar02 { top: 0.875em; }
#bar03 { top: 1.15em; }

#toggle.toggleOpen .bar {
  background-color: #000;
}
#toggle.toggleOpen #bar01 {
  top: 0.875em;
  transform: rotate(45deg);
}
#toggle.toggleOpen #bar02 {
  opacity: 0;
}
#toggle.toggleOpen #bar03 {
  top: 0.875em;
  transform: rotate(-45deg);
}

/*================================================
  #mainMenu
================================================*/

#mainMenu {
  display: flex;
  align-items: center;
  gap: 2.5em;
  list-style: none;
  margin-left: auto;
}
@media only screen and (max-width: 900px) {
  #mainMenu {
    position: fixed;
    top: 0;
    right: -105vw;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    z-index: 1000;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    visibility: hidden;
    padding: 4.5em 1.5em 2em;
    transition:
      right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      opacity 0.4s ease,
      visibility 0s linear 0.4s;
    opacity: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    gap: 0;
    margin-left: 0;
  }
  #mainMenu.active {
    opacity: 1;
    right: 0;
    visibility: visible;
    transition:
      right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      opacity 0.4s ease;
  }
}

.mainMenuList {
  display: flex;
  align-items: center;
  gap: 2em;
  list-style: none;
}
@media only screen and (max-width: 900px) {
  .mainMenuList {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    width: 100%;
  }
  .mainMenuList li {
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }
}

.mainMenuList a {
  display: block;
  color: rgba(0,0,0,0.7);
  font-size: 0.75em;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: color 0.2s;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
}
.mainMenuList a:hover {
  color: #000;
  opacity: 1;
}
@media only screen and (max-width: 900px) {
  .mainMenuList a {
    padding: 1em 0;
    font-size: 1.5em;
    font-family: "Noto Serif JP", serif;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: #000;
    text-transform: none;
  }
}

.mainMenuList a .small {
  display: none;
}
@media only screen and (max-width: 900px) {
  .mainMenuList a .small {
    display: inline;
    font-size: 0.45em;
    font-weight: 300;
    opacity: 0.5;
    letter-spacing: 0.15em;
    margin-left: 0.8em;
    text-transform: none;
    vertical-align: middle;
  }
}

/*================================================
  isExternal (Official 公式サイト等の外部リンク)
  releaseLink の外部リンクと同じトーン (薄灰色 + 矢印アイコン)
================================================*/

.mainMenuList li.isExternal {
  /* デスクトップ: ボタン風に */
  border-bottom: none;
}

.mainMenuList li.isExternal a {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.55em 0.9em;
  font-size: 0.75em;
  letter-spacing: 0.08em;
  text-transform: none;
  color: #000;
  transition: background 0.2s, border-color 0.2s;
}
.mainMenuList li.isExternal a:hover {
  background: #e0e0e0;
  border-color: #999;
  opacity: 1;
  color: #000;
}

.externalIcon {
  display: inline-block;
  font-size: 0.95em;
  line-height: 1;
  opacity: 0.65;
  transform: translateY(-0.05em);
}

@media only screen and (max-width: 900px) {
  .mainMenuList li.isExternal {
    border-bottom: none;
    margin-top: 1.2em;
    text-align: center;
  }
  .mainMenuList li.isExternal a {
    display: inline-flex;
    width: fit-content;
    margin: 0 auto;
    padding: 0.8em 1.5em;
    font-size: 1em;
    gap: 0.6em;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
  }
  .mainMenuList li.isExternal a .small {
    display: none;
  }
  .mainMenuList li.isExternal .externalIcon {
    font-size: 1.1em;
    opacity: 0.7;
  }
}

/* snsMenu = SP時のみ表示 */
.snsMenu {
  display: none;
  list-style: none;
}
@media only screen and (max-width: 900px) {
  .snsMenu {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 2.5em;
    padding-top: 1.5em;
    width: 100%;
  }
  .snsMenu::before {
    content: "SNS";
    display: block;
    font-size: 0.65em;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.4);
    margin-bottom: 0.75em;
    font-family: "Noto Serif JP", serif;
  }
  .snsMenu li {
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  .snsMenu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1em 0;
    font-size: 0.75em;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.6);
  }
  .snsMenu a:hover {
    opacity: 1;
    color: #000;
  }
  .snsMenuIcon {
    display: inline-flex;
    align-items: center;
    width: 1em;
    height: 1em;
    margin-right: 0.875em;
  }
  .snsMenuIcon svg {
    width: 100%;
    height: 100%;
  }
  .snsMenuLabel {
    flex: 1;
  }
  .snsMenuArrow {
    font-size: 1em;
    opacity: 0.5;
  }
}

/*================================================
  section
================================================*/

section {
  position: relative;
  background: #fff;
}

.sectionInner {
  margin: 0 auto;
  padding: 0 3em;
  max-width: 1240px;
}
@media only screen and (max-width: 768px) {
  .sectionInner {
    padding: 0 2em;
  }
}
@media only screen and (max-width: 560px) {
  .sectionInner {
    padding: 0 1.25em;
  }
}

/*================================================
  sectionBanner (Release / Campaign 共通の h2 バナー)
  - 全幅 (100vw)、文字中央揃え
  - 背景画像をJSで translateY 移動させてパララックス効果
================================================*/

.sectionBanner {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: clamp(220px, 32vh, 360px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
@media only screen and (max-width: 560px) {
  .sectionBanner {
    height: clamp(160px, 28vh, 240px);
  }
}

.sectionBannerBg {
  position: absolute;
  top: -50%;
  left: 0;
  right: 0;
  height: 200%;
  z-index: 1;
  background-position: center center;
  background-repeat: no-repeat;
  filter: grayscale(100%);
  opacity: 0.22;
  pointer-events: none;
  will-change: transform;
}

.sectionBannerTitle {
  position: relative;
  z-index: 2;
  font-family: "Noto Serif JP", serif;
  font-size: 4em;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #000;
  line-height: 1.2;
  margin: 0;
  text-align: center;
  padding: 0 1em;
}
#entry .sectionBannerTitle {
  letter-spacing: 0;
}
@media only screen and (max-width: 768px) {
  .sectionBannerTitle {
    font-size: 3em;
  }
}
@media only screen and (max-width: 560px) {
  .sectionBannerTitle {
    font-size: 2.4em;
    letter-spacing: 0.1em;
  }
}

/*================================================
  secHeading (各リリースの見出しブロック)
================================================*/

.secHeading {
  margin-bottom: 3.5em;
  border-top: 2px solid rgba(0,0,0,0.5);
  border-bottom: 2px solid rgba(0,0,0,0.5);
  padding-top: 1.5em;
  padding-bottom: 1.5em;
}
@media only screen and (max-width: 560px) {
  .secHeading {
    margin-bottom: 2.5em;
    padding-top: 1em;
    padding-bottom: 1em;
  }
}

.secTitle {
  display: flex;
  align-items: baseline;
  gap: 1.2em;
  margin: 0;
  line-height: 1.1;
  flex-wrap: wrap;
}
@media only screen and (max-width: 560px) {
  .secTitle {
    flex-direction: column;
    gap: 0.5em;
  }
}

.secTitleMain {
  font-size: 2.1em;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #000;
  font-family: "Noto Serif JP", serif;
  line-height: 1.1;
}
@media only screen and (max-width: 768px) {
  .secTitleMain {
    font-size: 1.85em;
  }
}
@media only screen and (max-width: 560px) {
  .secTitleMain {
    font-size: 1.55em;
  }
}

.secTitleSub {
  font-size: 0.85em;
  letter-spacing: 0.12em;
  color: rgba(0,0,0,0.55);
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}
@media only screen and (max-width: 560px) {
  .secTitleSub {
    font-size: 0.8em;
    letter-spacing: 0.1em;
  }
}

/*================================================
  footer
================================================*/

footer {
  position: relative;
  z-index: 10;
  padding: 3em 3em;
  border-top: 1px solid rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1em;
  background: #000;
  color: #fff;
}
@media only screen and (max-width: 560px) {
  footer {
    padding: 2em 1.25em;
  }
}

.footerLeft {
  display: flex;
  align-items: center;
  gap: 0.875em;
}

.footerCopy {
  font-size: 0.8em;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  font-style: normal;
}

.footerRight {
  font-size: 0.7em;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 1.5em;
}

#footerBrand {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  opacity: 0.85;
  transition: opacity 0.2s;
}
#footerBrand:hover {
  opacity: 1;
}
.footerBrandSymbol {
  display: block;
  height: 40px;
  width: auto;
  /* symbol.svg は fill="currentColor" のままだと img 経由で参照されるため
     CSS color が効かない。filter で完全白塗りに変換 */
  filter: brightness(0) invert(1);
}
.footerBrandLogo {
  display: block;
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
}
@media only screen and (max-width: 560px) {
  #footerBrand {
    gap: 0.5em;
  }
  .footerBrandSymbol {
    height: 30px;
  }
  .footerBrandLogo {
    height: 18px;
  }
}

#footerLink {
  text-align: right;
}
#footerLink img {
  display: inline-block;
  height: 40px;
  /* 元画像が白いロゴなので、黒背景ではそのまま白で表示 */
}
@media only screen and (max-width: 560px) {
  #footerLink img {
    height: 30px;
  }
}

/*================================================
  modal
================================================*/

#modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(255,255,255,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2.5em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  -webkit-animation: modalIn 0.2s ease;
  animation: modalIn 0.2s ease;
}
#modal.active {
  display: flex;
}
@media only screen and (max-width: 560px) {
  #modal {
    padding: 1em;
  }
}

@-webkit-keyframes modalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes modalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@-webkit-keyframes modalSlide {
  from { opacity: 0; transform: translateY(1em); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes modalSlide {
  from { opacity: 0; transform: translateY(1em); }
  to   { opacity: 1; transform: translateY(0); }
}

#modalInner {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.18);
  width: 100%;
  max-width: 780px;
  max-height: calc(100vh - 8em);
  max-height: calc(100dvh - 8em);
  display: flex;
  flex-direction: column;
  position: relative;
  -webkit-animation: modalSlide 0.25s ease;
  animation: modalSlide 0.25s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
@media only screen and (max-width: 560px) {
  #modalInner {
    max-height: calc(100vh - 8em);
    max-height: calc(100dvh - 8em);
  }
}

#modalClose {
  position: absolute;
  top: -1em;
  right: -1em;
  width: 2em;
  height: 2em;
  background: #000;
  border: none;
  color: #fff;
  font-size: 0.9em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 10;
}

#modalBody {
  padding: 0;
  min-height: 35em;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
#modalBody iframe {
  width: 100%;
  height: 35em;
  border: none;
  display: block;
}

#modalBody.isComingSoon {
  padding: 6.25em 1.5em;
  text-align: center;
  color: rgba(0,0,0,0.5);
  font-size: 0.85em;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  min-height: auto;
}
#modalBody.isComingSoon .modalNote {
  margin-top: 0.5em;
  font-size: 0.95em;
  color: rgba(0,0,0,0.4);
  text-transform: none;
  letter-spacing: 0.05em;
}

#modalFooter {
  padding: 0.875em 1.5em;
  border-top: 1px solid rgba(0,0,0,0.1);
  display: flex;
  justify-content: flex-end;
}
#modalFooter.isHidden {
  display: none;
}

#modalExternal {
  font-size: 0.75em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
}