@charset "UTF-8";

/* ===============================================
   1. Base Settings (全体設定)
   =============================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: 100px;
}

body {
  /* 英数字はInter、日本語はNoto Sans JP */
  font-family: "Inter", "Noto Sans JP", sans-serif;
  color: #848a93; /* 基本色：グレー */
  line-height: 1.8;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

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

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

/* 共通コンテナ（PC幅: 1300px） */
.l-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===============================================
   2. Utility Classes (PC/SP 表示切り替え用)
   =============================================== */
.u-sp-only {
  display: none !important;
}

/* ===============================================
   3. Header (PC Layout)
   =============================================== */
.l-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 990;
  padding: 30px 40px;
  transition: background-color 0.3s;
}

/* ▼ 新規追加：背景ブラー専用のレイヤー */
.l-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* 文字より後ろに */

  /* ブラー設定 */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  /* マスク設定（上部は黒＝表示、下部は透明＝非表示） */
  /* 上から60%まではハッキリ見せて、残り40%で徐々に消します */
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.l-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ロゴ (PC) */
.l-header__logo img {
  width: 320px;
  height: auto;
  display: block;
  transition: filter 0.3s;
}

.l-header__logo a {
  display: block;
}

/* 色変化アニメーションクラス */
.l-header__logo.is-color-white img {
  filter: brightness(0) invert(1);
}

/* ナビゲーション */
.l-header__nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.l-header__nav a {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #888;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
  display: inline-block;
}

.l-header__nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #666;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.l-header__nav a:hover {
  color: #333;
}

.l-header__nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.l-header__nav.is-color-white a::after {
  background-color: #fff;
}

.l-header__nav.is-color-white a {
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

/* ハンバーガーボタン（PCでは非表示） */
.c-hamburger {
  display: none;
}

/* ===============================================
   4. Hero Section
   =============================================== */
.p-hero {
  position: relative;
  width: 100%;
  height: 350vh;
}

.p-hero .l-container {
  height: 100%;
}

.p-hero__view {
  width: 100%;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

/* --- 画像エリア --- */
.p-hero__images {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  width: calc(100% - 80px);
  z-index: 5;
  transition: none;
  opacity: 1;
  visibility: visible;
}

.p-hero__img-en,
.p-hero__img-jp {
  display: block;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  animation: heroImgFadeIn 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.p-hero__img-en {
  max-width: 1075px;
  margin-bottom: 65px;
  animation-delay: 0.5s;
}

.p-hero__img-jp {
  max-width: 908px;
  margin-bottom: 0;
  animation-delay: 0.8s;
}

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

/* --- 説明文エリア --- */
.p-hero__desc {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  width: calc(100% - 80px);
  z-index: 10;
  pointer-events: none;
  margin: 0;
  padding: 0;
}

.p-hero__desc p {
  font-size: 1.5rem;
  font-feature-settings: "palt";
  letter-spacing: 0.13em;
}

.p-hero__text-line {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 2.2;
  letter-spacing: 0.05em;
  color: #848a93;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(40px);
  transition: none;
}

.p-hero__text-line.is-active {
  opacity: 1;
  transform: translateY(0);
}

.p-hero__text-line:nth-child(1) {
  transition-delay: 0s;
}
.p-hero__text-line:nth-child(2) {
  transition-delay: 0.2s;
}
.p-hero__text-line:nth-child(3) {
  transition-delay: 0.4s;
}
.p-hero__text-line:nth-child(4) {
  transition-delay: 0.6s;
}

/* ===============================================
   Hero Background Animation
   =============================================== */
.p-hero__bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  background-color: #fff;
}

.p-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: floatBlob 20s infinite ease-in-out alternate;
  mix-blend-mode: normal;
}

.p-hero__blob--1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: #e8e9eb;
  animation-duration: 25s;
}

.p-hero__blob--2 {
  bottom: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: #d8dbe0;
  animation-delay: -5s;
  animation-duration: 30s;
}

.p-hero__blob--3 {
  top: 30%;
  left: 40%;
  width: 40vw;
  height: 40vw;
  background: #f3f4f6;
  animation-delay: -10s;
  animation-duration: 22s;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate(120px, -150px) scale(1.3) rotate(20deg);
  }
  66% {
    transform: translate(-100px, 100px) scale(0.8) rotate(-10deg);
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
}

/* --- スクロール表示 --- */
.c-scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: #848a93;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  opacity: 1;
  visibility: visible;
}

