/* Google Fonts "Inter Tight" (ヘッダー用) */
@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;700&display=swap");
/* Google Fonts "Antonio" (ローディングの代用フォント) */
@import url("https://fonts.googleapis.com/css2?family=Antonio:wght@700&display=swap");

/* ------------------------------
   Reset CSS (Modern Normalize風)
--------------------------------*/
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
}
ul[role="list"],
ol[role="list"] {
  list-style: none;
}
img,
picture {
  max-width: 100%;
  display: block;
}
input,
button,
textarea,
select {
  font: inherit;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ------------------------------
   Base Style
--------------------------------*/
body {
  /* 一般的なサンセリフ体を使用 */
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  color: #fff;
  background: #000;
  line-height: 1.6;
}

header,
footer {
  padding: 1.5rem;
  background: #f5f5f5;
}

main {
  max-width: 1280px;
  margin: 2rem auto;
  padding: 0 1rem;
}

article {
  margin-bottom: 2rem;
}

article h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

footer p {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

/* ユーティリティ: スクロールロック */
.u-no-scroll {
  overflow: hidden;
}

/* --- Header Block (BEM) --- */
.header {
  background-color: #000000;
  color: #ffffff;
  height: 70px;
  width: 100%;

  /* Stickyによる追従設定 */
  position: -webkit-sticky;
  position: sticky;
  top: 0;

  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);

  /* ヘッダーのみ Inter Tight を適用 */
  font-family: "Inter Tight", sans-serif;
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

/* Element: Logo */
.header__logo {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
  text-decoration: none;
  color: #fff;
  z-index: 1001;
}

.header__logo:hover {
  opacity: 0.8;
}

/* Element: Nav List (PC) */
.header__list {
  display: flex;
  list-style: none;
  gap: 60px; /* メニューの間隔を30pxから60pxに変更 */
}

/* Element: Nav Link [ここを変更しました] */
.header__link {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-transform: capitalize;

  /* Blur Glowエフェクト用のトランジション設定 */
  transition: text-shadow 0.3s ease, color 0.3s ease;
}

/* Hover時のエフェクト (Blur Glow) */
.header__link:hover {
  color: #fff; /* 色は白のまま維持 */
  /* 光ってぼやける演出 */
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
    0 0 20px rgba(255, 255, 255, 0.4);
}

/* Element: Hamburger (PC default hidden) */
.header__hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #fff;
  z-index: 1001;
}

/* --- Responsive (Max Width: 768px) --- */
@media (max-width: 768px) {
  .header__hamburger {
    display: block;
  }

  .header__list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 40px;
    padding-bottom: 40px;
  }

  .header__list--active {
    right: 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
  }

  .header__link {
    font-size: 1.5rem;
    font-weight: bold;
  }
}

/* --- MV Block (BEM) --- */
.mv {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 70px);
  background-color: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 40px 0;
  overflow: hidden;
}

/* 背景用Canvasコンテナ */
.mv__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* コンテンツインナー */
.mv__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

/* 左側：テキストエリア */
.mv__left {
  flex: 1;
  padding-right: 40px;
}

/* 右側：画像エリア */
.mv__right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

