/* =====================================================
   style.css — rivet design office
   FLOCSS: Foundation / Layout / Object (Project)
   PCファースト / 1rem = 10px (html: 62.5%)
===================================================== */

/* =====================================================
   Foundation — リセット・基本設定
===================================================== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,button{
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: baseline;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
button,
input,
textarea,
select {
  font-family: inherit;
  color: inherit;
}
html {
  font-size: 62.5%; /* 1rem = 10px */
  background-color: var(--color-bg);
}

/* Lenis スムーズスクロール 必須スタイル */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

body {
  font-family: "Cormorant","Noto Serif JP", serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.8;
  color: var(--color-text);
  /* background-color: var(--color-bg); */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
   /* animation: pageFadeIn 0.8s ease both; */
}
/* @keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
} */

:root {
  /* カラー変数 —  */
  --color-bg:       #1C1C1C;
  --color-surface:  #1C1C1C;
  --color-text:     #f0ede8;
  --color-text-sub: rgba(240, 237, 232, 0.55);
  --color-accent:   #c4b49a;
  --color-border:   rgba(255, 255, 255, 0.08);

  /* レイアウト変数 */
  --container-padding: 10.5rem; /* 105px */
  --header-height:     8rem;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

ul,
ol {
  list-style: none;
}

address {
  font-style: normal;
}

/* =====================================================
   Layout — ヘッダー
===================================================== */

/* ヘッダー */
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0 var(--container-padding);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background-color 0.4s ease;
}

/* ヘッダーは常に透明 */

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

.l-header__logo {
  display: block;
  width: 21.1rem;
}

.l-header__logo img {
  width: 100%;
  height: auto;
}

/* ナビゲーション */
.l-header__nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.l-header__nav-link {
      font-size: 1.6rem;
    font-weight: 600;
  color: var(--color-text);
  position: relative;
  padding-bottom: 0.2rem;
}

.l-header__nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-text);
  transition: width 0.3s ease;
}

.l-header__nav-link:hover::after {
  width: 100%;
}

/* SP ハンバーガーボタン — PCでは非表示 */
.l-header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 3.2rem;
  height: 1.8rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}

.l-header__hamburger-line {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--color-text);
  transition: transform 0.35s ease, opacity 0.35s ease;
  transform-origin: center;
}

/* ハンバーガー → ✕ */
.l-header__hamburger.is-open .l-header__hamburger-line:nth-child(1) {
  transform: translateY(0.85rem) rotate(45deg);
}

.l-header__hamburger.is-open .l-header__hamburger-line:nth-child(2) {
  opacity: 0;
}

.l-header__hamburger.is-open .l-header__hamburger-line:nth-child(3) {
  transform: translateY(-0.85rem) rotate(-45deg);
}

/* =====================================================
   Layout — ドロワーナビゲーション（SP）
===================================================== */

.l-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.l-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ドロワー背景動画 — SPのみ表示（PCでは非表示にして再生もさせない） */
.l-drawer__bg {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.l-drawer__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.l-drawer__video-mask {
  position: absolute;
  inset: 0;
  background-color: rgba(14, 14, 14, 0.6);
}

/* ナビは背景動画の上に重ねる */
.l-drawer__nav {
  position: relative;
  z-index: 1;
}


.l-drawer__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.2rem;
}

.l-drawer__link {
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--color-text);
  display: inline-block;
  position: relative;
  padding-bottom: 0.4rem;
}

.l-drawer__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-text);
  transition: width 0.3s ease;
}

.l-drawer__link:hover::after {
  width: 100%;
}

/* オーバーレイ */
.l-drawer__overlay {
  position: fixed;
  inset: 0;
  background-color: transparent;
  z-index: 98;
  pointer-events: none;
}

.l-drawer__overlay.is-open {
  pointer-events: auto;
}

/* =====================================================
   Layout — フッター
===================================================== */

