body {
    margin: 0;
    height: 100vh;
    position: relative; /* 絶対配置の基準 */
  }

  html, body {
    margin: 0;
    height: 100vh;
  }
  
  /* タイトルは中央 */
  .portfolio_title {
    font-family: "helvetica-neue-lt-pro", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 28px;
    transform: translate(-50%, -50%) scale(1.2, 1);
    display: inline-block;      /* scale を効かせるために必要 */
    letter-spacing: -2px;
    position: absolute;
    top: 50%;
    left: 50%;
  }
  
  /* リンクを自由に配置 */
  .top_text1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    position: absolute;
    top: 160px;
    left: 220px;
    letter-spacing: -1px;
    color: blue;
  }
  
  .top_text2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    position: absolute;
    top: 280px;
    right: 300px;
    letter-spacing: -1px;
    color: blue;
  }
  
  .top_text3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    position: absolute;
    bottom: 200px;
    left: 380px;
    letter-spacing: -1px;
    color: blue;
  }

  .page_title{
    font-family: "helvetica-neue-lt-pro", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 28px;
    letter-spacing: -2px;
    padding-top: 30px;
    margin-bottom: 70px;
    padding-right: 10px; /* 右に余白 */
    padding-left: 60px;  /* 左に余白（必要なら） */
  }

  .page_title2{
    font-family: "helvetica-neue-lt-pro", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 28px;
    letter-spacing: -2px;
    padding-top: 30px;
    padding-right: 10px; /* 右に余白 */
    padding-left: 60px;  /* 左に余白（必要なら） */
  }

  .about_text {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0.5px;
    width: 500px;       /* 横幅だけ指定 */
    word-wrap: break-word; /* 長い単語があっても折り返す */
  }

  .vision_text {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0.5px;
    width: 1000px;       /* 横幅だけ指定 */
    word-wrap: break-word; /* 長い単語があっても折り返す */
  }


  .about {
    display: flex;
    gap: 20px;
    padding-right: 10px; /* 右に余白 */
    padding-left: 60px;  /* 左に余白（必要なら） */
    box-sizing: border-box; /* paddingを幅に含める */
  }

  .bio{
    margin-right: 100px;
  }

  .top_text{
    font-family: "helvetica-neue-lt-pro", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 22px;
    letter-spacing: -2px;
    margin-bottom: 30px;
  }

  .back_to_top {
    position: fixed;      /* fixed にする */
    bottom: 50px;
    right: 70px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    letter-spacing: -1px;
    z-index: 10;          /* 他の要素より上に表示 */
    color: blue;
  }

  .back_to_works {
    position: fixed;      /* fixed にする */
    bottom: 30px;
    right: 70px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    letter-spacing: -1px;
    z-index: 10;          /* 他の要素より上に表示 */
    color: blue;
  }

/* worksのボックス */
.box-link {
  position: relative;   /* テキストの絶対配置の基準 */
  width: 445px;
  height: 390px;
  border: 0.5px solid #000000;
  text-decoration: none;
  color: inherit;
}

.box-link img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ボックスにフィット */
  opacity: 0.7; /* 通常時の透明度（不透明） */
  transition: opacity 0.3s ease; /* ホバー時の変化を滑らかにする */
}

.box-link:hover img {
  opacity: 0.2; /* ホバー時の透明度（半透明） */
}

.box-link p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.1, 1);
  font-family: "helvetica-neue-lt-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  letter-spacing: -2px;
  margin: 0;
  text-align: center;
  white-space: nowrap; /* 改行禁止 */
}

/* 横並びレイアウト */
.works_boxes {
  display: flex;
  justify-content: center;
  margin: 20px 40px 0px 40px;
}

.works_boxes2 {
  display: flex;
  justify-content: center;
  margin: 0px 40px 40px 40px;
}

/* 横長ボックス */
.box-link2 {
  position: relative;   /* 中央配置の基準に必要 */
  width: 890px;
  height: 190px;
  border: 0.5px solid #000000;
  text-decoration: none;
  color: inherit;
}

.box-link2 img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 縦横比を維持して埋める */
  opacity: 0.7; /* 通常時の透明度（不透明） */
  transition: opacity 0.3s ease; /* ホバー時の変化を滑らかにする */
}

