* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
   height: 100%;
   font-family: "BIZ UDPGothic", sans-serif;
       font-weight: 400;
  font-style: normal;
  padding-top: 40px; /* ヘッダー高さに合わせる */

    background-color: #000;
  color: #fff;
}

@media (max-width: 768px) {
  body {
    padding-top: 64px;
  }
}




a {
  color: #fff;
}

a:hover {
  opacity: 0.8;
}



main {
  flex: 1;
}

body {
  margin: 0;
     display: flex;
  flex-direction: column;

 
}

.slider-wrapper {
  padding: 10px 24px; 
}

.slider {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  text-decoration: none;
  color: #fff;
}

.slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}

.text {
  padding: 16px 8px;
    line-height: 1.7;
}

@media (min-width: 768px) {
  .slider-wrapper {
    padding: 48px 48px;
  }
}

/* プログレスバー */
.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 12px;
}

.progress {
  height: 100%;
  width: 0%;
  background: #fff;
  transition: width linear;
}



 /*ここまで冒頭カラム*/

.gallery-container {
      overflow-x: auto;
      overflow-y: hidden;
      white-space: nowrap;
      -webkit-overflow-scrolling: touch; /* iOSスムーズスクロール */
      scrollbar-width: none; /* Firefox */
    }

    .gallery-container::-webkit-scrollbar {
      display: none; /* Chrome/Safari */
    }

    .gallery-item {
      display: inline-block;
      width: 256px;
      height: 144px;
      margin: 0px;
      background-size: cover;
      background-position: center;
      border-radius: 0px;
      flex-shrink: 0;
    }

    .gallery-link {
  display: inline-block;
  text-decoration: none;
}


.column-link {
      padding: 0 20px;
  display: block;
  text-decoration: none;
  color: inherit;
}




      .spacer {
      height: 60px;
    }



/* ヘッダー */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-wrapper {
  width: 100%;
  background: #000;
  color: #f8fbf8;
  position: relative;
  z-index: 1000;
}

.header-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

.logo {
  font-size: 20px;
  font-weight: bold;
}

.nav ul {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  color: #f8fbf8;
  text-decoration: none;
}

.nav a:hover {
  opacity: 0.7;
}

/* hamburger */
.menu-btn {
  width: 28px;
  height: 24px;
  position: relative;
  cursor: pointer;
  display: none;
}

.menu-btn span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #f8fbf8;
  transition: 0.4s;
}

.menu-btn span:nth-child(1) { top: 0; }
.menu-btn span:nth-child(2) { top: 10px; }
.menu-btn span:nth-child(3) { top: 20px; }

.menu-btn.open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.menu-btn.open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* responsive */
@media (max-width: 800px) {

  .menu-btn {
    display: block;
  }

  .nav {
  position: fixed;
  top: 60px;
  right: -100%;
  width: 70%;
  height: 100%;
  background: #000;
  transition: 0.4s;
  padding-top: 40px;
  z-index: 9999;
  }

  .nav ul {
    display: block;
    text-align: right;
  }

  .nav li {
    margin: 16px 24px;
  }

  .nav.open {
    right: 0;
  }
}

/* footer */
.footer-wrapper {
  text-align: center;
  padding: 20px;
  background: #000;
  color: #f8fbf8;
}



/* ===============================
   以下、works.html内容
=============================== */
/* ===============================
   Works タグ表示
=============================== */
.work-tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 999px;
  background: #f0f0f0;
  color: #555;
}

.column-link[data-category="original"] .work-tag {
  background: #e6eae3;
  color: #006e54;
}

.column-link[data-category="client"] .work-tag {
  background: #fff1cf;
  color: #c89932;
}

.column-link[data-category="others"] .work-tag {
  background: #f2f2f2;
  color: #666;
}

/* ===============================
   Works フィルター
=============================== */
.works-filter {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 40px 0;
}

.works-filter button {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
}

.works-filter button.active {
  background: #333631;
  color: #fff;
  border-color: #333631;
}

/* ===============================
   Works アニメーション
=============================== */

.column-link {
  transition:
    opacity .35s ease,
    transform .35s ease;
  will-change: opacity, transform;
}