.l-footer {
  position: relative;
  z-index: 1;
  background-color: var(--color-surface);
  padding: 13.7rem var(--container-padding) 6rem;
}
.footer__border{
  border-top:1px solid;
  border-image:linear-gradient(90deg,#663924,#D07448,#663924);
  border-image-slice:1;
  border-image-width:1px ;

}

.l-footer__inner {
  max-width: 141rem; /* 1410px */
  margin: 0 auto;
}

.l-footer__top {
  display: flex;
  gap: 6rem;
  margin-bottom: 9.4rem;
}

.l-footer__brand {
  flex-shrink: 0;
}

.l-footer__logo {
  display: block;
  width: 20rem;
  margin-bottom: 3rem;
}

.l-footer__address {
  font-size: 1.4rem;
  font-family: "Noto Serif JP", serif;
  line-height: 2;
  margin-bottom: 1.5rem;
}

.ex-arrow{
  transform:rotate(-45deg);
}
.l-footer__map {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
    font-size: 1.6rem;
  color: var(--color-text);
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 0.2rem;
}

.l-footer__map::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-text);
  transition: width 0.3s ease;
}

.l-footer__map:hover::after {
  width: 100%;
}



/* フッターナビゲーション */
.l-footer__nav {
  display: flex;
  gap: 5rem;
  margin-left: auto;
}

.l-footer__nav-col {
  min-width: 6rem;
}
.l-footer__nav-col-contact{
      min-width: 30rem;
}
.l-footer__nav-heading-contact{
  border-top: 1px solid  #ffffff6b;
    border-bottom: 1px solid  #ffffff6b;
    display: inline-block;
    width: 100%;
    padding: 2.4rem 0;
    font-size: 2rem;
    line-height: 1;
    position: relative;
}
.l-footer__nav-heading-contact:after{
  content: "";
    position: absolute;
    bottom: 0;
    top:0;
    margin: auto;
    right: 10px;
    width: 9px;
    height: 8px;
    background:url('../images/white-arrow-right.svg')no-repeat;
    background-size: contain;
    display: inline-block;
}
.l-footer__nav-heading {
  font-size: 2rem;
  /* font-weight: 400; */
  color: var(--color-text);
  margin-bottom: 2rem;
}

.l-footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.l-footer__nav-link-main{
  font-size: 2rem;
  color: var(--color-text);
}

.l-footer__nav-link {
  font-size: 1.8rem;
  position: relative;
  padding-bottom: 0.1rem;
}

.l-footer__nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-text-sub);
  transition: width 0.3s ease;
}
.l-footer__nav-item{
  line-height: 1;
}
.l-footer__nav-link:hover::after {
  width: 100%;
}

.l-footer__copyright {
  text-align: center;
}

.l-footer__copyright-text {
  font-size: 1.2rem;
  color: var(--color-text-sub);
  letter-spacing: 0.05em;
}

/* =====================================================
   Project — TOP: MV（メインビジュアル）
===================================================== */

.top__mv {
  position: relative;
  z-index: 1; /* 固定動画(z-index:0)の上に重ねて、MV自身のビデオで覆う */
  height: 100svh;
  min-height: 60rem;
  overflow: hidden;
  background-color: var(--color-bg);
}

/* 動画ラッパー */
.top__mv-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.top__mv-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top__mv-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14, 14, 14, 0.15) 0%,
    rgba(14, 14, 14, 0.55) 100%
  );
}

/* コンテンツ */
.top__mv-content {
  position: absolute;
  bottom: 9.5rem;
  left: var(--container-padding);
  z-index: 1;
}

.top__mv-catch {
  font-size: 2.2rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

/* スクロールインジケーター */
.top__mv-scroll {
  position: absolute;
  bottom: 4rem;
  right: var(--container-padding);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.top__mv-scroll-text {
  font-size: 1.6rem;
  color: var(--color-text);
}

/* .top__mv-scroll-arrow {
  display: block;
  width: 0.6rem;
  height: 0.8rem;
  border-right: 1px solid var(--color-text);
  border-bottom: 1px solid var(--color-text);
  transform: rotate(45deg) translateY(-0.2rem);
} */

/* =====================================================
   Project — TOP: コンセプト（Concept）
===================================================== */

/* 固定背景動画（position:fixed で全画面に敷く）
   z-index: 0 → ボディ背景の上・各セクション(z-index:1)の下 */
.top__concept-video-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.top__concept-video-bg.is-active {
  opacity: 1;
}

.top__concept-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* コンセプトセクション本体 — 縦長にして背景固定・テキストスクロール効果を演出 */
.top__concept {
  position: relative;
  z-index: 1;
  padding: 15rem 0 20rem;
}

/* 半透明ダークオーバーレイ */
.top__concept-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 10, 10, 0.68);
  z-index: 0;
}