.box-link2:hover img{
  opacity: 0.2; /* ホバー時の透明度（半透明） */
}

.box-link2 p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.1, 1);
  font-family: "helvetica-neue-lt-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  letter-spacing: -2px;
  margin: 0;
  text-align: center;
  white-space: nowrap;
}

/* 縦長ボックス */
.box-link3 {
  position: relative;   /* 中央配置の基準に必要 */
  width: 445px;
  height: 190px;
  border: 0.5px solid #000000;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.box-link3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7; /* 通常時の透明度（不透明） */
  transition: opacity 0.3s ease; /* ホバー時の変化を滑らかにする */
}

.box-link3:hover img{
  opacity: 0.2; /* ホバー時の透明度（半透明） */
}

.box-link3 p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.1, 1);
  font-family: "helvetica-neue-lt-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  letter-spacing: -2px;
  margin: 0;
  text-align: center;
  white-space: nowrap;
}

/* works中身 */
.top_text_year{
  font-family: "helvetica-neue-lt-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 12px;
  letter-spacing: -1px;
  padding-top: 30px;
  line-height: 1;
  margin:0;
  color: #9b9b9b;
}

.works_text{
  font-family: "helvetica-neue-lt-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  letter-spacing: -2px;
  line-height: 1;
  margin: 0;
  padding-top: 5px;
}

.video-wrapper {
  width: 100%;
  max-width: 1730px;       /* 最大幅 */
  padding-right: 10px; /* 右に余白 */
  padding-left: 60px;  /* 左に余白（必要なら） */
  box-sizing: border-box; /* paddingを幅に含める */
  padding-top: 50px;
}

.video-wrapper iframe {
  width: 96%;
  aspect-ratio: 16 / 9;    /* 16:9比率で固定 */
  border: none;
  display: block;
}


.works_text2 {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.5px;
  width: 1000px;       /* 横幅だけ指定 */
  word-wrap: break-word; /* 長い単語があっても折り返す */
  padding-top: 25px;
  margin-bottom: 50px;
}

/* other works */

.work_item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.work_item:hover img {
  opacity: 50%;
  transition: opacity 0.1s ease;
}

.works_text{
  font-family: "helvetica-neue-lt-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  letter-spacing: -2px;
  line-height: 1;
  margin: 0;
  padding-top: 5px;
}

.works_section {
  margin-top: 50px;
  padding: 0 60px 100px; /* 左右余白を揃える */
  max-width: 1730px;     /* ページ全体の最大幅 */
  margin-left: auto;
  margin-right: auto;
}

.works_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 均等に2分割 */
  gap: 130px; /* 動画同士の間隔 */
}

.work_item {
  width: 100%;
  max-width: 700px; /* 画面が広すぎるときの最大サイズ */
  margin: 0 auto;   /* 各動画を中央に配置 */
}

.work_item iframe {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
}
.other_page_title {
  font-family: "helvetica-neue-lt-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 28px;
  letter-spacing: -2px;
  padding-top: 30px;
  margin-bottom: 100px;
  padding-right: 10px; /* 右に余白 */
  padding-left: 60px;  /* 左に余白 */
  max-width: 1730px;   /* 動画部分と同じ幅に制限 */
  margin-left: auto;
  margin-right: auto;  /* 中央に配置 */
}

.other_text{
  font-family: "helvetica-neue-lt-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  letter-spacing: -1px;
  line-height: 1;
  margin: 0;
  padding-top: 5px;
}

.tau_image video,
.tau_image img {
  display: block;   /* 縦に並べる */
  width: 91%;     /* 横幅を300pxに調整 */
  height: auto;     /* 縦横比を保つ */
  padding-right: 10px;
  padding-left: 60px;  
  padding-top: 20px;
}

.tauworks_about {
  display: flex;
  gap: 20px;
  padding-right: 10px; /* 右に余白 */
  padding-left: 60px;  /* 左に余白（必要なら） */
  box-sizing: border-box; /* paddingを幅に含める */
  margin-top: 100px;
}

.unknown{
  padding-top: 80px;
}

body.scroll {
  overflow: auto;   /* 普通にスクロール可能 */
}

body.no-scroll {
  overflow: hidden; /* スクロール禁止 */
}