.c-scroll-down.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.c-scroll-down span {
  display: block;
  margin-bottom: 10px;
}

.c-scroll-down__line {
  width: 1px;
  height: 60px;
  background-color: #848a93;
  margin: 0 auto;
  animation: scrollLine 2s infinite;
  transform-origin: top;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ===============================================
   5. MISSION / VISION / VALUES Section
   =============================================== */
.p-mission {
  position: relative;
  background-color: transparent;
  z-index: 20;
  margin-top: -100vh;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #848a93;
  padding-top: 120px;
  padding-bottom: 120px;
  text-align: center;
  transition: background-color 0.8s ease, color 0.8s ease;
  z-index: 1;
}

.p-mission.is-dark-skin {
  background-color: #848a93;
  color: #fff;
}

.p-mission__title {
  font-family: "Inter", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 100px;
  letter-spacing: 0;
}
.p-mission__title span {
  font-weight: 100;
  margin: 0 0.2em;
  opacity: 0.8;
}

.p-mission__sub-title {
  font-family: "Inter", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0;
  letter-spacing: 0;
}

.p-mission__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  font-feature-settings: "palt";
  letter-spacing: 0.1em;
}

.p-mission__block {
  margin-bottom: 80px;
}
.p-mission__values {
  margin-top: 60px;
}

.p-mission__list {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 10px;
  flex-wrap: wrap;
}

.p-mission__item {
  width: 235px;
  text-align: center;
}

.p-mission__icon {
  width: 235px;
  height: 150px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.p-mission__icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.p-mission__item-title {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 0;
}

.p-mission__item-desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  font-feature-settings: "palt";
  letter-spacing: 0.1em;
}

/* ===============================================
   6. WORKS Section (PC)
   =============================================== */
.p-works {
  background-color: transparent;
  padding: 200px 0;
  text-align: center;
}

.p-works__title {
  font-family: "Inter", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: 0;
  color: #848a93;
}

.p-works__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 36px;
  margin-bottom: 60px;
  color: #848a93;
  letter-spacing: 0;
}

.p-works__btn-area {
  width: 280px;
  height: 60px;
  margin: 40px auto 0;
}

.c-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: #848a93;
  color: #fff;
  border-radius: 5px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.c-btn:hover {
  background-color: #fff;
  color: #848a93;
  opacity: 1;
}

/* ===============================================
   7. SERVICE Section
   =============================================== */
.p-service {
  position: relative;
  background-color: transparent;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #848a93;
  padding: 120px 0;
  transition: background-color 0.8s ease, color 0.8s ease;
  z-index: 1;
}

.p-service.is-dark-skin {
  background-color: #848a93;
  color: #fff;
}

.p-service.is-dark-skin .p-service__item-en {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.p-service.is-dark-skin .p-service__tags li {
  background-color: #fff;
  color: #848a93;
  border-color: #fff;
}

.p-service__title {
  font-family: "Inter", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: 0;
  text-align: center;
}

.p-service__lead {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 44px;
  text-align: center;
  margin-bottom: 100px;
  letter-spacing: 0;
}

.p-service__list {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
}

.p-service__item {
  width: 32%;
}

.p-service__item-en {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #848a93;
  border-bottom: 1px solid #848a84;
  transition: border-color 0.8s ease, color 0.8s ease;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.p-service__item-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 35px;
  margin-bottom: 20px;
  font-feature-settings: "palt";
}

.p-service__item-desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 32px;
  margin-bottom: 20px;
  font-feature-settings: "palt";
}

.p-service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.p-service__tags li {
  height: 25px;
  background-color: #fff;
  border: 1px solid #848a93;
  border-radius: 2px;
  color: #848a93;
  transition: all 0.8s ease;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  padding-bottom: 1px;
  line-height: 1;
}

/* ===============================================
   8. Footer (PC)
   =============================================== */
.l-footer {
  background-color: transparent;
  padding: 60px 0 40px;
  color: #848a93;
  text-align: center;
}

.l-footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 0;
}

.l-footer__heading {
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  width: 100%;
  text-align: center;
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 40px;
}

.l-footer__info {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

.l-footer__info-jp {
  list-style: none;
  margin: 0 0 10px 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2em;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
}

.l-footer__info-en {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.9;
}

.l-footer__action {
  width: 100%;
  text-align: center;
}

.l-footer__action-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 2;
  margin-bottom: 30px;
}