/* コンテンツ — 中央縦並び */
.top__concept-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  gap: 7.9rem;
}

.top__concept-label {
  display: block;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #ababab;
}

.top__concept-heading {
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

/* 本文コンテナ */
.top__concept-body {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

/* 本文段落 */
.top__concept-body-text {
  font-size: 1.6rem;
  line-height: 3;
  color: var(--color-text);
}
/* 
.top__concept-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--color-text);
  position: relative;
  padding-bottom: 0.4rem;
}

.top__concept-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-text);
  transition: width 0.3s ease;
}

.top__concept-link:hover::after {
  width: 0;
}

.top__concept-link-arrow {
  font-size: 1.2rem;
} */

/* =====================================================
   Project — TOP: WORKS
===================================================== */

.top__works {
  position: relative;
  z-index: 1; /* 固定動画を不透明背景で覆い隠す */
  background-color: var(--color-bg);
  padding-top: 14rem;
}

/* Works セクションヘッダー */
.top__works-header {
  display: flex;
  align-items: flex-end;
  gap: 4rem;
  padding: 0 var(--container-padding);
  margin-bottom: 6rem;
}

.top__works-header-left {
  flex-shrink: 0;
}

.top__works-heading {
  font-size: 8rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.top__works-header-right {
  flex: 1;
  padding-bottom: 0.8rem;
      display: flex;
    justify-content: space-between;
    align-items: end;
}

.top__works-desc {
  font-size: 1.3rem;
  line-height: 1.9;
  color: var(--color-text-sub);
}

.c-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.6rem;
  color: var(--color-text);
  position: relative;
  padding-bottom: 0.2rem;
}

.c-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-text);
  transition: width 0.3s ease;
}

.c-link:hover::after {
  width: 0;
}

/* Works アイテムリスト */
.top__works-list {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.top__works-item {
  width: 100%;
  margin: 0 auto;
  padding: 0 2.4rem; /* 24px サイドマージン */
  overflow: hidden;
      position: relative;
}

.top__works-link {
  display: block;
  position: relative;
}

.top__works-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1572 / 715;
  overflow: hidden;
  background-color: var(--color-surface);
}

.top__works-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.top__works-link:hover .top__works-img {
  transform: scale(1.04);
}

.top__works-img-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(14, 14, 14, 0.75) 100%
  ); */
      background: #4141412e;
      mix-blend-mode: multiply;
          transition: mix-blend-mode 0s 0.4s;
}

/* Works メタ情報（画像下） */
.top__works-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
      position: absolute;
    bottom: 4.8rem;
    left: 0;
    right:0;
    margin:auto;
    width: 100%;
        padding: 0 4rem;
}

.top__works-title {
  font-size: 5.6rem;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.2;
}
.works__stories___numWrap{
      position: absolute;
    left: 4rem;
    top: 3.2rem;
    z-index: 1;
        display: flex;
    align-items: flex-end;
    gap:1.6rem;
}
.works__stories__txt{
  margin-bottom: .5rem;
  line-height: 1;
}
.works__stories___num{
  font-size: 3.2rem;
      line-height: 1;
}
.works__stories__numTxt{
  position:relative;
}
.works__stories__numTxt:after{
  content:'';
  width:95px;
  height:1px;
  background-color: #ffffff73;
      display: inline-block;
    margin-left: 2.4rem;
    margin-bottom: .3rem;
}
.works__stories___numSum{
  font-size: 1.4rem;
      margin-left: .4rem;

}
.top__works-info {
      display: flex;
    flex-direction: column;
    align-items: flex-end;
        gap: 5.6rem;
    border-top: 1px solid #ffffff85;
    padding-top: 1rem;
    width: 25.12%;
}

