@charset "utf-8";

/* ======================
   WORK / SP stylesheet
   （max-width:768px で読み込まれる前提）
   PC用CSSに依存しない “完結版”
   ====================== */

/* ------------------ 共通 ------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html{
  overflow-y: auto;
  scrollbar-gutter: stable;
  background: linear-gradient(135deg, #000 50%, #fbfbfb 50%);
  background-attachment: fixed;
  min-height: 100%;
}

body{
  margin: 0;
  min-height: 100vh;
    font-family: "Luxurious Roman", system-ui, -apple-system,
               BlinkMacSystemFont, "Segoe UI","Noto Sans JP", sans-serif;
  background: transparent;
  color: #fff;
}

.site{
  position: relative;
  min-height: 100vh;
  z-index: 1;
  background: transparent;
}

.invert-auto{
  color: #fff;
}

/* ------------------ ヘッダー（SP） ------------------ */
/* ヘッダー全体は固定しない（タイトルはスクロールで流れる） */
.site-header{
  position: relative;
  z-index: 30;
  pointer-events: none;

  width: min(700px, 92vw);
  margin: 0 auto;
  padding-top: 14px;

  display: block;
}

/* メニューだけ固定（中央配置＋1行＋横スクロール） */
.site-header .menu{
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;

  pointer-events: auto;

  display: flex;
  flex-wrap: nowrap;
  align-items: center;          /* 文字とSNSを縦中央揃え */
  gap: 10px;

  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;

  margin: 0;
  padding: 10px 12px;
  list-style: none;

  max-width: calc(100vw - 28px);
  width: fit-content;

  background: rgba(0,0,0,.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.site-header .menu::-webkit-scrollbar{ display:none; }

/* リンク共通：高さブレ（＝下線が離れる原因）を潰す */
.site-header .menu a{
  display: inline-flex;
  align-items: center;
  line-height: 1;
  text-decoration: none;

  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,.92);
  text-shadow: 0 2px 4px rgba(0,0,0,.45);

  position: relative;
  padding: 0 0 2px;            /* 下線用に2pxだけ */
}

/* 下線：デフォルトは出さない */
.site-header .menu a::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;                   /* 離れ防止 */
  height: 1px;
  background: rgba(255,255,255,.75);
  opacity: 0;                  /* 見えない */
  transition: opacity .2s ease;
}

/* ✅ 今のページだけ下線（hoverで増えない） */
.site-header .menu a.is-current::after{
  opacity: 1;
}

/* ✅ hoverで下線は出さない（事故根絶） */
.site-header .menu a:hover::after{
  opacity: inherit;
}

/* ✅ SNSは下線対象外（HTMLを触らない版：aria-labelで判定） */
.site-header .menu a[aria-label="Instagram"]::after,
.site-header .menu a[aria-label="X"]::after{
  content: none !important;
}

/* SNSアイコン */
.site-header .menu a img{
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;

  opacity: .92;
  transition: opacity .2s ease, transform .2s ease;

  flex: 0 0 auto;
  filter: invert(1) drop-shadow(0 6px 14px rgba(0,0,0,.35));
}
.site-header .menu a:hover img{
  opacity: 1;
  transform: scale(1.06);
}

/* タイトルブロック（メニューの下で中央） */
.site-header .about-title__main{
  margin: 0 auto;
  margin-top: 86px;
  text-align: center;
  pointer-events: none;
}

.site-header .about-title__main{
  font-size: 40px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.42);
  line-height: 1.05;
  text-shadow: none;
}

.site-header .about-title__sub{
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.26);
  text-shadow: none;
  text-align: center;
}

/* ------------------ WORK レイアウト（SP） ------------------ */
.work{
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  position: relative;

  /* 固定メニューぶん、ページ先頭に余白（潜り防止） */
  padding-top: 30px;
}

/* 本文ベール（ABOUTと同じ思想） */
.work::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background:
    radial-gradient(circle at 50% 38%,
      rgba(0,0,0,.20) 0%,
      rgba(0,0,0,.08) 46%,
      rgba(0,0,0,0) 80%);
}

.work-inner{
  width: min(700px, 92vw);
  margin: 0 auto;
  padding: 40px 0 110px;
  position: relative;
  z-index: 1;
}

.work-right{
  width: 100%;
  margin: 0 auto;
}

/* イントロ */
.work-intro{
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 2.0;
  letter-spacing: 0.02em;
  opacity: 0.92;
  color: rgba(255,255,255,.95);
  text-shadow: 0 2px 4px rgba(0,0,0,.40);
  text-align: left;
}

/* セクション */
.work-group{ margin-top: 28px; }

.work-group__title{
  margin: 0 0 12px;
  font-size: 18px;
  letter-spacing: 0.16em;
  opacity: 0.94;
  color: rgba(255,255,255,.96);
  text-shadow: 0 2px 4px rgba(0,0,0,.48);
}

/* SPは1カラム */
.work-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* カード */
.work-card{
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 14px;
  overflow: hidden;

  background: rgba(0,0,0,0.16);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);

  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.work-card__thumb{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

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

.work-card__thumb.is-placeholder{
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.10);
}

.placeholder-text{
  font-size: 12px;
  letter-spacing: 0.14em;
  opacity: 0.82;
  color: rgba(255,255,255,.95);
  text-shadow: 0 2px 4px rgba(0,0,0,.40);
}

.work-card__body{
  padding: 12px 12px 14px;
}

.work-card__name{
  margin: 0 0 6px;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.95);
  text-shadow: 0 2px 4px rgba(0,0,0,.40);
}

.work-card__meta{
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0.82;
  color: rgba(255,255,255,.92);
  text-shadow: 0 2px 4px rgba(0,0,0,.35);
}

.work-card__desc{
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  opacity: 0.92;
  color: rgba(255,255,255,.95);
  text-shadow: 0 2px 4px rgba(0,0,0,.40);
}

.note{ opacity: 0.92; }

.work-card__actions{ margin-top: 12px; }

.btn-link{
  display: inline-block;
  text-decoration: none;
  letter-spacing: 0.10em;
  font-size: 13px;

  color: rgba(255,255,255,.95);
  text-shadow: 0 2px 4px rgba(0,0,0,.40);

  position: relative;
  padding-bottom: 4px;
}

.btn-link::after{
  content:"";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background: rgba(255,255,255,.88);
  transition: width .25s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.40));
}
.btn-link:hover::after{ width: 100%; }

/* ------------------ 波（SP） ------------------ */
.bg-waves{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34vh;
  min-height: 90px;
  z-index: 5;
  pointer-events: none;
}

.waves{
  width: 100%;
  height: 100%;
  display: block;
  opacity: .20;
  filter: drop-shadow(0 -10px 18px rgba(0,0,0,.33));
}

.wave{ fill:#777; }
.wave1{ opacity:.45; }
.wave2{ opacity:.30; }
.wave3{ opacity:.18; }
.wave4{ opacity:.10; }

/* ------------------
   波（SP：完全停止）
   ------------------ */
.parallax > use{
  animation: none !important;
  transform: none !important;
}
/* さらに小さい端末 */
@media (max-width: 360px){
  .page-title__main{ font-size: 34px; }
  .page-title__sub{ font-size: 12px; }

  .site-header .menu{
    padding: 9px 10px;
    gap: 8px 10px;
  }
  .site-header .menu a{ font-size: 12px; }
  .site-header .menu a img{ width: 28px; height: 28px; }
}