.l-footer__btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 280px;
  height: 60px;
  background-color: #848a93;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.l-footer__btn:hover {
  background-color: #fff;
  color: #848a93;
  opacity: 1;
}

.l-footer__bottom {
  width: 100%;
  margin-top: 80px;
  padding: 0 40px;
  box-sizing: border-box;
}

.l-footer__copy {
  display: block;
  text-align: right;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: #848a93;
  margin-bottom: 10px;
  margin-top: 0;
}

.l-footer__big-logo {
  width: 100%;
  line-height: 0;
}
.l-footer__big-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.l-footer__links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 30px;
  width: 100%;
  margin-bottom: 20px;
}

.l-footer__utility,
.l-footer__copy {
  text-align: left;
  margin: 0;
}

.l-footer__utility {
  margin-bottom: 0;
  line-height: 1;
}

.l-footer__utility a {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #888;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
  display: inline-block;
}

.l-footer__utility a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #333;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.l-footer__utility a:hover {
  color: #333;
}
.l-footer__utility a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ===============================================
   Page Top Button
   =============================================== */
.c-page-top {
  position: fixed;
  right: 40px;
  bottom: 30px;
  left: auto;
  transform: none;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #848a93;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease, color 0.3s ease;
}

.c-page-top.is-active {
  opacity: 1;
  visibility: visible;
}

.c-page-top__line {
  width: 1px;
  height: 60px;
  background-color: #848a93;
  transition: background-color 0.3s ease;
  animation: scrollLineUp 2s infinite;
  transform-origin: bottom;
}

@keyframes scrollLineUp {
  0% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
  50% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  51% {
    transform: scaleY(1);
    transform-origin: top;
  }
  100% {
    transform: scaleY(0);
    transform-origin: top;
  }
}

.c-page-top.is-color-white {
  color: #fff;
}
.c-page-top.is-color-white .c-page-top__line {
  background-color: #fff;
}

/* ===============================================
   Animation / Loader
   =============================================== */
.u-fade-up,
.u-fade-up--strict {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.u-fade-up.is-in-view,
.u-fade-up--strict.is-in-view {
  opacity: 1;
  transform: translateY(0);
}

.u-fade-up:nth-child(1),
.u-fade-up--strict:nth-child(1) {
  transition-delay: 0s;
}
.u-fade-up:nth-child(2),
.u-fade-up--strict:nth-child(2) {
  transition-delay: 0.2s;
}
.u-fade-up:nth-child(3),
.u-fade-up--strict:nth-child(3) {
  transition-delay: 0.4s;
}
.u-fade-up:nth-child(4),
.u-fade-up--strict:nth-child(4) {
  transition-delay: 0.6s;
}
.u-fade-up:nth-child(5),
.u-fade-up--strict:nth-child(5) {
  transition-delay: 0.8s;
}

.c-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.c-loader__logo {
  width: 600px;
  max-width: 100%;
  padding: 0 20px;
}

.c-loader__logo svg {
  overflow: visible;
  width: 100%;
  height: auto;
}

.c-loader__logo svg path,
.c-loader__logo svg line,
.c-loader__logo svg rect,
.c-loader__logo svg circle,
.c-loader__logo svg polygon {
  stroke: #848a93;
  stroke-width: 0.5px;
  fill: #848a93;
  fill-opacity: 0;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: drawStroke 3s ease-in-out forwards;
}

@keyframes drawStroke {
  0% {
    stroke-dashoffset: 120;
    fill-opacity: 0;
    stroke: #848a93;
  }
  85% {
    stroke-dashoffset: 0;
    fill-opacity: 0;
    stroke: #848a93;
  }
  100% {
    stroke-dashoffset: 0;
    fill-opacity: 1;
    stroke: #848a93;
  }
}

.c-loader.is-loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ===============================================
   Privacy Policy Page
   =============================================== */
.p-privacy {
  padding-top: 150px;
  padding-bottom: 40px;
}

.p-privacy__title {
  font-family: "Inter", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 80px;
  color: #848a93;
}

.p-privacy__content {
  max-width: 800px;
  margin: 0 auto;
  font-family: "Noto Sans JP", sans-serif;
  color: #848a93;
}

.p-privacy__lead {
  margin-bottom: 60px;
  line-height: 2;
}

.p-privacy__content dl {
  display: block;
}

.p-privacy__content dt {
  font-weight: 700;
  font-size: 1.125rem;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

.p-privacy__content dd {
  font-size: 0.9375rem;
  line-height: 2;
  margin-left: 0;
}

.p-privacy__btn {
  width: 280px;
  height: 60px;
  font-size: 1.125rem;
  margin-top: 20px;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #848a93;
  color: #fff;
  border-radius: 5px;
  font-weight: 700;
  border: 1px solid #848a93;
  transition: all 0.3s ease;
}
.p-privacy__btn:hover {
  background-color: #fff;
  color: #848a93;
}

/* ===============================================
   WORKS Page (PC/SP Common)
   =============================================== */
.p-works-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  /* transition: opacity 0.5s ease, visibility 0.5s ease; */
  transition: none;
}

.p-works-bg__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(60, 60, 60, 0.95);
}