.column-link.show {
  opacity: 1;
  transform: translateY(0);
}

.column-link.hide {
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}


/* ===============================
   Works リスト
=============================== */

.works-list {
  display: flex;
  flex-direction: column;
  gap: 50px; /* ← 余白はここで制御 */
     line-height: 1.7;

}


/* ===============================
   TOP ボックス（縦固定）
=============================== */
#top-box {
  max-width: 980px;
  margin: 40px auto;
  padding: 0 4px;
}

.top-box-link {
  display: block;
  padding: 18px;
  background: #000;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 8px 18px rgba(0,0,0,.05);
  text-decoration: none;
  color: inherit;
  transition: .25s;

}

.top-box-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,.08);
}

/* サムネイル */
.top-box-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
}

/* テキスト */
.top-box-date {
  font-size: 13px;
  color: #e5e5e5;
  margin-bottom: 6px;
}

.top-box-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.top-box-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #e5e5e5;
}


/* ===============================
   Contents page
=============================== */
.contents-page {
  max-width: 980px;
  margin: 40px auto;
  padding: 0 16px;
  text-align: center;
}

.contents-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 24px;
}

.contents-video iframe {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.contents-title {
  font-size: 26px;
  margin-bottom: 16px;
    padding: 10px 10px;
}

.contents-description {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 12px;
    padding: 10px 10px;
}

.contents-credit {
  font-size: 13px;
  color: #e5e5e5;
  margin-bottom: 32px;
padding: 10px 10px;
 line-height: 1.7;
}

.contents-button a {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: #777;
  color: #fff;
  text-decoration: none;
  transition: .2s;
}

.contents-button a:hover {
  opacity: .8;
}

.toggle-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.toggle-content.open {
  max-height: 500px; /* 十分大きい値 */
  opacity: 1;
}

.toggle-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: #333631;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
}


/* contents.html テキスト左揃え */
.contents-title,
.contents-description,
.contents-credit {
  text-align: left;
}


/* ===============================
   TOP YouTube
=============================== */
.top-youtube {
  max-width: 980px;
  margin: 40px auto;
  padding: 0 4px;
}

.top-youtube-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.top-youtube-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/* ===============================
   Links Page
=============================== */
.links-page {
  max-width: 600px;
  margin: 60px auto;
  padding: 0 16px;
  text-align: center;
}

.links-title {
  font-size: 28px;
  margin-bottom: 32px;
}

.sns-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sns-list li {
  margin-bottom: 16px;
}

.sns-list a {
  display: block;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #000;
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  transition: .2s;
}

.sns-list a:hover {
  background: #555;
}


.tapestry-regular {
  font-family: "Tapestry", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 50px;
  padding:  20px 20px 0px;
  color: #f5f5f5;
}


.tapestry-regular2 {
  font-family: "Tapestry", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 50px;
  padding:  20px 20px 0px;
  color: #f5f5f5;
}



.tapestry-regular-mini {
  font-family: "Tapestry", serif;
  font-weight: 400;
  font-style: normal;

}




.minifont {
  font-size: 10px;
}

/* ===============================
  index概要
=============================== */

.center-text-box {
  max-width: 100%;
  margin: 80px auto;
  padding: 4px 4px;
  text-align: center;
color: #333631;
}

.center-text-box > * {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: #f5f5f5;
}

.center-text-desc {
  font-size: 16px;
  line-height: 1.8;
  color: #f5f5f5;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .center-text-title {
    font-size: 22px;
  }

  .center-text-desc {
    font-size: 15px;
  }
}

/* 中央テキストセクション 背景 */
.center-text-box {
  background-color: #000 !important;
  padding: 8px 8px;
  margin: 80px 0;

}


/* アイコン */

.sns-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 60px 20px;
}

.sns-links a {
  font-size: 32px;
  color: #fff;
  transition: transform 0.2s ease, color 0.2s ease;
}

.sns-links a:hover {
  transform: translateY(-3px);
  color: #fff;
}

.dark-bg .sns-links a {
  color: #fff;
}

.dark-bg .sns-links a:hover {
  color: #ccc;
}


.yeartag{
  font-size: 12px;
  text-align: left;
      line-height: 1.5;
}