.top__works-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 3rem;
    width: 100%;
}

.top__works-spec {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.top__works-spec-key {
  font-size: 1.4rem;
  color: var(--color-text);
  white-space: nowrap;
  font-weight: 700;
}

.top__works-spec-val {
  font-size: 1.5rem;
  color: var(--color-text);
  white-space: nowrap;
}

.top__works-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4rem;
  color: var(--color-text);
  white-space: nowrap;
  position: relative;
  padding-bottom: 0.2rem;
}

.top__works-detail-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-text);
  transition: width 0.3s ease;
}

.top__works-link:hover .top__works-detail-link::after {
  width: 100%;
}

/* =====================================================
   Project — TOP: INFORMATION（お知らせ）
===================================================== */

.top__information {
  position: relative;
  z-index: 1; /* 固定動画を不透明背景で覆い隠す */
  background-color: var(--color-surface);
  padding: 14rem 0 13rem;
}

.top__information-inner {
  padding: 0 var(--container-padding);
}

/* セクションヘッダー */
.top__information-header {
  display: flex;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 5.5rem;
      justify-content: space-between;
}

.top__information-heading {
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.top__information-subheading {
  font-size: 1.2rem;
  color: var(--color-text-sub);
  padding-bottom: 0.6rem;
  letter-spacing: 0.06em;
}



/* ニュースリスト */
.top__information-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.4rem;
}

.top__information-item {
  overflow: hidden;
}

.top__information-link {
  display: block;
}

.top__information-figure {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 1.8rem;
  background-color: var(--color-bg);
}

.top__information-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.top__information-link:hover .top__information-img {
  transform: scale(1.05);
}

.top__information-body {
  padding: 0 0.2rem;
}

.top__information-title {
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
}

.top__information-date {
  font-size: 1.8rem;
  color: var(--color-text-sub);
  line-height: 1;
}

/* =====================================================
   スクロールリビール アニメーション
===================================================== */

/* 見出し: マスクをかけて下から上へ浮き上がる */
[data-reveal="heading"] {
  clip-path: inset(0 0 100% 0);
  transform: translateY(2rem);
  transition: clip-path 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal="heading"].is-revealed {
  clip-path: inset(0 0 0% 0);
  transform: translateY(0);
}

/* 画像: 左から右にマスクが外れる */
[data-reveal="image"] {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal="image"].is-revealed {
  clip-path: inset(0 0% 0 0);
}

/* テキスト: フェードイン + 下から上へ */
[data-reveal="text"] {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal="text"].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   ヘッダー — カレントリンク
===================================================== */

.l-header__nav-link.is-current {
  opacity: 0.5;
}

/* =====================================================
   Project — WORKS: 一覧ページ
===================================================== */
.works-stories-header{
  display: flex;
  justify-content: space-between;
  padding: 0 var(--container-padding);
  margin-bottom: 6.4rem;
}
.works__story-heading{
  font-size: 4.8rem;
  font-weight: 400;
}
.works__story-heading-sub{
  font-size:2.4rem;
  margin-bottom: 3.2rem;
    line-height: 1;
  font-weight: 500;
}
.works__story-header-right{
  margin-right: 13.9rem;
}
.works__page {
  padding: calc(var(--header-height) + 19.7rem) 0 12rem;
  background-color: var(--color-bg);
  min-height: 80vh;
}

/* ページヘッダー */
.works__page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 var(--container-padding);
  margin-bottom: 16rem;
}

.works__page-heading-wrap {
  display: flex;
  align-items: baseline;
  gap: 2rem;
}

.works__page-heading {
  font-size: 7.5rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.works__page-label {
  font-size: 1.3rem;
  color: var(--color-text-sub);
  letter-spacing: 0.06em;
}

/* フィルタータブ */
.works__filter-list {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.works__filter-link {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text-sub);
  position: relative;
  padding-bottom: 0.2rem;
  transition: color 0.3s ease;
}

.works__filter-link.is-active {
  color: var(--color-text);
}

.works__filter-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-text);
  transition: width 0.3s ease;
}

.works__filter-link.is-active::after,
.works__filter-link:hover::after {
  width: 100%;
}

