
CSS
/* =================================================
   H.O.D WORKS (archive + single)
   ================================================= */
html{
	overflow-x:hidden;
}
.hod-works-body{ margin:0; }
.hod-works, .hod-works *{ box-sizing:border-box; }
.hod-works{
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  color:#fff;

}
.hod-bg{ position:absolute; inset:0; background:#071430; z-index:0; }


/* footer */
.hod-footer{
  position: fixed;
  right: 18px;
  bottom: 16px;
  z-index: 40;
  display:grid;
  gap:10px;
  justify-items:end;
}
.hod-copy{ font-size:11px; opacity:.75;color: #fff; }
.hod-social__link{ color: rgba(255,255,255,.9); text-decoration:none; }

/* -------- Archive layout -------- */
.works-wrap{
  position: relative;
  z-index: 10;
  padding: 120px 60px 90px;
  width: min(1180px, calc(100vw - 120px));
  margin: 0 auto;
}

.works-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
  margin-bottom: 34px;
border-bottom: 0.5px solid #ffffff80;
}
.works-title{
  font-size: 12px;
  letter-spacing: .28em;
  font-weight: 600;
  margin:0;
  opacity:.9;
}
.works-line{
  height: 1px;
  width: min(520px, 48vw);
  background: rgba(255,255,255,.14);
  margin-top: 16px;
}
.works-tag{
  font-size: 11px;
  letter-spacing: .22em;
  opacity: .65;
}

.works-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 180px 120px;
}

.work-card{
  text-decoration:none;
  color:#fff;
  display:block;
}
.work-card__img{
  width: 100%;
  aspect-ratio: 3 / 4;
  background: rgba(255,255,255,.06);
  overflow:hidden;
}
.work-card__img img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1.02);
  transition: transform .35s ease, filter .35s ease;
}
.work-card:hover .work-card__img img{
  transform: scale(1.05);
  filter: brightness(1.02);
}
.work-card__meta{
  margin-top: 14px;
 
  align-items:baseline;
  justify-content:space-between;
  font-size: 10px;
  letter-spacing: .14em;
  opacity:.85;
}
.work-card__name{
border-bottom: 0.5px solid #ffffff80;
padding-bottom:10px;
margin-bottom:10px;}
.work-card__year{ opacity:.65;
text-align:right;}

/* pager */
.works-pager{ margin-top: 44px;
margin-bottom:44px;}
.works-pager ul{
  list-style:none;
  display:flex;
  gap:10px;
  padding:0;
  margin:0;
}
.works-pager a, .works-pager span{
  display:inline-flex;
  width: 34px; height: 34px;
  align-items:center; justify-content:center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  color:#fff;
  text-decoration:none;
  font-size:12px;
  opacity:.85;
}
.works-pager .current{
  background: rgba(255,255,255,.12);
  opacity:1;
}

/* -------- Single layout -------- */
.single-wrap{
  position: relative;
  z-index: 10;
  padding: 120px 60px 90px;
  width: min(1180px, calc(100vw - 120px));
  margin: 0 auto;
}
.single-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 24px;
  margin-bottom: 26px;
}
.single-title__name{
  font-size: 12px;
  letter-spacing: .26em;
  font-weight: 600;
}
.single-title__url{
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: .18em;
  opacity: .55;
}
.single-side__year{
  text-align:right;
  font-size: 10px;
  letter-spacing: .22em;
  opacity:.75;
}
.single-side__year strong{
  font-size: 12px;
  opacity:1;
}

.single-gallery{
  position: relative;
  margin-top: 18px;
}

/* Swiper：2枚目以降が画面外に見切れる設定 */
.hod-swiper{
  overflow: visible;
}
.hod-swiper .swiper-slide{
  width: min(780px, 70vw); /* ← “見切れ”の肝 */
}
.hod-swiper img{
  width: 100%;
  height: auto;
  display:block;
  border: 1px solid rgba(255,255,255,.10);
}

/* scroll hint */
.single-hint{
  margin-top: 18px;
  display:flex;
  align-items:center;
  gap: 14px;
  justify-content:flex-end;
  opacity:.65;
}
.single-hint__line{
  width: 120px;
  height: 1px;
  background: rgba(255,255,255,.18);
}
.single-hint__txt{
  font-size: 10px;
  letter-spacing: .22em;
}

