@charset "UTF-8";


/* ==========================================================================
   1. デザインシステム・変数の定義（ガイドラインを完全反映）
   ========================================================================== */
:root {
  /* カラーパレット */
  --black-color: #111111;
  --white-color: #FFFFFF;
  --blue-color: #3B82F6;

  /* フォント指定 */
  --font-en-ttile: 'Cinzel', serif;
  --font-ja-body: 'Zen Old Mincho', serif;

  /* コンテナ幅 */
  --grid-pc: 1440px;
  --grid-sp: 390px;

  /* 文字間隔 */
  --ls-heading: 0.15em; /* 大見出し 15% */
  --ls-body: 0.016em;   /* 本文 1.6% */
  --ls-works: 0.06em;    /* メニュー 1% */

  /* 行間（ラインハイト） */
  --lh-default: 28px; 
}
.p_loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999; /* 全ての要素の最前面に配置 */
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none; /* アニメーション終了後にクリックを阻害しない */
}

/* 中央テキスト */
.p_loader__inner {
  position: relative;
  z-index: 2;
  overflow: hidden; /* 下からテキストが立ち上がる演出用 */
}

.p_loader__text {
  font-family: var(--font-en-logo, 'Cinzel', serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--white-color, #ffffff);
  letter-spacing: 0.3em;
  margin: 0;
  transform: translateY(100%); /* 初期状態は隠しておく */
  opacity: 0;
}

@media screen and (min-width: 1080px) {
  .p_loader__text {
    font-size: 32px;
  }
}

/* 上下に分割して開く幕（カーテン） */
.p_loader__curtain {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50vh;
  background-color: #0b0b0b; /* 重厚感のあるダークグレー/黒 */
  z-index: 1;
}

.p_loader__curtain--top {
  top: 0;
}

.p_loader__curtain--bottom {
  bottom: 0;
}

.l_header {
  color: var(--white-color);
  font-family: var(--font-en-ttile);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  height: 72px;
  width: 100%;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
}
@media screen and (min-width: 1080px) {
      .l_header {
    padding: 0 140px;
  }
}

.l_header-logo {
  height: 100%;
  font-size: 24px;
}

.l_header-logo_link {
  height: 100%;
  display: flex;
  align-items: center;
  color: var(--white-color);
  text-decoration: none;
}

.l_header-nav_link {
  color: var(--white-color);
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.l_header-nav_link:hover,
.l_header-nav_link:active {
  color: var(--blue-color);
}

.l_header-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    right: -100%;            /* 開く前は画面右外に隠す */
    width: 100vw;
    height: 100vh;
    background-color: var(--black-color);
    backdrop-filter: blur(8px);
    padding: 0;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9990;
  }
@media screen and (min-width: 1080px) {
    .l_header-nav {
    display: block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}
  /* ハンバーガーが開いた時 */
  .l_header-nav.is-active {
    right: 0;
  }

  .l_header-nav_list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  @media screen and (min-width: 1080px) {
    .l_header-nav_list {
    display: flex !important;
    flex-direction: row !important; /* 横並びにする */
    align-items: center;
    gap: 48px;                     /* メニュー同士の間隔 */
   }
  }

  .l_header-nav_item {
    text-align: center;
    font-size: 24px;
    letter-spacing: 0.1em;
  }
@media screen and (min-width: 1080px) {
  .l_header-nav_item {
    font-size: 16px;               /* PC用に少しすっきりさせる */
    letter-spacing: 0.05em;
    margin: 0 !important;
  }
}

.l-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 70px 0px 70px 0px;
  background-color: var(--black-color);
}

@media screen and (min-width: 1080px) {
  .l-footer {
    padding: 140px 0px 140px 0px;
  }
}

.l-footer-logo {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  background-color: var(--black-color);
}

@media screen and (min-width: 1080px) {
  .l-footer-logo {
  width: 70px;
  height: 70px;
}
}

.l-footer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.l-copyright {
  font-family: var(--font-ja-body);
  font-size: 12px;
  color: var(--white-color);
  opacity: 0.6;
  letter-spacing: 0.08em;
}
@media screen and (min-width: 1080px) {
  .l-copyright {
  font-size: 24px;
}
}

.page_top__works {
  margin-top: 140px;
  margin-bottom: 140px;
  background-color: color-mix(in srgb, var(--blue-color) 50.2%, transparent);
  font-family: var(--font-ja-body);
  color: var(--white-color);
}
@media screen and (min-width: 1080px) {
  .page_top__works {
    margin-top: 280px;
    margin-bottom: 280px;
  }
}

.page_top__works-1{
    margin-bottom: 140px;
  background-color: color-mix(in srgb, var(--blue-color) 50.2%, transparent);
  font-family: var(--font-ja-body);
  color: var(--white-color);
}

.page_top__works__inner {
  padding: 0 16px 40px;
}

@media screen and (min-width: 1080px) {
  .page_top__works__inner {
    padding: 0 140px 60px;
  }
}
/* スクロール前（初期状態）：透明 ＆ 少し下に配置 */
.page_top__works__item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 画面内に入った時に付与するクラス（ふわっと浮き出る） */
.page_top__works__item.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* カードを1枚ずつずらして出現させる（ディレイ） */
.page_top__works__item:nth-child(1) { transition-delay: 0.1s; }
.page_top__works__item:nth-child(2) { transition-delay: 0.2s; }
.page_top__works__item:nth-child(3) { transition-delay: 0.3s; }
.page_top__works__item:nth-child(4) { transition-delay: 0.4s; }
.page_top__works__item:nth-child(5) { transition-delay: 0.5s; }
.page_top__works__item:nth-child(6) { transition-delay: 0.6s; }


/* --- 📱 スマホ版：1列レイアウト --- */
.page_top__works__list {
  display: flex;
  flex-direction: column;
  gap: 48px; /* カード同士の縦間隔 */
  margin-top: 48px;
}

/* --- 💻 PC版（1080px以上）：2列グリッドレイアウト --- */
@media screen and (min-width: 1080px) {
  .page_top__works__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 👈 均等な2列 */
    column-gap: 60px; /* 左右のカード間隔 */
    row-gap: 80px;    /* 上下のカード間隔 */
    margin-top: 80px;
  }
}

