body {
  margin: 0;
  padding: 0;
}

/* ... (中略) ... */

/* メイン */
.another-works {
  /* background-image設定を削除し、bodyの背景を表示させる */
  min-height: 100vh;
}
a {
  text-decoration: none; /* 下線を消す */
  color: inherit; /* 親要素の色を継承（または好みの色を指定） */
  outline: none;
}
a:focus {
  outline: none;
}
header {
  position: fixed;
  width: 100%;
  height: auto;
  z-index: 1000;
}

.header-logo {
  filter: brightness(0) invert(0); /* 黒色に変換 */
}
/* ハンバーガーメニューボタン */
.hamburger-menu {
  position: fixed;
  right: 30px;
  top: 30px;
  width: 24px;   
  height: 16px;  
  z-index: 2000;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 1px;   
  background-color: #C48A00;
  transition: all 0.3s ease-in-out;
}

/* ハンバーガーメニューのアニメーション（バツ印） */
.hamburger-menu.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg); /* 位置調整 */
}
.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg); /* 位置調整 */
}

/* ナビゲーションメニュー（全画面） */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu.active {
  opacity: 1;
  pointer-events: auto;
}

.menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding-right: 30px;
}

.menu li {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  display: block;
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
}

.menu.active li {
  opacity: 1;
  transform: translateY(0);
}

/* メニュー項目の遅延表示 */
.menu.active li:nth-child(1) { transition-delay: 0.1s; }
.menu.active li:nth-child(2) { transition-delay: 0.2s; }
.menu.active li:nth-child(3) { transition-delay: 0.3s; }
.menu.active li:nth-child(4) { transition-delay: 0.4s; }

.menu li a {
  color: #333333;
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  letter-spacing: 3px;
  text-decoration: none;
  position: relative;
}

/* ホバー時の下線（シンプルに） */
.menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background-color: #333;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.menu li a:hover::after {
  transform: scaleX(1);
}

/* 言語切り替えリンク */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}

.lang-link {
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(44, 24, 16, 0.4);
  text-decoration: none;
  transition: all 0.3s ease;
}

.lang-link:hover {
  color: #C48A00;
  opacity: 1;
}

.lang-link.active {
  color: #C48A00;
  font-weight: 600;
  border-bottom: 1px solid #C48A00;
}

.lang-separator {
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(44, 24, 16, 0.3);
}

/* Back Button */
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  color: #2c1810;
  text-decoration: none;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.back-button:hover {
  transform: translateX(-5px);
}

.back-button svg {
  width: 20px;
  height: 20px;
}

/* メイン */
.another-works {
  min-height: 100vh;
  padding-top: 120px; /* ヘッダー分の余白 */
  padding-left: 100px; /* 左右の余白を追加 */
  padding-right: 100px;
}

.works-header {
  text-align: center;
  margin-bottom: 40px;
}

.site-subheading {
  display: block;
  margin: 0;
  margin-bottom: 15px;
  padding: 0;
  text-align: center;
  border: none;
  color: #2c1810;
  font-size: 38px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  letter-spacing: 2px;
}

.site-subheading::after {
  display: none;
}

.site-subheading .letter {
  display: inline-block;
  opacity: 1;
  transform: none;
  filter: none;
}

.works-page-subtitle {
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 3px;
  color: #2c1810;
  margin-top: 10px;
  margin-bottom: 120px;
  padding: 0;
  text-align: center;
  text-transform: uppercase;
}

/* Divider & Subtitle Section */
.works-divider-container {
  max-width: 1000px;
  margin: 100px auto 110px;
  padding: 0 40px;
  text-align: center;
  box-sizing: border-box;
}

.works-divider {
  border: none;
  height: 1px;
  background-color: rgba(5, 5, 59, 0.1);
  margin-bottom: 40px;
}

.works-divider-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 4px;
  color: rgb(5, 5, 59);
  text-transform: uppercase;
}




.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 40px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px 100px;
}