/* content */
.single-body{
  margin-top: 34px;
  max-width: 760px;
}
.single-sub{
  font-size: 12px;
  letter-spacing: .14em;
  opacity: .75;
}
.single-content{
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.9;
  opacity: .88;
}

/* responsive */
@media (max-width: 980px){
  .works-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); gap: 48px 46px; }
  .works-wrap, .single-wrap{ width: min(940px, calc(100vw - 64px)); padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 768px){
  .hod-header__nav{ display:none; }
  .hod-burger{ display:flex; }

  .works-grid{ grid-template-columns: 1fr; gap: 40px; }
  .works-wrap, .single-wrap{ width: min(680px, calc(100vw - 32px)); padding: 108px 16px 84px; }

  .hod-swiper .swiper-slide{ width: 86vw; }
.works-line{display:none;}
}
/* Reveal */
.js-reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
  will-change: opacity, transform;
}
.js-reveal.is-in{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .js-reveal{ opacity: 1; transform: none; transition: none; }
}

/* ===== WORKS Single : Head ===== */
.hod-work-head{
  padding-top: 110px; /* ヘッダー固定分 */
  padding-bottom: 18px;
  position: relative;
  z-index: 5;
}
.hod-work-head__grid{
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
	padding-left:15%;
}
.hod-work-head__kicker{
  font-size: 11px;
  letter-spacing: .22em;
  opacity: .8;
  margin: 0 0 10px;
color:#fff;
}
.hod-work-head__title{
  font-size: 14px;
  letter-spacing: .18em;
  margin: 0 0 8px;
	color:#fff;
}
.hod-work-head__url{
  font-size: 11px;
  opacity: .75;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.25);
	color:#fff;
}
.hod-work-head__right{
  text-align: right;
}
.hod-work-head__built{
  font-size: 11px;
  letter-spacing: .18em;
  opacity: .75;
  margin: 0 0 6px;
}
.hod-work-head__year{
  font-size: 12px;
  letter-spacing: .12em;
  margin: 0;
  opacity: .9;
}

/* ===== WORKS Single : Swiper (右見切れ) ===== */
.hod-work-gallery{
padding-bottom: 40px;
position: relative;
z-index: 4;
padding-left:15%;
background:#071430;
}

.hod-swiper{
  overflow: visible; /* 右見切れを見せる */
}

.hod-swiper__slide{
  width: min(980px, 78vw);
}

.hod-swiper__img{
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Swiper Scrollbar : 右寄せ ===== */
.hod-swiper .swiper-scrollbar {
    position: relative;
    width: 60%;
margin:100px 5% 20px auto;
    height: 5px;
    background: rgba(255, 255, 255, .18);
	z-index: 10;
}

.hod-swiper .swiper-scrollbar-drag{
  height: 5px;
  background: rgba(255,255,255,.70);
}

/* SP */
@media (max-width: 768px){
  .hod-work-head{ padding-top: 90px; }
  .hod-work-head__grid{ gap: 14px; }
  .hod-swiper__slide{ width: 88vw; }
	
/* .hod-swiper .swiper-scrollbar {
    height: 2px;
}

.hod-swiper .swiper-scrollbar-drag{
  height: 2px;
}*/
}

.hod-works-body {
  overflow-x: hidden;
}

/* ====== WORKS 一覧・詳細のスマホ時 下余白リセット ====== */
@media (max-width: 768px){

  /* main 全体（一覧・詳細問わず）にかかっている min-height / 余白を殺す */
  body.hod-works-body main {
    min-height: auto !important;
 padding-top:80px;
	}

  /* 旧レイアウト用ラッパー（残ってても大丈夫なように一応潰す） */
  .hod-works-body .works-wrap,
  .hod-works-body .single-wrap {
    padding-bottom: 24px !important;
    margin-bottom: 0 !important;
padding-top:120px;
  }

  /* 新レイアウトの詳細ギャラリー部分 */
  .hod-works-body .hod-work-gallery {
    padding-bottom: 16px !important;
    margin-bottom: 0 !important;
  }

  /* WORKS 詳細のヘッダーも少しだけ詰める */
  .hod-works-body .hod-work-head {
    margin-bottom: 16px !important;
padding-top:0px;
  }

  /* 背景レイヤーが高さを持たないように保険 */
  .hod-works-body .hod-bg {
    min-height: 0 !important;
    height: auto !important;
    bottom: 0 !important;
  }
}
/* single-works ヘッダ */
.hod-work-head {
  position: relative;
  z-index: 1;
  padding: 110px 3% 40px 15%;
  color: #fff;
}

.hod-work-head__titlewrap {
  margin-bottom: 12px;
}

.hod-work-head__title {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
}

/* URLとBuilt in行（同じ高さで左右に配置） */
.hod-work-head__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center; /* ← これでURLとBuilt inが縦位置揃う */
  gap: 16px;
}

