@charset "utf-8";

/* ======================
   VIEWVIDEO / SP stylesheet
   （max-width:768px）
   ヘッダー＆波：CONTACT SP と同デザイン
   中身：動画をスマホ向けに最適化
   ====================== */

/* ------------------ 共通 ------------------ */
*,
*::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;
  -webkit-text-size-adjust: 100%;
}

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

/* 保険 */
.invert-auto{ color:#fff; }

/* ==================================================
   ヘッダー（CONTACT 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;
  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;
}

/* 下線：現在地だけ */
.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;
}
.site-header .menu a.is-current::after{ opacity: 1; }

/* SNSは下線対象外 */
.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: 86px auto 0;
  text-align: center;
  pointer-events: none;

  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;
}

/* ==================================================
   本文（Video Works / SP）
================================================== */
.hero{
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  position: relative;

  /* 固定メニューぶん（潜り防止） */
  padding-top: 30px;
}

/* 本文ベール（CONTACT寄せ） */
.hero::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%);
}

.hero-inner{
  width: min(700px, 92vw);
  margin: 0 auto;
  padding: 28px 0 110px;
  position: relative;
  z-index: 1;
  text-align: center;
}

/* リード（空でも高さが暴れない） */
.hero-lead{
  margin: 0 0 8px;
  min-height: 0;
  font-family: system-ui, -apple-system, "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  opacity: 0.92;
  color: rgba(255,255,255,.95);
  text-shadow: 0 2px 4px rgba(0,0,0,.45);
}

/* パネル群 */
.panels{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 10px;
}

/* ガラス風カード */
.panel{
  width: 100%;
  margin: 0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  padding: 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);

  text-align: left;
}

/* 見出し */
.panel-title{
  margin: 0 0 12px;
  font-size: 15px;
  letter-spacing: .08em;
  opacity: .95;
  color: rgba(255,255,255,.95);
  text-shadow: 0 2px 4px rgba(0,0,0,.45);
  font-weight: 800;
}

/* ここが肝：スマホは基本 1列で縦に並べる */
.panel-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 0;
}

/* 子カード */
.panel-item{
  background: rgba(255,255,255,.03);
  border-radius: 14px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
}

/* 動画共通：切らない */
.panel-item video{
  width: 100%;
  height: auto;
  display: block;

  object-fit: contain;            /* 絶対切らない */
  background: rgba(0,0,0,.55);
  border-radius: 12px;
}

/* 端末で見やすい比率 */
.panel-item.is-portrait video{ aspect-ratio: 9 / 16; }
.panel-item.is-landscape video{ aspect-ratio: 16 / 9; }

/* is-wide はSPでは意味がないので通常表示に戻す */
.panel-item.is-wide{ grid-column: auto; }

/* videoがpanel直下に来るパターン保険（将来追加したとき用） */
.panel > video{
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  background: rgba(255,255,255,.06);
  margin-bottom: 12px;
}

/* キャプション（使ってる場合のみ） */
.item-caption{
  margin-top: 10px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  opacity: 0.95;
  color: rgba(255,255,255,.95);
}

/* ==================================================
   波（CONTACT 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){
  .site-header .about-title__main{ font-size: 34px; }
  .site-header .about-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; }

  .panel{ padding: 12px; }
  .panel-title{ font-size: 14px; }
}