.work-card {
  width: 100%;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.work-card:hover {
  transform: translateY(-5px);
}

.work-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid #eee;
  margin-bottom: 20px;
  background-color: #f5f5f5;
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-card:hover .work-thumb img {
  transform: scale(1.05);
}

.work-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

.work-tag {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid #C48A00; /* シンプルな枠線 */
  border-radius: 20px;
  font-family: "Noto Serif JP", serif;
  font-size: 12px;
  color: #f5f3f3;
  background-color: transparent;
  letter-spacing: 0.5px;
}



.work-tag.personal {
  background-color: transparent;
  color: #A7C4D9;
}
.work-tag.client{
  background-color: transparent;
  color: #DABD8F;
}

.work-category {
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
  color: #888;
  letter-spacing: 1px;
}

.work-name {
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  color: #3d3c3c;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.5;
}



/* 写真スライダーセクション */
.photo-slider-section {
  padding: 100px 0;
  overflow: hidden; /* 横スクロール防止 */
  width: 100%;
}

.slider-container {
  width: 100%;
  margin-bottom: 40px;
  position: relative; /* ボタンの位置調整のため */
}

/* スライダーナビゲーションボタン */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #C48A00;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  color: #C48A00;
  backdrop-filter: blur(10px);
}

.slider-nav:hover {
  background-color: #C48A00;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.slider-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.slider-nav-prev {
  left: 80px;
}

.slider-nav-next {
  right: 80px;
}

.slider-nav svg {
  width: 24px;
  height: 24px;
}


.slider-track {
  display: flex;
  gap: 40px; /* スライド間の余白 */
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); /* ポンポンという動きのためのイージング */
  width: max-content; /* 中身に合わせて幅を確保 */
  padding: 0 20px;
}

.slide {
  width: 300px; /* スライドの幅 */
  height: 300px; /* 正方形に近い比率 */
  flex-shrink: 0;
  transition: all 0.5s ease;
  opacity: 0.3; /* 非アクティブ時はより薄く（残像を減らす） */
  transform: scale(0.9); /* 非アクティブ時は少し小さく */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slide.active {
  opacity: 1;
  transform: scale(1.1); /* アクティブ時は大きく */
  z-index: 10;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 画像全体を表示 */
  object-position: center;
}

/* ドットインジケーター */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  background-color: #ccc;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  cursor: pointer; /* クリック可能を示す */
}

.slider-dot:hover {
  background-color: #666; /* ホバー時に少し濃く */
}

.slider-dot.active {
  background-color: #333;
}

/* 画像拡大モーダル */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.image-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-image {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.4s ease;
}