.hod-work-head__url {
  font-size: 14px;
 
  word-break: break-all;
}

/* 右側：Built in + 年 */
.hod-work-head__builtwrap {
    text-align: center;
    line-height: 1.4em;
    white-space: nowrap;
}

.hod-work-head__built {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hod-work-head__year {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.1;
}
/* ===== SCROLL ラベル ===== */
.scroll-label{
    font-size: 18px;
    letter-spacing: .26em;
    opacity: .65;
    color: #fff;
    margin-left: auto;
    margin-top: 10px;
    text-align: right;
    pointer-events: none;
    margin-bottom: 150px;
    padding-right: 4%;
}
/* SP時は縦並び（必要なら） */
@media (max-width: 767px) {
  .hod-work-head__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .hod-work-head__builtwrap {
    text-align: left;
  }
	
	.hod-work-head__url{
border-bottom: none;
margin-bottom: 30px;
	}
	.container.wrapcon{
		padding-top:120px;
	}
	
	.hod-work-head__year {
  font-size: 13px;
}
	.hod-work-head__title{
		font-size:16px;
	}
.scroll-label {
font-size: 13px;}
}




/* =========================================
   WORKS Single Swiper
   ・高さ統一
   ・画像は切らない（contain）
   ・スライド間は 5px
========================================= */

/* スライドの器 */
.hod-swiper .swiper-slide,
.hod-swiper__slide{
  height: clamp(260px, 55vh, 520px);
  width: auto;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

/* 画像 */
.hod-swiper__img,
.hod-swiper img{
  display: block;
  height: 100%;
  width: auto;
  max-height: 100%;
  object-fit: contain;     /* 切らない */
  margin-right: 5px;       /* ← スライド間 5px */
  border: 1px solid rgba(255,255,255,.10);
}

/* 最後のスライドだけ余白なし */
.hod-swiper .swiper-slide:last-child .hod-swiper__img{
  margin-right: 0;
}

/* SP */
@media (max-width: 768px){
  .hod-swiper .swiper-slide,
  .hod-swiper__slide{
    height: clamp(220px, 45vh, 380px);
  }
}

/* =========================================
   ナビゲーション
========================================= */

.hod-swiper .swiper-button-prev,
.hod-swiper .swiper-button-next{
  color:#fff;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
  top: var(--swiper-navigation-top-offset, 35%);
}

.hod-swiper .swiper-button-prev{ left: -16.5%; }
.hod-swiper .swiper-button-next{ right: 8px; }

.swiper-button-next:after,
.swiper-button-prev:after{
  font-size: 18px;
}

/* SP */
@media (max-width:768px){
  .hod-swiper .swiper-button-prev,
  .hod-swiper .swiper-button-next{
    width: 48px;
    height: 48px;
  }
.swiper-android .swiper-slide, .swiper-ios .swiper-slide, .swiper-wrapper {
    transform: translate3d(-70px, 0, 0);
}	
	
}

/* 1枚目では左ボタン非表示 */
.hod-swiper.is-first .swiper-button-prev{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-numbers.dots {
    opacity:1;
    background-color:inherit;
}


/* SPで「…（dots）」が消されるのを強制復活 */
@media (max-width: 768px){
  .works-pager .page-numbers.dots{
    display: inline-flex !important; /* ←最重要 */
    opacity: 1 !important;
    visibility: visible !important;
  }
}