/* タイトル全体 */
.mv__title {
  font-size: 5vw; /* 適切なサイズに調整 */
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* 上段・下段のスタイルリセット */
.mv__title-main,
.mv__title-sub {
  font-size: inherit;
  font-weight: inherit;
  text-transform: none;
  letter-spacing: normal;
  margin: 0;
  width: auto;
  display: block;
}

/* PCでの最大サイズ制限 */
@media (min-width: 1600px) {
  .mv__title {
    font-size: 6rem;
  }
}

/* GIF画像 */
.mv__img {
  width: 100%;
  max-width: 650px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .mv__inner {
    flex-direction: column-reverse;
    gap: 40px;
    padding: 40px 20px;
  }

  .mv__left,
  .mv__right {
    flex: auto;
    width: 100%;
    padding-right: 0;
    justify-content: center;
    text-align: center;
  }

  .mv__right {
    justify-content: center;
  }

  .mv__title {
    font-size: 3.5rem;
  }

  .mv__img {
    max-width: 100%;
    margin: 0 auto;
  }
}

/* ------------------------------
   Works Section (LATEST / FAMOUS 共通)
--------------------------------*/
.section-works {
  padding: 100px 0;
  background-color: #000;
  color: #fff;
  font-family: "Helvetica Neue", Arial, sans-serif;
  width: 100%;
}

.section-works__inner {
  width: 100%;
  margin: 0 auto;
}

/* ヘッダー */
.section-works__header {
  margin-bottom: 80px;
}

.section-works__title {
  font-size: 5rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.05em;
  margin: 0;
}

/* 投稿リスト */
.section-works__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

/* カードスタイル */
.work-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.work-card__link {
  display: block;
  transition: opacity 0.3s;
}
.work-card__link:hover {
  opacity: 0.8;
}

/* サムネイル */
.work-card__thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 6px solid #e0e0e0;
  border-radius: 30px;
  overflow: hidden;
  background-color: #333;
  box-sizing: border-box;
}

.work-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 情報エリア */
.work-card__meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding-left: 5px;
}

.work-card__title {
  font-size: 1.6rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.2;
}

.work-card__artist {
  font-size: 1rem;
  color: #aaa;
  font-weight: 400;
}

/* ボタン */
.section-works__footer {
  text-align: center;
}

.btn-more {
  display: inline-block;
  padding: 15px 80px;
  background-color: #e0e0e0;
  color: #000;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: normal;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.1s;
}
.btn-more:hover {
  background-color: #fff;
  transform: translateY(-2px);
}

/* レスポンシブ */
@media (max-width: 900px) {
  .section-works__title {
    font-size: 3.5rem;
  }
  .section-works__list {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .work-card__title {
    font-size: 1.4rem;
  }
}

/* ------------------------------
   Scroll Fade Animation
--------------------------------*/
.js-fade-up {
  opacity: 0;
  transform: translateY(80px);
  /* 速度を変更: 1.0s -> 2.5s にしてゆっくりに */
  transition: opacity 2.5s ease-out, transform 2.5s ease-out;
}

.js-fade-up.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------
   Loading Screen
--------------------------------*/
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #000;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

/* is-hidden または bodyにis-visitedがある場合は消す */
#loading.is-hidden,
body.is-visited #loading {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none !important; /* display: noneを追加して確実に消す */
}

.loading__content {
  color: #fff;
  font-family: "Antonio", sans-serif; /* Adobeフォント保留のためAntonioを使用 */
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 15px;
}

.loading__counter-wrap {
  display: inline-block;
  min-width: 120px;
  text-align: center;
}

.loading__bracket {
  font-weight: 400;
  margin: 0 5px;
}

#loading-percent {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
  .loading__content {
    font-size: 1.5rem;
    gap: 10px;
  }
  .loading__counter-wrap {
    min-width: 80px;
  }
}

/* ------------------------------
   Footer Block (BEM)
--------------------------------*/
.footer {
  background-color: #000;
  color: #fff;
  padding: 60px 0;
  border-top: 1px solid #333; /* 軽く区切り線 */
  font-family: "Inter Tight", sans-serif;
}

.footer__inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* スマホでの折り返し用 */
  gap: 30px;
}

/* 左側：ロゴとコピーライト */
.footer__left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__logo {
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  letter-spacing: 1px;
}

.footer__copyright {
  font-size: 0.85rem;
  color: #888;
  margin: 0;
  text-align: left; /* 左揃え */
}

/* 右側：ナビゲーション */
.footer__nav {
  /* 必要なら幅調整 */
}

.footer__list {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.footer__link {
  text-decoration: none;
  color: #ccc;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer__link:hover {
  color: #fff;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .footer__list {
    flex-direction: column;
    gap: 15px;
  }
}