/* 作品グリッド */
.works__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7.3rem 4.3rem;
  padding: 0 var(--container-padding);
}

.works__item {
  overflow: hidden;
}

.works__link {
  display: block;
}

.works__img-wrap {
  width: 100%;
  aspect-ratio: 705 / 499;
  overflow: hidden;
  background-color: var(--color-surface);
  margin-bottom: 2rem;
}

.works__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.works__link:hover .works__img {
  transform: scale(1.04);
}

.works__title {
  font-size: 3.2rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-bottom: 0.8rem;
  line-height: 1;
}
.works__title.is-ja{
  font-size: 2.6rem;
}

.works__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.6rem;
  color: var(--color-text-sub);
  letter-spacing: 0.04em;
  line-height: 1;
}

.works__category{
  text-transform: capitalize;
}
/* ロードモアボタン */
.works__more {
  display: flex;
  justify-content: center;
  margin-top: 8rem;
}

.works__more-btn {
  font-size: 1.8rem;
  font-weight: 500;
  background: transparent;
  border-bottom: 1px solid #fff;
  padding: 1rem 2rem;
  cursor: pointer;
  /* transition: background-color 0.3s ease, color 0.3s ease; */
}



/* =====================================================
   Project — WORKS: 詳細ページ
===================================================== */

/* ページタイトル */
.works-single__head {
  padding:calc(var(--header-height) + 19.7rem) var(--container-padding) 6.4rem;
  background-color: var(--color-bg);
}

.works-single__heading {
  font-size: 6.4rem;
  font-weight: 200;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--color-text);
}

/* ヒーロー画像（横長フルワイド） */
.works-single__hero {
  background-color: var(--color-bg);
  padding: 0 2.4rem;
}

.works-single__hero-figure {
  width: 100%;
  aspect-ratio: 1572 / 715;
  overflow: hidden;
  background-color: var(--color-surface);
  margin-bottom: 0;
}

.works-single__hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 動画エリア（任意） */
.works-single__video {
  background-color: var(--color-bg);
      width: 70%;
    margin: 0 auto;
        position: relative;
    padding-top: 56.25%;
}

.works-single__video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
      position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.works-single__video-note {
  font-size: 1.8rem;
  color: #333333;
  letter-spacing: 0.04em;
  padding: 1rem 2rem;
  background-color: #ffffff;
}

/* フォトギャラリー（メインスライダー + サムネイル） */
.works-single__gallery {
  max-width: calc(86rem + var(--container-padding) * 2);
  margin: 0 auto;
  padding: 0 var(--container-padding) 0;
  background-color: var(--color-bg);
}

/* メインスライダー（正方形・画像はトリミングせず収める） */
.works-single__gallery-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #272727;
  margin-bottom: 1.2rem;
  --swiper-navigation-color: #ffffff;
  --swiper-navigation-size: 1.8rem;
}

.works-single__gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* トリミングせず正方形内に収める */
}

/* 前後ボタン（黒い正方形・上下中央） */
.works-single__gallery-prev,
.works-single__gallery-next {
  width: 4.8rem;
  height: 4.8rem;
  margin-top: 0;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.55);
  transition: background-color 0.3s ease;
}

.works-single__gallery-prev {
  left: 0;
}

.works-single__gallery-next {
  right: 0;
}

.works-single__gallery-prev:hover,
.works-single__gallery-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* サムネイル（正方形・トリミング） */
.works-single__gallery-thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  /* opacity: 0.4;
  transition: opacity 0.3s ease; */
  box-sizing: border-box;
}

.works-single__gallery-thumb.swiper-slide-thumb-active {
  opacity: 1;
  border: 2px solid var(--color-text);
}

.works-single__gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 正方形にトリミング */
}

/* 作品情報（単一カラム） */
.works-single__content {
  max-width: calc(86rem + var(--container-padding) * 2);
  margin: 0 auto;
  padding: 7rem var(--container-padding) 16rem;
  background-color: var(--color-bg);
}

.works-single__en {
  font-size: 4rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  color: var(--color-text);
  margin-bottom: 1.4rem;
  line-height: 1.4;
}

