@charset "utf-8";

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

html{
  overflow-y: scroll;
  scrollbar-gutter: stable;

  /* 斜め2トーン（WORKと同じ） */
  background: linear-gradient(135deg, #000 50%, #fbfbfb 50%);
  background-attachment: fixed;
  min-height: 100%;
}

body{
  margin: 0;
  min-height: 100vh;
  font-family: 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;
  font-family: "Luxurious Roman", sans-serif;
}

/* ------------------ ヘッダー（左：タイトル / 右：メニュー） ------------------ */
.site-header{
  position: fixed;
  top: 50px;
  left: 28px;
  right: 28px;
  z-index: 20;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  pointer-events: none;
}
.site-header .page-title{ pointer-events: none; }
.site-header .menu{ pointer-events: auto; }

/* 右上メニュー背面の暗いもや */
.site-header::after{
  content:"";
  position: fixed;
  top: 0;
  right: 0;
  width: min(520px, 56vw);
  height: 160px;
  pointer-events: none;
  z-index: -1;

  background:
    radial-gradient(circle at 78% 32%,
      rgba(0,0,0,.22) 0%,
      rgba(0,0,0,.11) 46%,
      rgba(0,0,0,0) 76%);
}

/* タイトル */
.about-title__main{
  font-size: 70px;
  line-height: 1.05;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  text-shadow: none;
}
.about-title__sub{
  margin-top: 10px;
  font-size: 22px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.28);
  text-shadow: none;
}

/* ------------------ MENU（文字＋SNS） ------------------ */
.menu{
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.menu a{
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.12em;

  color: rgba(0,0,0,.75);
  position: relative;
  padding-bottom: 6px;
  display: inline-block;

  text-shadow: 0 1px 3px rgba(0,0,0,.40);
}

/* 下線（SNS以外）: has()使える環境 */
.menu a:not(:has(img))::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  width:0%;
  height:1px;

  background: rgba(0,0,0,.65);
  transform: translateX(-50%);
  transition: width .3s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.menu a:not(:has(img)):hover::after{ width:100%; }
.menu a.is-current:not(:has(img))::after{ width:100%; }

/* Safari古め保険：SNSは is-icon 付ける */
.menu a.is-icon{ padding-bottom: 0; }
.menu a.is-icon::after{ content: none !important; }

.menu a:has(img){ padding-bottom: 0; }
.menu a:has(img)::after{ content:none; }

.menu a img{
  width: 45px;
  height: 45px;
  display: block;
  object-fit: contain;
  opacity: .86;
  transform: translateY(1px);
  transition: opacity .2s ease, transform .2s ease;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.32));
}
.menu a:hover img{
  opacity: 1;
  transform: translateY(1px) scale(1.06);
}

/* ------------------ メイン（中央ベール＋余白） ------------------ */
.hero{
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

/* 本文ブロック背面の薄ベール（WORKと同じ思想） */
.hero::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background:
    radial-gradient(circle at 52% 46%,
      rgba(0,0,0,.28) 0%,
      rgba(0,0,0,.14) 42%,
      rgba(0,0,0,0) 74%);
}

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

.hero-lead{
  margin: 0 0 26px;
  font-family: system-ui, -apple-system, "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 2.0;
  letter-spacing: 0.03em;
  opacity: 0.92;
  color: rgba(255,255,255,.95);
  text-shadow: 0 2px 4px rgba(0,0,0,.40);
}

/* ガラス風カード例（WORKカードの雰囲気） */
.panel{
  width: min(760px, 92vw);
  margin: 0 auto;
  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);

  padding: 18px 18px 20px;
  text-align: left;
  margin-bottom: 50px;
}

.panel a{
  display: block;
  margin-bottom: 14px; /* 画像とタイトルの間 */
}

.panel img{
  width: 100%;
  aspect-ratio: 16 / 9;   /* 1920x1080想定 */
  height: auto;
  object-fit: contain;    /* ←見切れない */
  display: block;

  background: rgba(255,255,255,.06); /* 余白が出た時の背景 */
  border-radius: 10px;
}

.panel-title{
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: 0.18em;
  opacity: 0.92;
  color: rgba(255,255,255,.95);
  text-shadow: 0 2px 4px rgba(0,0,0,.48);
}

.panel-text{
  margin: 0;
  font-family: system-ui, -apple-system, "Noto Sans JP", sans-serif;
  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);
}

/* 下線リンク（WORKの btn-link） */
.btn-link{
  display: inline-block;
  margin-top: 12px;
  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%; }

/* panelの中の画像ギャラリー */
.panel-images{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;              /* ← 少し広め */
  margin-bottom: 20px;
}

.panel-images img{
  display: block;
  width: auto;      /* ← 100% をやめる */
  max-width: 100%;  /* ← はみ出し防止だけ */
  height: auto;     /* ← 縦は画像任せ */
  border-radius: 12px;
}
.panel.banner{
  padding: 24px;   /* ← 今より小さく */
}
.panel.panel--banner{
  width: min(1100px, 96vw);   /* ← 760pxの縛りを解除してデカく */
  padding: 28px 28px 32px;    /* ← 余白も少しだけ増やす（見栄え） */
}

/* バナー画像は「枠いっぱい」に広げる（ここが最重要） */
.panel.panel--banner .panel-images img{
  width: 100%;    /* ← auto をやめる。これで一気に大きくなる */
  max-width: 100%;
  height: auto;
  display: block;
}

/* さらに見やすく：画像の高さが揃うようにしたいなら（任意） */
.panel.panel--banner .panel-images img{
    width: 100%;
    height: auto;
  aspect-ratio: 16 / 9;   /* バナーが同じ比率ならおすすめ */
  object-fit: contain;      /* 余白を作らず“ドン”と見せる */
  border-radius: 12px;
}
/* ------------------ 波（WORKと同じ） ------------------ */
.bg-waves{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40vh;
  min-height: 120px;
  z-index: 5;
  pointer-events: none;
}

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

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

.parallax > use{
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1){ animation-delay:-2s; animation-duration:7s; }
.parallax > use:nth-child(2){ animation-delay:-3s; animation-duration:10s; }
.parallax > use:nth-child(3){ animation-delay:-4s; animation-duration:13s; }
.parallax > use:nth-child(4){ animation-delay:-5s; animation-duration:20s; }

@keyframes move-forever{
  0%{ transform: translate3d(-90px,0,0); }
  100%{ transform: translate3d(85px,0,0); }
}