.image-modal.active .modal-image {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.modal-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.modal-close svg {
  width: 24px;
  height: 24px;
}


/* タブレット大 (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .another-works {
    padding: 60px 40px;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .slide {
    width: 250px;
    height: 250px;
  }
  .site-subheading{
    font-size: 32px;
  }

  .slider-nav-prev {
    left: 60px;
  }

  .slider-nav-next {
    right: 60px;
  }
}

/* タブレット用 (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .another-works {
    padding: 50px 30px;
  }

  .site-subheading {
    font-size: 30px;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .work-name {
    font-size: 14px;
  }

  .slide {
    width: 220px;
    height: 220px;
  }

  .slider-track {
    gap: 25px;
  }


  .lang-link, .lang-separator {
    font-size: 14px;
    font-weight: 600;
  }

  .slider-nav-prev {
    left: 40px;
  }

  .slider-nav-next {
    right: 40px;
  }
}
/* スマホ用 (480px以下) */
@media (max-width: 480px) {
  html,
  body {
    overflow-x: hidden;
    width: 100%;
    display: block;
  }

  .another-works {
    padding: 30px 15px;
  }

  .site-subheading {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .work-name {
    font-size: 15px;
  }

  .work-tag, .work-category {
    font-size: 10px;
    padding: 3px 8px;
  }

  .slide {
    width: 150px;
    height: 150px;
  }

  .slider-track {
    gap: 15px;
  }

  .photo-slider-section {
    padding: 40px 0;
  }

  .slider-dot {
    width: 6px;
    height: 6px;
  }


  .lang-link, .lang-separator {
    font-size: 14px;
    font-weight: 600;
  }

  /* スライダーナビゲーションボタン（スマホ用） */
  .slider-nav {
    width: 36px;
    height: 36px;
  }

  .slider-nav-prev {
    left: 20px;
  }

  .slider-nav-next {
    right: 20px;
  }

  .slider-nav svg {
    width: 18px;
    height: 18px;
  }

  /* モーダルのレスポンシブ対応 */
  .modal-close {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
  }

  .modal-close svg {
    width: 20px;
    height: 20px;
  }

  .modal-image {
    max-width: 95%;
    max-height: 85vh;
  }
}

/* ==========================================================================
   Works About Section (No Photo, Text + Timeline)
   ========================================================================== */
.works-about-section {
  margin: 150px auto 100px;
  max-width: 1200px;
}

.works-about-section .site-subheading {
  margin-bottom: 95px;
}

.works-about-container {
  display: flex;
  gap: 80px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
  align-items: flex-start;
}

.works-about-profile {
  flex: 1.2;
}

.works-about-name {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  font-weight: 500;
  color: #2c1810;
  margin-bottom: 25px;
  letter-spacing: 2px;
}

.works-about-name .en-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  font-weight: 400;
  color: #c48a00;
  margin-left: 10px;
  letter-spacing: 1px;
}

.works-about-bio p {
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
  line-height: 1.8;
  color: #4e3f36;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-align: justify;
}

.works-about-bio p:last-child {
  margin-bottom: 0;
}

/* Resume PDF button */
.resume-button-container {
  margin-top: 35px;
}

.resume-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: 1px solid #c48a00;
  color: #c48a00;
  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  background-color: transparent;
  transition: all 0.4s ease;
  text-decoration: none;
}

.resume-button:hover {
  background-color: #c48a00;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(196, 138, 0, 0.15);
}

.resume-button i {
  font-size: 16px;
}

/* Timeline */
.works-about-timeline {
  flex: 1;
  position: relative;
  padding-left: 35px;
  box-sizing: border-box;
}

.works-about-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background-color: rgba(44, 24, 16, 0.12);
}

.works-timeline-events {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.works-timeline-event {
  position: relative;
}

.works-timeline-event::before {
  content: "";
  position: absolute;
  left: -40px; /* Aligns dot perfectly with vertical line */
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #c48a00;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px rgba(44, 24, 16, 0.12);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.works-timeline-event:hover::before {
  transform: scale(1.3);
  background-color: #2c1810;
}

.event-date {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  font-weight: 500;
  color: #c48a00;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.event-text {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
  line-height: 1.6;
  color: #555555;
  letter-spacing: 0.5px;
}

/* Fade-in Animation Initial State */
.works-about-profile,
.works-about-timeline {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(10px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.works-about-profile.fade-in-up,
.works-about-timeline.fade-in-up {
  opacity: 1;
  transform: translateY(0);
  filter: none;
}

/* Responsive adjustment */
@media screen and (max-width: 768px) {
  .works-about-section {
    margin: 100px auto 60px;
  }
  .works-about-section .site-subheading {
    margin-bottom: 50px;
  }
  .works-about-container {
    flex-direction: column;
    gap: 60px;
    padding: 0 30px;
  }
  .works-about-profile,
  .works-about-timeline {
    width: 100%;
  }
  .works-about-bio p {
    font-size: 12px;
    line-height: 1.7;
  }
  .works-about-name {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .works-about-name .en-name {
    font-size: 13px;
  }
  .resume-button {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
  .works-about-timeline {
    padding-left: 25px;
  }
  .works-timeline-event::before {
    left: -30px;
  }
  .works-page-subtitle {
    padding: 0 20px;
    font-size: 12px;
    margin-top: 5px;
    margin-bottom: 70px;
  }
}