.p-works-bg__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: left top;
  background-size: cover;
  background-repeat: no-repeat;
  /* transition: background-image 0.3s ease; */
  transition: none;
}
.p-works-bg__image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}

body.is-works-hover .p-works-bg {
  opacity: 1;
  visibility: visible;
}

.p-works-page {
  padding-top: 150px;
  padding-bottom: 100px;
  min-height: 100vh;
  transition: color 0.3s ease;
}

.p-works-page .l-container {
  max-width: none;
  margin: 0;
  width: 100%;
}

body.is-works-hover .p-works-page {
  color: #fff;
}

.p-works-page__title {
  font-family: "Inter", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: 0;
  color: inherit;
}

.p-works-list {
  list-style: none;
  padding: 0;
  margin: 0;
  /* ▼ 幅自体を20px引くことで、右側の空白部分をマウス反応エリアから除外 */
  width: 25.1vw;
  padding-right: 20px;
  min-width: auto;
  color: #000;
  transition: color 0.3s ease;
  pointer-events: none;
}

body.is-works-hover .p-works-list {
  color: #fff;
}

.p-works-list__item {
  border-bottom: none;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
  margin-bottom: 0;
  padding-bottom: 0;
  pointer-events: auto;
}

/* カレント表示の設定 */
.p-works-list__item.is-current {
  transform: translateX(20px);

  /* 修正：li自体のマウス反応は「有効（auto）」に戻します（JSで検知するため） */
  pointer-events: auto;
}

/* 修正：クリック無効化はリンク（aタグ）の方で行います */
.p-works-list__item.is-current .p-works-list__link {
  pointer-events: none;
  cursor: default;
}

/* --- 「is-current」をホバー中の特別な表示設定 --- */
/* 1. 背景の黒いオーバーレイを消す */
body.is-hovering-current .p-works-bg {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* 2. 右側のギャラリー（画像）を表示させる */
body.is-hovering-current .p-detail-gallery {
  opacity: 1 !important;
}

/* 3. リストの文字色を黒に戻す */
body.is-hovering-current .p-works-list {
  color: #000 !important;
}

/* 4. ロゴやナビゲーションの色反転も解除 */
body.is-hovering-current .l-header__logo img,
body.is-hovering-current .l-footer__big-logo img {
  filter: none !important;
}
body.is-hovering-current .l-header__nav a,
body.is-hovering-current .l-footer__utility a,
body.is-hovering-current .l-footer__copy {
  color: #848a93 !important; /* 元のグレーに戻す */
}

.p-works-list__link {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  color: inherit;
  text-decoration: none;
  padding-bottom: 10px;
}

.p-works-list__name {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  margin-right: 20px;
  min-width: 0;
}

.p-works-list__num {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: inherit;
  opacity: 0.8;
  flex-shrink: 0;
}

/* 反転設定 */
body.is-works-hover .l-header__logo img,
body.is-works-hover .l-footer__big-logo img {
  filter: brightness(0) invert(1);
}
body.is-works-hover .l-header__nav a,
body.is-works-hover .l-footer__utility a,
body.is-works-hover .l-footer__copy {
  color: #fff;
}
body.is-works-hover .l-header__nav a::after,
body.is-works-hover .l-footer__utility a::after {
  background-color: #fff;
}
body.is-works-hover .c-hamburger span {
  background-color: #fff !important;
}

/* ===============================================
   WORKS Detail Page (PC Layout)
   =============================================== */
.p-detail-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

.p-detail-left {
  position: fixed;
  top: 0;
  left: 40px;
  width: 25.1vw;
  height: 100vh;
  z-index: 50;
  pointer-events: auto;
}

.p-detail-info {
  position: absolute;
  top: 345px;
  left: 0;
  width: 100%;
  padding-right: 20px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 50px,
    rgba(255, 255, 255, 1) calc(100% - 50px),
    rgba(255, 255, 255, 0) 100%
  );
  padding-top: 50px;
  padding-bottom: 50px;
  z-index: 20;
  transition: opacity 0.4s ease 0.2s, visibility 0.4s ease 0.2s;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.p-detail-info__title-wrap {
  pointer-events: none;
  padding: 0;
  color: #000;
}

.p-detail-info__meta {
  margin-top: 20px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #000;
}

.p-detail-list-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% + 60px);
  padding-right: 30px;
  height: 100vh;
  padding-top: 150px;
  overflow-y: auto;
  overscroll-behavior: contain;
  pointer-events: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 150px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 10;
}
.p-detail-list-overlay::-webkit-scrollbar {
  display: none;
}