.works-single__subtitle {
  font-size: 2rem;
  color: var(--color-text);
  letter-spacing: 0.04em;
  margin-bottom: 4.6rem;
}

.works-single__body {
  font-size: 1.5rem;
  line-height: 2.2;
  color: var(--color-text);
  letter-spacing: 0.04em;
  margin-bottom: 5.4rem;
}

/* 仕様リスト */
.works-single__specs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.works-single__spec-row {
  display: flex;
  align-items: baseline;
  gap: 1.7rem;
}

.works-single__spec-key {
  font-size: 1.6rem;
  color: #bfbfbf;
  letter-spacing: 0.02em;
  min-width: 8rem;
  flex-shrink: 0;
}

.works-single__spec-val {
  font-size: 1.5rem;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

/* その他の作品 */
.works-single__other {
  background-color: #232323;
  padding: 10rem var(--container-padding) 12rem;
}

.works-single__other-heading {
  font-size: 4rem;
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 3.2rem;
  
}

.works-single__other-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 6rem;
}

.works-single__other-link {
  display: block;
}


.works-single__other-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--color-bg);
  margin-bottom: 1.6rem;
}

.works-single__other-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.works-single__other-link:hover .works-single__other-img {
  transform: scale(1.04);
}

.works-single__other-title {
  font-size: 3.2rem;
  font-weight: 200;
  letter-spacing: -0.02em;
  color: var(--color-text);
      margin-bottom: 8px;
  line-height: 1;

}

.works-single__other-meta {
  font-size: 1.6rem;
  color: #bfbfbf;
  letter-spacing: -0.02em;
  line-height: 1;
}

.works-single__back {
  text-align: center;
}

.works-single__back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--color-text);
  position: relative;
  padding-bottom: 0.3rem;
}

.works-single__back-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-text);
  transition: width 0.3s ease;
}

.works-single__back-link:hover::after {
  width: 0;
}

/* =====================================================
   Project — CONTACT: お問い合わせページ
===================================================== */

.contact__page {
  padding: calc(var(--header-height) + 10rem) var(--container-padding) 12rem;
  background-color: var(--color-bg);
  min-height: 80vh;
}

.contact__inner {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 8rem;
  align-items: start;
}

.contact__heading {
  font-size: 6rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 4rem;
}

.contact__desc {
  font-size: 1.4rem;
  line-height: 2.1;
  color: var(--color-text-sub);
}

/* フォーム */
.contact__required-note {
  font-size: 1.2rem;
  color: var(--color-text-sub);
  margin-bottom: 3.5rem;
  text-align: right;
}

.contact__required-mark {
  color: var(--color-accent);
  margin-right: 0.3rem;
}

.contact__form-group {
  margin-bottom: 2.8rem;
}

.contact__label {
  display: block;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--color-text);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.contact__input,
.contact__textarea {
  display: block;
  width: 100%;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 1.4rem;
  font-weight: 300;
  padding: 1.4rem 1.8rem;
  transition: border-color 0.3s ease;
  outline: none;
  appearance: none;
  border-radius: 0;
}

.contact__input:focus,
.contact__textarea:focus {
  border-color: var(--color-accent);
}

.contact__textarea {
  resize: vertical;
  min-height: 20rem;
  line-height: 1.8;
}

/* ラジオボタン */
.contact__radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  padding-top: 0.5rem;
}

.contact__radio-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
}

.contact__radio {
  width: 1.6rem;
  height: 1.6rem;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.contact__radio-text {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-text);
  letter-spacing: 0.03em;
}

/* 送信ボタン */
.contact__form-submit {
  margin-top: 4rem;
}

.contact__submit-btn {
  display: block;
  width: 100%;
  background-color: var(--color-accent);
  color: var(--color-bg);
  border: none;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  padding: 2rem;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.contact__submit-btn:hover {
  opacity: 0.8;
}

/* =====================================================
   Project — ABOUT: ヒーロー / コンセプト
===================================================== */

.about__hero {
  padding: calc(var(--header-height) + 20rem) var(--container-padding) 21rem;
  background-color: var(--color-bg);
}

.about__hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8rem;
}

