/* ===========================
  heroセクション
=========================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 100svh;
  width: 100%;
  padding-block: 6em;

}
/* 下部のグラデーション */
.hero::before {
  content: "";
  position: absolute;
  width: 100%;
  inset: 0;
  background: linear-gradient(0deg, var(--color--bg--1) 1rem, transparent 25%);
}


/* 背景固定画像 */
.fixed-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -100; /* 奥に配置 */
  will-change: transform;
}
.fixed-bg > img {
  /* わずかに拡大して没入感を出す */
  transform: scale(1.05);
  min-width: 100%;
  /* カラー調整 */
  filter: grayscale(0.5) sepia(0.4) brightness(0.5) contrast(0.9);
  opacity: 0.9;
}

/* ===========================
  メインコピー（縦書き） */
.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  top: -2rem;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: 10svh;
  z-index: 1;
}

.hero__copy {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero__copy-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 2rem;
  font-weight: 700;
  line-height: 2.5;
  letter-spacing: 0.1em;
  color: #fff;
  /* text-shadow:
    0 1px 4px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 0, 0, 0.2); */
  }

/* ===========================
  ロゴ（下部中央） */
.hero__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.hero__logo-mark {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero__logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero__logo-name {
  font-size: var(--font-size--xs);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* ===========================
  worksセクション
=========================== */
.section-works {
  display: flex;
  justify-content: space-between;
  /* margin-bottom: 120px; */
  position: relative;
  padding-block: 8em;
  background-color: var(--color--bg--1);
  z-index: 0;
}

.section-works::after {
  content: "";
  width: 70%;
  height: clamp(25.938rem, 12.188rem + 28.65vw, 46.563rem);
  /* min-height: 420px; */
  background: var(--gradation-color--bg);
  display: block;
  position: absolute;
  top: clamp(12.5rem, 8.333rem + 5.56vw, 15rem);
  left: 0;
  z-index: -1;
}

.section-works .section-text {
  padding: 0 6% 0 4%;
}
.section-works .section-title__main {
  font-size: var(--font-size--3xl);
  margin-bottom: 40px;
}
.section-works .description {
  font-size: var(--font-size--sm);
  line-height: 1.8;
  margin-bottom: 20px;
}
.section-works .btn {
  margin-top: 30px;
  position: relative;
  border-radius: var(--radius--md);
  z-index: 10;
}
.section-works .btn::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -10;
  border-radius: var(--radius--md);
  background: var(--color--bg--2);
  transform-origin: 100% 50%;
  transform: scaleX(0);
  transition: transform ease 0.3s;
}
.section-works .btn:hover {
  color: var(--color--text--1);
  opacity: 1;
}
.section-works .btn:hover::before {
  transform-origin: 0% 50%;
  transform: scaleX(1);
}


.section-works .works-list {
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  margin-top: 170px;
}
.section-works .works-list li {
  max-width: 500px;
}


/* ===========================
  レスポンシブ
=========================== */
@media (width <= 1920px) {
  /* .hero__copy-text {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  } */

  /* .hero__logo-mark {
    width: 100px;
    height: 100px;
  } */

  .section-works::after {
    top: clamp(11.563rem, 9.688rem + 3.91vw, 14.375rem);

    /* height: clamp(25.938rem, 12.188rem + 28.65vw, 46.563rem); */

  }

}

@media (width <= 768px) {
  .section-works {
    flex-direction: column;
  }

  .section-works::after {
    width: 100%;
    top: clamp(10.625rem, 9.73rem + 3.82vw, 11.563rem);
    height: 300px;
  }

.section-works .works-list {
  margin-top: clamp(4.063rem, 0.186rem + 16.54vw, 8.125rem);
}


}