.p-detail-gallery {
  margin-left: calc(40px + 25.1vw + max(13.1vw, 140px));
  padding-top: 345px;
  padding-bottom: 150px;
  padding-right: 40px;
  display: flex;
  flex-direction: column;
  transition: opacity 0.3s ease;
}

.p-detail-gallery__item {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: 20px;
}

/* 表示切り替え */
body.is-show-list .p-detail-list-overlay {
  opacity: 1;
  visibility: visible;
}
body.is-show-list .p-detail-info {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0s, visibility 0s;
}
body.is-show-list .p-detail-gallery {
  opacity: 0;
}
body.is-works-hover .p-works-page__title {
  color: #fff;
  transition: color 0.3s ease;
}
body.is-scrolled-end .p-detail-list-overlay {
  opacity: 0.3;
  visibility: visible;
  pointer-events: none;
  z-index: 10;
}
body.is-show-list .p-detail-list-overlay {
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 30;
}

/* WORKS Footer Adjustment (PC) */
body.is-detail-page .l-footer__bottom,
body.is-works-index .l-footer__bottom {
  display: flex !important;
  justify-content: flex-end !important;
  width: 100%;
  margin-top: 0;
  padding-right: 40px;
  padding-left: 0;
  padding-bottom: 0;
  box-sizing: border-box;
}

/* ===============================================
   9. Smartphone / Responsive (Max-width: 768px)
   =============================================== */