/* 各カード内の画像 */
.page_top__works__featured-img-el {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page_top__works__featured-word {
  margin-top: 16px;
}

.page_top__works__featured-name {
  font-size: 16px;
  font-weight: 600;
}

@media screen and (min-width: 1080px) {
  .page_top__works__featured-name {
    font-size: 24px;
  }
}

.page_top__works__featured-sub-name {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 4px;
}

@media screen and (min-width: 1080px) {
  .page_top__works__featured-sub-name {
    font-size: 14px;
  }
}

/* VIEW MORE ボタン */
.page_top__works__more-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
}

@media (min-width: 1080px) {
  .page_top__works__more-container {
    margin-top: 60px;
  }
}

.page_top__works__more-btn {
  position: relative;
  font-family: var(--font-en-logo);
  font-size: 16px;
  color: var(--white-color);
  text-decoration: none;
  letter-spacing: 0.15em;
  padding-bottom: 8px;
  padding-right: 32px;
  border-bottom: 1px solid var(--white-color);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page_top__works__more-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 0;
  border-bottom: 1px solid var(--white-color);
  transform: rotate(45deg);
  transform-origin: bottom right;
  transition: border-color 0.3s ease;
}

.page_top__works__more-btn:hover {
  color: var(--blue-color);
  border-bottom-color: var(--blue-color);
}

.page_top__works__more-btn:hover::after {
  border-bottom-color: var(--blue-color);
}

.page_top__contact {
  background-color: color-mix(in srgb, var(--blue-color) 50.2%, transparent);
  font-size: 24px;
  margin-top: 70px;
  margin-bottom: 70px;
}



@media screen and (min-width: 1080px) {
  .page_top__contact {
    font-size: 36px;
    margin-top: 140px;
    margin-bottom: 280px;
}
}

.page_top__contact__inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 16px 30px;
}
@media screen and (min-width: 1080px) {
  .page_top__contact__inner {
    padding: 0 140px 155px;
  }
}



.page_top__contact__text {
  font-family: var(--font-ja-body);
  font-size: 14px;
  line-height: 2;
  letter-spacing: var(--ls-body);
  color: var(--color-dark);
  text-align: center;
  margin-bottom: 30px;
}

/* お問い合わせボタンレイアウト */
.page_top__contact__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}



/* ボタンの通常時スタイル */
.page_top__contact__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  height: 48px;
  background-color: var(--white-color);
  border: 1px solid var(--blue-color);
  text-decoration: none;
  font-family: var(--font-ja-body);
  font-size: 14px;
  color: var(--black-color);
  letter-spacing: 0.05em;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}


/* ボタンのホバー時（反転エフェクト） */
.page_top__contact__btn:hover {
  background-color: var(--color-brown);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.page_top__contact__btn:hover .page_top__contact__btn-icon {
  stroke: var(--color-white);
}

@media screen and (min-width: 1090px) {
  .page_top__contact__buttons {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
    transform: translateY(100%);
  }
}

/* --- 🍔 ハンバーガーボタン --- */
.m_hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 9999;
  position: relative;
}

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

.m_hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--white-color);
  position: absolute;
  left: 0;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    top 0.3s ease;
}

.m_hamburger-bar:nth-child(1) {
  top: 0;
}
.m_hamburger-bar:nth-child(2) {
  top: 9px;
}
.m_hamburger-bar:nth-child(3) {
  top: 18px;
}
.m_slider {
  position: relative;
  width: 100%;
  height: 100vh; /* 画面いっぱいに表示したい場合（お好みで調整） */
  overflow: hidden;
}

.m_slider__list {
  position: relative;
  width: 100%;
  height: 100%;
}