.about__hero-heading {
  font-size: 7.5rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

/* ページ内ナビゲーション */
.about__hero-nav{
  min-width: 34rem;
}
.about__hero-nav-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 8rem;
}

.about__hero-nav-link {
    justify-content: space-between;
    width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s ease;
}

.about__hero-nav-link:hover {
  color: var(--color-text-sub);
}

/* コンセプトテキスト */
.about__hero-subheading {
  font-size: 3.4rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 6.3rem;
}

.about__hero-body-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.about__hero-body {
  font-size: 1.8rem;
  line-height: 1.5;
}

/* =====================================================
   Project — ABOUT: サービス
===================================================== */


.about__service {
  padding:0 var(--container-padding) 30rem;
  background-color: var(--color-bg);
}

.page_heading{
  font-size: 4.8rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 4rem;
}

.about__service-list {
  display: flex;
  flex-direction: column;
  gap: 10rem;
}

.about__service-item {
  display: grid;
  grid-template-columns: 40fr 60fr;
  align-items: center;
}

.about__service-text {
  padding-right: 6rem;
  min-width: 0; /* グリッド列が中身に引っ張られないように */
}

/* スライダー側のグリッド列。min-width:0 がないと中の画像サイズまで列が広がる */
.about__service-photo {
  min-width: 0;
}

.about__service-name {
  font-size: 3.2rem;
  font-weight: 300;
  margin-bottom: 4rem;
  line-height: 1.2;
}

.about__service-desc {
  font-size: 1.8rem;
  line-height: 1.7;
  color: var(--color-text-sub);
}

/* サービス画像スライダー（Swiper）
   スライダー自体に固定アスペクト比 + overflow:hidden を付けることで、
   Swiperが初期化されなくても・画像が巨大でも、箱の大きさは常に一定に保たれ
   レイアウト崩れ（巨大化・スクロール不可）を物理的に防ぐ */
.about__service-slider {
  width: 100%;
  min-width: 0;
  aspect-ratio: 767 / 401;
  overflow: hidden;
  background-color: var(--color-surface);
  /* Swiper テーマ（CSS変数で単一クラスに集約） */
  --swiper-theme-color: var(--color-accent);
  --swiper-navigation-color: var(--color-text);
  --swiper-navigation-size: 2.2rem;
  --swiper-pagination-color: var(--color-text);
  --swiper-pagination-bullet-size: 0.7rem;
  --swiper-pagination-bullet-inactive-color: rgba(240, 237, 232, 0.6);
  --swiper-pagination-bullet-inactive-opacity: 1;
  --swiper-pagination-bottom: 1.4rem;
}

/* Swiper未初期化（または読み込み失敗）時は1枚目だけを表示し、
   スライドが縦に積み上がるのを防ぐ（Swiperのクラスは外部ライブラリのため例外的に使用） */
.about__service-slider:not(.swiper-initialized) .swiper-wrapper {
  display: block;
  height: 100%;
}

.about__service-slider:not(.swiper-initialized) .swiper-slide:not(:first-child) {
  display: none;
}

.about__service-slider:not(.swiper-initialized) .swiper-slide:first-child {
  height: 100%;
}

.about__service-figure {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--color-surface);
}

.about__service-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================================================
   Project — ABOUT: フロー
===================================================== */

.about__flow {
  padding: 0 var(--container-padding) 28rem;
  background-color: var(--color-bg);
}

/* .about__flow-heading {
  font-size: 5.6rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 7rem;
} */

.about__flow-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4.95%;
  row-gap: 6.4rem;
}

.about__flow-item {
  padding: 3rem 0 0;
  border-top: 1px solid var(--color-border);
}

.about__flow-item:nth-child(3n) {
  border-right: none;
}

.about__flow-item:nth-child(n+4) {
  border-top: 1px solid var(--color-border);
}

.about__flow-step {
  margin-bottom: 2.4rem;
      display: flex;
    align-items: baseline;
}

.about__flow-number {
  display: block;
  font-size: 4.8rem;
  font-weight: 300;
  line-height: 1;
  color: var(--color-text);
  margin-right: 8px;
}