@media screen and (max-width: 768px) {
  /* --- Utility --- */
  .u-pc-only {
    display: none !important;
  }
  .u-sp-only {
    display: block !important;
  }

  /* --- Base --- */
  .l-container {
    padding: 0 20px;
  }
  html {
    scroll-padding-top: 60px;
  }
  .c-loader__logo {
    width: 80%;
    margin: 0 auto;
  }

  /* --- Header / Nav --- */
  .l-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    padding: 0;
    background-color: transparent;
    /* backdrop-filter: blur(5px); */
    /* -webkit-backdrop-filter: blur(5px); */
  }
  .l-header__logo {
    position: fixed; /* ★重要：これを復活させてください */
    top: 20px; /* 上から20px */
    left: 15px; /* 左から20px */
    z-index: 1000; /* ハンバーガーボタンと同じ最前面 */

    width: 210px;
    margin: 0;
    line-height: 1;
  }

  /* Hamburger */
  .c-hamburger {
    display: block;
    top: 6px;
    right: 11px;
    position: fixed;
    z-index: 1000;
    width: 48px;
    height: 48px;
    background-color: transparent;
    border: none;
  }
  .c-hamburger span {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: #848a93;
    transition: 0.3s;
  }
  .c-hamburger span:nth-child(1) {
    top: 14px;
  }
  .c-hamburger span:nth-child(2) {
    top: 23px;
  }
  .c-hamburger span:nth-child(3) {
    top: 32px;
  }

  .c-hamburger.is-active span {
    background-color: #fff;
  }
  .c-hamburger.is-active span:nth-child(1) {
    top: 23px;
    transform: translateX(-50%) rotate(45deg);
  }
  .c-hamburger.is-active span:nth-child(2) {
    opacity: 0;
  }
  .c-hamburger.is-active span:nth-child(3) {
    top: 23px;
    transform: translateX(-50%) rotate(-45deg);
  }
  .c-hamburger.is-color-white span {
    background-color: #fff !important;
  }

  /* SP Nav */
  .l-header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background-color: #848a93;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.3s;

    /* Flex設定 */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* 上詰め */
    align-items: center;

    margin: 0 !important;
    padding: 0 !important; /* コンテナの余白は一旦ゼロにします */

    /* 中身が多い場合にスクロールできるようにする */
    overflow-y: auto;
  }

  .l-header__nav.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .l-header__nav ul {
    flex-direction: column;
    gap: 40px;
    text-align: center;

    /* ▼▼▼ 修正：リスト自体に上部の余白を持たせます ▼▼▼ */
    margin-top: 140px !important;
    padding-bottom: 40px;
  }
  .l-header__nav a {
    font-size: 1.2rem;
    color: #fff;
  }

  /* --- Hero --- */
  .p-hero {
    height: 350vh;
  }
  .p-hero__view {
    height: 100dvh;
    padding-top: 0;

    /* コンテナのpadding(20px)を打ち消して画面端まで広げる */
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
  }
  .p-hero__images {
    left: 0;
    width: 100%;

    /* ここで本来の余白(20px)を作る */
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box; /* paddingを含めた幅計算にする */
  }
  .p-hero__img-en {
    margin-bottom: 30px;
  }
  .p-hero__img-jp {
    margin-bottom: 0;
  }
  .p-hero__img-jp .u-sp-only {
    width: 100%;
    height: auto;
  }

  .p-hero__desc {
    position: absolute;
    top: 53%;
    left: 20px;
    transform: translateY(-50%);
    width: calc(100% - 40px);
    margin: 0;
    padding: 0;
  }
  .p-hero__desc p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
  }
  .p-hero__text-line {
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 1.5em;
  }

  /* Scroll Down */
  .c-scroll-down {
    bottom: 20px;
    font-size: 0.625rem;
    left: auto;
    right: 0;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
  .c-scroll-down span {
    writing-mode: vertical-rl;
    margin-bottom: 0;
    letter-spacing: 0.15em;
  }
  .c-scroll-down__line {
    height: 40px;
    margin: 0;
  }

  /* Blobs */
  .p-hero__blob {
    mix-blend-mode: normal;
    filter: blur(60px);
    opacity: 0.4;
  }
  @keyframes floatBlob {
    0% {
      transform: translate(0, 0) scale(1);
    }
    33% {
      transform: translate(50px, -60px) scale(1.1);
    }
    66% {
      transform: translate(-40px, 40px) scale(0.9);
    }
    100% {
      transform: translate(0, 0) scale(1);
    }
  }

  /* --- Mission --- */
  .p-mission {
    padding-top: 50px;
    padding-bottom: 60px;
    margin-top: -100vh;
  }
  .p-mission__title {
    text-align: left;
    font-size: 1.875rem;
    margin-bottom: 30px;
    line-height: 1.4;
  }
  .p-mission__sub-title {
    font-size: 1.5rem;
    text-align: left;
  }
  .p-mission__text {
    text-align: left;
    font-size: 1.0625rem;
    line-height: 28px;
  }
  .p-mission__block {
    margin-bottom: 40px;
  }
  .p-mission__list {
    flex-direction: column;
    gap: 30px;
  }

  .p-mission__item {
    width: 100%;
    display: flex;
    align-items: center;
    text-align: left;
    margin-bottom: 0;
  }
  .p-mission__icon {
    width: 100px;
    height: 100px;
    margin: 0;
    margin-right: 15px;
    flex-shrink: 0;
    border-radius: 4px;
  }
  .p-mission__icon img {
    max-width: 80%;
    max-height: 80%;
  }
  .p-mission__item-title {
    font-size: 0.875rem;
    margin-bottom: 0;
  }
  .p-mission__item-desc {
    font-size: 1rem;
    line-height: 1.5;
  }

  /* --- Works --- */
  .p-works {
    padding: 60px 0;
    text-align: left;
  }
  .p-works__title {
    font-size: 1.875rem;
    margin-bottom: 10px;
    text-align: left;
  }
  .p-works__text {
    text-align: left;
    font-size: 0.875rem;
    line-height: 24px;
    margin-bottom: 30px;
  }
  .p-works__btn-area {
    width: 260px;
    max-width: 100%;
    margin: 0 auto;
  }

  /* --- Service --- */
  .p-service {
    padding-top: 50px;
    padding-bottom: 60px;
  }
  .p-service__title {
    text-align: left;
    font-size: 1.875rem;
    margin-bottom: 10px;
  }
  .p-service__lead {
    text-align: left;
    font-size: 1.125rem;
    line-height: 32px;
    margin-bottom: 40px;
  }
  .p-service__list {
    display: block;
  }
  .p-service__item {
    width: 100%;
    margin-bottom: 50px;
  }
  .p-service__item-en {
    font-size: 0.875rem;
    padding-bottom: 5px;
    margin-bottom: 10px;
  }
  .p-service__item-jp {
    font-size: 1.125rem;
    margin-bottom: 10px;
    line-height: 1.6;
  }
  .p-service__item-desc {
    font-size: 0.875rem;
    line-height: 28px;
  }

  /* --- Privacy --- */
  .p-privacy {
    padding-top: 100px;
  }
  .p-privacy__title {
    font-size: 1.75rem;
    margin-bottom: 40px;
  }
  .p-privacy__content dt {
    font-size: 1rem;
  }
  .p-privacy__btn {
    display: flex;
    margin: 20px auto 0;
  }

  /* --- Page Top --- */
  .c-page-top {
    gap: 5px;
    font-size: 0.625rem;
    right: 10px;
    bottom: 20px;
  }
  .c-page-top__line {
    height: 40px;
  }

  /* --- Main Footer --- */
  .l-footer {
    padding-top: 50px;
    padding-bottom: 20px;
  }
  .l-footer__top {
    display: block;
  }
  .l-footer__heading,
  .l-footer__info,
  .l-footer__action {
    width: 100%;
  }
  .l-footer__heading {
    margin-bottom: 20px;
  }
  .l-footer__info {
    margin-bottom: 40px;
  }
  .l-footer__action {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 40px;
  }
  .l-footer__big-logo {
    width: 100%;
    display: block;
    margin-top: 10px;
  }
  .l-footer__big-logo img.u-fade-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .l-footer__info-jp {
    flex-direction: column;
    gap: 0;
    line-height: 1.8;
    margin-bottom: 15px;
  }
  .l-footer__links {
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
  }
  .l-footer__utility,
  .l-footer__copy {
    text-align: center;
  }
  .l-footer__action-text {
    margin-bottom: 20px;
  }

  .l-footer__bottom {
    padding: 0 20px;
  }

  /* =========================================
       WORKS Page / Detail Page (SP Override)
       ========================================= */

  /* --- WORKS一覧ページ --- */
  .p-works-page {
    padding-top: 100px;
    padding-bottom: 80px;
    position: relative;
    z-index: 10;
  }
  .p-works-page__title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  .p-works-list {
    width: 100%;
    min-width: auto;
  }
  /* リストリンク無効化（誤タップ防止） */
  .p-works-list__link {
    pointer-events: none;
  }

  /* リスト文字調整 (ご要望の最終設定) */
  html body .p-works-list__name,
  html body .p-works-list__num {
    font-size: 13px !important;
    letter-spacing: 0 !important;
    line-height: 1.5 !important;
  }

  /* 背景画像エリア */
  .p-works-bg {
    display: block !important;
    z-index: 1; /* コンテンツ(10)の下、フッター(20)の下 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
  }
  body.is-works-hover .p-works-bg {
    opacity: 1;
    visibility: visible;
  }

  .p-works-bg__image {
    background-position: center center !important; /* 中央寄せ */
    background-size: auto 100% !important;
  }

  /* フィルター（黒の透かし） */
  .p-works-bg__image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3) !important; /* 画像上の黒 */
    display: block;
  }
  .p-works-bg__overlay {
    background-color: rgba(60, 60, 60, 0.9); /* 画像なし時の黒グレー */
  }

  /* リストのフォーカス演出 */
  .p-works-list {
    color: #000;
    transition: opacity 0.3s;
  }
  body.is-works-hover .p-works-list__item {
    opacity: 0.3;
    transition: opacity 0.3s;
  }
  body.is-works-hover .p-works-list__item.is-active {
    opacity: 1;
  }
  body.is-works-hover .p-works-list,
  body.is-works-hover .p-works-page,
  body.is-works-hover .p-works-page__title {
    color: #fff !important;
  }

  /* --- WORKS詳細ページ (SP) --- */

  /* 左側エリア（詳細情報）の固定解除 */
  .p-detail-left {
    position: relative;
    left: 0;
    width: 100%;
    height: auto;
    padding: 0; /* padding 0 に修正 */
    margin-bottom: 40px;
    pointer-events: auto;
  }
  /* 詳細情報の位置リセット */
  .p-detail-info {
    position: relative;
    top: 0 !important;
    margin-top: 120px;
    left: 0;
    width: 100%;
    padding: 0 20px; /* ここで20px余白確保 */
    background: none;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .p-detail-info__meta {
    margin-top: 15px;
  }
  .p-detail-list-overlay {
    display: none !important;
  }

  /* 画像ギャラリー（100%幅・マージン2px） */
  .p-detail-gallery {
    margin-left: 0;
    padding-top: 60px;
    padding-right: 0; /* 右余白なし */
    padding-left: 0; /* 左余白なし */
    padding-bottom: 80px;
    display: block;
  }
  .p-detail-gallery__item {
    width: 100%;
    height: auto;
    margin-bottom: 2px; /* 隙間2px */
  }

  /* --- WORKS フッター (SP) --- */
  body.is-detail-page .l-footer,
  body.is-works-index .l-footer {
    position: relative;
    z-index: 20; /* 最前面 */
    padding-top: 0;
    padding-bottom: 20px; /* 余白20px */
  }
  body.is-detail-page .l-footer__bottom,
  body.is-works-index .l-footer__bottom {
    justify-content: flex-start !important; /* 左寄せ */
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 0;
  }
  body.is-detail-page .l-footer__copy,
  body.is-works-index .l-footer__copy {
    text-align: left;
    font-size: 13px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1;
  }
  /* 背景表示時は白文字 */
  body.is-works-hover .l-footer__copy {
    color: #fff;
  }

  /* --- フッターロゴの幅調整 (SP) --- */
  /* index.html と privacy.html のフッターロゴを強制的に100%幅にします */
  .l-footer__big-logo {
    width: 100% !important;
    max-width: none !important;
    margin-top: 20px;
  }

  .l-footer__big-logo img {
    width: 100% !important;
    height: auto !important;
  }
}