.m_slider__item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0; /* 最初はすべて非表示 */
  visibility: hidden;
}

/* 1枚目だけ最初に表示 */
.m_slider__item:first-child {
  opacity: 1;
  visibility: visible;
}

.m_slider__img-wrap,
.m_slider__img-wrap picture {
  width: 100%;
  height: 100%;
  display: block;
}

.m_slider__img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 縦横比を保ったまま領域いっぱいにトリミング表示 */
  display: block;
  object-position: center top;
}

.m_slider__catch {
  position: absolute;
  writing-mode: vertical-rl;
  white-space: nowrap;
  font-family: var(--font-en-ttile);
  color: var(--white-color);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  z-index: 10;
  pointer-events: none;
  margin: 0;
  padding: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  /* FIXME: 下記font-sizeをデザインカンプに合わせて変更 */
  font-size: 36px;
  /* FIXME: 下記letter-spacingをデザインカンプに合わせて変更 */
  letter-spacing: 0.15em;
  line-height: 1.3;
}
@media screen and (min-width: 1080px) {
    .m_slider__catch {
        top: 50%;
        left: 15%;
    }
}

.u_tittle{
    color: var(--white-color);
    font-size: 24px;
    font-family: var(--font-en-ttile);
    font-weight: bold;
}



@media screen and (min-width: 1080px) {
    .u_tittle{
    font-size: 32px;
    }
}

/* --- ❌ ボタンがアクティブ（開いた時）の変形 --- */
.js_hamburger.is-active .m_hamburger-bar:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}
.js_hamburger.is-active .m_hamburger-bar:nth-child(2) {
  opacity: 0;
}
.js_hamburger.is-active .m_hamburger-bar:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

/* 背景スクロール固定用クラス */
.js_body.is-active {
  overflow: hidden;
}


.c_sns-icon {
  width: 24px;
  height: 24px;
  color: #ffffff; /* 黒背景の上で一番引き締まるソリッドホワイト */
  transition: color 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

/* ホバーしたときに鮮やかなブルーへ発光するような質感 */
.c_sns-icon:hover {
  color: #3B82F6;
  transform: translateY(-3px);
  /* ほんのり青いグロー（発光）効果を追加してソリッドな質感をプラス */
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.6));
}


.about_main{
    background-color:color-mix(in srgb, var(--blue-color) 50.2%, transparent) ;
    font-family: var(--font-ja-body);
    color: #FFFFFF;
    font-size: 12px;
    margin-top: 140px;
    margin-bottom: 70px;
}
@media screen and (min-width: 1080px) {
    .about_main_txt-br{
    display: none;
    }
}
@media screen and (max-width: 390px) {
.about_main_txt-br_pc{
    display: none;
}
}
.about_main_name-main{
    font-size: 24px;
}
.about_main_job{
    position: absolute;
    right: 10%;
    transform: translate(0,-180%);
    font-size: 12px;
    z-index: 50;
}
.about_main_inner{
    padding: 16px 16px 40px;
}
@media screen and (min-width: 1080px) {
    .about_main_inner{
    padding: 90px 140px 90px;
}
}

.about_main_txt-txt{
    margin-top: 40px;
    letter-spacing: var(--ls-works);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  /* sp: 40px / pc: 90px */
  margin-top: clamp(40px, 10vw, 90px);
  gap: 8px;
}

.pagination_numbers {
  font-family: var(--font-ja-body);
  font-weight: bold;
  font-style: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px;
  background-color: var(--black-color);
  height: 40px;
  width: 40px;
  background: var(--black-color);
}

.pagination_numbers__current {
  color: var(--white-color);
  background: var(--blue-color);
}

.pagination_numbers__between {
  color: var(--white-color);
  font-family: var(--font-ja-body);
}

.pagination_numbers__next {
  position: relative;
}

.pagination_numbers__next::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--white-color);
  border-right: 1px solid var(--white-color);
  transform: rotate(45deg);
}

.c_snow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none; /* 画面のクリックやスクロールを邪魔しない */
  z-index: 90;          /* 背景より上、ローディングやメニューより下 */
  overflow: hidden;
}

/* 雪の粒子 */
.c_snow-flake {
  position: absolute;
  top: -20px;
  background-color: #ffffff;
  border-radius: 50%;
  /* ほんのり発光させて黒背景に馴染ませる */
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
  pointer-events: none;
}

/* 404 Page Styling */
.p_404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 80px;
  text-align: center;
}

.p_404__inner {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.p_404__code {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
  color: #ffffff;
}

.p_404__subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: #a0a0a0;
  margin-bottom: 30px;
}

.p_404__text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #e0e0e0;
  margin-bottom: 40px;
}

.p_404__btn-wrap {
  display: flex;
  justify-content: center;
}

.p_404__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 54px;
  border: 1px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  transition: all 0.3s ease;
}

.p_404__btn:hover {
  background-color: #ffffff;
  color: #000000;
}

@media screen and (max-width: 768px) {
  .u_pc-only {
    display: none;
  }
}