.about__flow-title {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text);
  letter-spacing: 0.03em;
      display: flex;
    gap: 10px;
      flex-wrap: wrap;
      align-items: center;
      row-gap: 0;
}

.about__flow-subtitle {
  display: block;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-accent);
  letter-spacing: 0.05em;
}

.about__flow-body {
  font-size: 1.4rem;
  line-height: 2;
}

/* =====================================================
   Project — ABOUT: FAQ
===================================================== */

.about__faq {
  padding: 0 var(--container-padding) 32.8rem;
  background-color: var(--color-surface);
}

.about__faq-inner {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 6rem;
  align-items: start;
}

/* .about__faq-heading {
  font-size: 5.6rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--color-text);
  position: sticky;
  top: calc(var(--header-height) + 4rem);
} */

.about__faq-list {
  display: flex;
  flex-direction: column;
}

.about__faq-item {
  border-top: 1px solid var(--color-border);
}

.about__faq-item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.about__faq-question {
  width: 100%;
}

.about__faq-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 2.4rem 0;
  text-align: left;
  gap: 2rem;
}

.about__faq-question-text {
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.02em;
  flex: 1;
}

/* FAQアイコン（+/−） */
.about__faq-icon {
  flex-shrink: 0;
  display: block;
  width: 1.8rem;
  height: 1.8rem;
  position: relative;
}

.about__faq-icon::before,
.about__faq-icon::after {
  content: "";
  position: absolute;
  background-color: var(--color-text);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.about__faq-icon::before {
  width: 1.8rem;
  height: 1px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.about__faq-icon::after {
  width: 1px;
  height: 1.8rem;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

/* 開いた状態 — 縦線を消す */
.about__faq-item.is-open .about__faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.about__faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.45s cubic-bezier(0.16,1,0.3,1), opacity 0.45s ease, padding-bottom 0.45s ease;
  padding-bottom: 0;
  font-family: 'Noto Serif JP', serif;
}
.about__faq-answer-inner { overflow: hidden; min-height: 0; /* 文字色・サイズ */ }
.about__faq-item.is-open .about__faq-answer { grid-template-rows: 1fr; opacity: 1; padding-bottom: 2.8rem; }
/* =====================================================
   Project — ABOUT: 会社概要
===================================================== */

.about__company {
  padding: 0 var(--container-padding) 26.7rem;
  background-color: var(--color-bg);
}

/* .about__company-heading {
  font-size: 5.6rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 6rem;
} */

.about__company-heading{
  margin-bottom: 5.6rem;
}

.about__company-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.about__company-table {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about__company-row {
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: 2rem;
  padding: 0 0 3.2rem;
}

.about__company-key {
  font-weight: 300;
}

.about__company-val {
  font-weight: 300;
  line-height: 1.8;
  font-family: 'Noto Serif JP', serif;
}

.about__company-link {
  /* text-decoration: underline;
  text-underline-offset: 0.3em;
  color: var(--color-text); */
  transition: opacity 0.3s ease;
}

.about__company-link:hover {
  opacity: 0.6;
}

.about__company-map {
      filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}


/* =====================================================
   Project — ABOUT: プロフィール
===================================================== */

.about__profile {
  padding: 0 var(--container-padding) 20rem;
  background-color: var(--color-surface);
}

/* .about__profile-heading {
  font-size: 5.6rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 6rem;
} */

.about__profile-body {
  display: grid;
  grid-template-columns: 35fr 65fr;
  gap: 6rem;
  align-items: start;
}

.about__profile-figure {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: var(--color-bg);
}

.about__profile-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__profile-subheading {
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-bottom: 3rem;
}

.about__profile-text {
  line-height: 2.1;
  margin-bottom: 8rem;
   word-break: auto-phrase;
}
.about__profile-history{
      display: flex;
    gap: 12.2rem;
}
.about__profile-history-label {
  font-size: 2.4rem;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.about__profile-history-text {
  line-height: 2.2;
  font-family: 'Noto Serif JP', serif;

}
@media (min-width: 2000px) {
  html{
        font-size: .6vw;
  }
}