/* --- オープニングアニメーション用スタイル --- */

/* アニメーション中はスクロールさせない */
body.is-opening-locked {
  overflow: hidden;
}

/* 演出用のオーバーレイコンテナ（画面全体を覆う） */
.c-opening-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999; /* 最前面 */
  pointer-events: none; /* クリック無効 */
  visibility: hidden;
  background-color: #fff; /* 背景色（必要なら変更） */
}

/* オーバーレイが表示されている時 */
.c-opening-overlay.is-active {
  visibility: visible;
}

/* パラパラ表示する画像の設定 */
.c-opening-overlay__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像をトリミングして画面いっぱいに */
  opacity: 0;
}

/* 画像を表示する時のクラス */
.c-opening-overlay__image.is-visible {
  opacity: 1;
}

/* 最後の1枚（メイン画像）が定位置に戻るアニメーション */
.c-opening-overlay__image.is-animating-to-position {
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1); /* イージング設定 */
  /* ここで width, height, top, left がJSによって書き換えられます */
}

/* ===============================================
   Detail Pagination (画像下の前後リンク：固定配置版)
   =============================================== */
.p-detail-pagination {
  /* ▼▼▼ 修正：FlexboxからGridに変更 ▼▼▼ */
  display: grid;
  /* 左(残り全て)・中央(文字幅)・右(残り全て) の3カラム構成 */
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  width: 100%;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.p-detail-pagination__link {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #848a93;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
  letter-spacing: 0.05em;
  line-height: 1;
}

.p-detail-pagination__link:hover {
  color: #000;
  opacity: 0.7;
}

/* ▼▼▼ 追加：各リンクの配置場所を固定 ▼▼▼ */

/* 左（前の記事）: 1列目・左寄せ */
.p-detail-pagination__prev {
  grid-column: 1;
  justify-self: start;
}

/* 中央（ALL）: 2列目・中央寄せ */
.p-detail-pagination__index {
  grid-column: 2;
  justify-self: center;
}

/* 右（次の記事）: 3列目・右寄せ */
.p-detail-pagination__next {
  grid-column: 3;
  justify-self: end;
}

/* スマホ表示時の調整 */
@media screen and (max-width: 768px) {
  .p-detail-pagination {
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
    width: auto;
    padding-left: 0;
    padding-right: 0;
    border-top: 1px solid #ddd;
    padding-top: 20px;
  }

  .l-header::before {
    display: none !important;
    content: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}
