:root {
  --color-base: #28292b;
  --color-bg: #fff;
  --color-white: #fff;
  --color-sub: #e8e0d8;
  --color-glay: #3c3d3f;
  --color-yellow: #f4ef96;
}

/* ベース */
body {
  font-weight: 400;
  font-style: normal;
  background: var(--color-bg);
  letter-spacing: 0.04em;
  font-family: "Poppins", "Noto Sans JP", sans-serif;
}

/* ========================================
   共通クラス
   ======================================== */

/* Poppins見出しフォント */
.font-heading {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* 本文テキスト */
.text-body {
  font-size: 14px;
  line-height: 2;
  color: var(--color-base);
  margin-top: 20px;
}

@media (max-width: 767px) {
  .text-body {
    font-size: 12px;
  }
}

.text-body:first-of-type {
  margin-top: 0;
}

/* flex縦並び */
.flex-column {
  display: flex;
  flex-direction: column;
}

/* ホバーリフト */
@media (min-width: 768px) {
  .hover-lift {
    transition: transform 0.2s;
  }
}

@media (min-width: 768px) {
  .hover-lift:hover {
    transform: translateY(-5px);
  }
}

/* ========================================
   電光掲示板（四辺マーキー）
   ======================================== */

.marquee {
  position: fixed;
  overflow: hidden;
  background: var(--color-white);
  ;
}

/* 上辺 */
.marquee-top {
  width: 100%;
  height: 30px;
  left: 0;
  top: 0;
  z-index: 9999;
  border-bottom: 1px solid var(--color-yellow);
}

/* 下辺 */
.marquee-bottom {
  width: 100%;
  height: 30px;
  left: 0;
  bottom: 0;
  z-index: 9999;
  border-top: 1px solid var(--color-yellow);
}

/* 左辺（横長の帯を-90°回転して左端に配置） */
@media (min-width: 768px) {
  .marquee-left {
    width: 100vh;
    height: 30px;
    left: 0;
    top: 100vh;
    z-index: 9998;
    border-bottom: 1px solid var(--color-yellow);
    transform-origin: top left;
    transform: rotate(-90deg);
  }

  /* 右辺（横長の帯を90°回転して右端に配置） */
  .marquee-right {
    width: 100vh;
    height: 30px;
    right: 30px;
    bottom: 0;
    z-index: 9998;
    border-bottom: 1px solid var(--color-yellow);
    transform-origin: bottom right;
    transform: rotate(90deg);
  }

}

/* トラック（横スクロール用） */
.marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee-scroll 200s linear infinite;
}

/* テキスト共通 */
.marquee-text {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0.04em;
  color: var(--color-yellow);
}

@media (max-width: 767px) {
  .marquee-text {
    font-size: 13px;
  }
}

/* 横スクロールアニメーション */
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}


/* ファーストビュー */
.fv {
  display: flex;
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

@media (max-width: 767px) {
  .fv {
    height: 100dvh;
  }
}

.fv-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 1;
}

/* テキストコンテナ */
.fv-text {
  position: relative;
  text-align: center;
  z-index: 2;
}

/* タイトル */
.fv-title {
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--color-base);
}

@media (max-width: 767px) {
  .fv-title {
    font-size: 32px;
  }
}

/* キャッチコピー */
.fv-catch-copy {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-base);
  margin-top: 12px;
}

@media (max-width: 767px) {
  .fv-catch-copy {
    font-size: 14px;
  }
}

/* タイピングアニメーション用 */
.fv-title,
.fv-catch-copy {
  visibility: hidden;
}

.fv-title.is-typing,
.fv-catch-copy.is-typing {
  visibility: visible;
}

/* 点滅カーソル */
.fv-cursor {
  display: inline-block;
  animation: blink-cursor 0.6s step-end infinite;
}

@keyframes blink-cursor {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* ========================================
   共通セクション
   ======================================== */

.section {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (max-width: 767px) {
  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

.section-inner {
  width: 92vw;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* セクションタイトル */
.section-title {
  /* display: flex;
  flex-direction: column;
  align-items: center; */
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--color-base);
  overflow: hidden;
  margin-bottom: 32px;
}

.section-title::after {
  display: block;
  width: 10px;
  height: 4px;
  background: var(--color-base);
  border-radius: 2px;
  content: "";
  /* animation: blink 1s step-end infinite; */
  margin-top: 8px;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@media (max-width: 767px) {
  .section-title {
    font-size: 28px;
    margin-bottom: 24px;
  }
}

/* セクションタイトル 出現アニメーション */
.section-title .section-title-char {
  display: inline-block;
  font-weight: inherit;
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  transition-delay: calc(0.04s * var(--char-index));
}

.section-title.is-active .section-title-char {
  transform: translateY(0);
}

/* セクションコンテンツ 出現アニメーション */
.section-content {
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  transition-delay: calc(0.12s * var(--content-index, 0));
}

.section-content.is-active {
  transform: translateY(0);
  opacity: 1;
}

/* 丸型ボタン */
.btn-round {
  display: inline-block;
  width: max-content;
  font-size: 12px;
  letter-spacing: 2px;
  line-height: 1;
  font-weight: 700;
  color: var(--color-white);
  text-decoration: none;
  text-align: center;
  background: var(--color-base);
  border-radius: 9999px;
  padding: 16px 32px;
}

@media (min-width: 768px) {
  .btn-round {
    transition: transform 0.3s;
  }
}

@media (min-width: 768px) {
  .btn-round:hover {
    transform: translateY(-5px);
  }
}


/* ========================================
   CONCEPT
   ======================================== */


/* ========================================
   WORKS
   ======================================== */

.section-works {
  background: var(--color-base);
}

.section-works .btn-round {
  color: var(--color-base);
  background: var(--color-sub);
  margin-bottom: 40px;
}

.section-works .section-title {
  color: var(--color-white);
}

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

@media (max-width: 767px) {
  .works-list {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.works-card-link {
  display: block;
  text-decoration: none;
  background: var(--color-sub);
  border-radius: 8px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .works-card-link {
    transition: transform 0.3s;
  }
}

@media (min-width: 768px) {
  .works-card-link:hover {
    transform: translateY(-5px);
  }
}

.works-card-image {
  width: 100%;
  overflow: hidden;
}

.works-card-image img {
  display: block;
  width: 100%;
  height: auto;
}

.works-card-title {
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-base);
  font-weight: bold;
  padding: 16px 24px;
}

@media (max-width: 767px) {
  .works-card-title {
    font-size: 12px;
    padding: 12px;
  }
}

/* ========================================
   OWNER
   ======================================== */

.owner-profile {
  width: 100%;
}

.owner-name {
  font-size: 20px;
  line-height: 1;
  margin-bottom: 12px;
}

@media (max-width: 767px) {
  .owner-name {
    font-size: 18px;
  }
}

.owner-role {
  color: var(--color-glay);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.owner-description {
  margin-bottom: 12px;
}

/* ========================================
   CONTACT
   ======================================== */

.section-contact {
  background: var(--color-base);
  padding-bottom: 120px;
}

@media (max-width: 767px) {
  .section-contact {
    padding-bottom: 20px;
  }
}

.section-contact .btn-round {
  color: var(--color-base);
  background: var(--color-sub);
  margin-bottom: 40px;
}

.section-contact .section-title {
  color: var(--color-white);
}

.contact-text {
  color: var(--color-white);
  margin-bottom: 30px;
}

/* ========================================
   フッター
   ======================================== */

.footer {
  width: 100vw;
  background: var(--color-glay);
  padding-top: 14px;
  padding-bottom: 43px;
}

.footer-nav {
  text-align: center;
  margin-bottom: 12px;
}

.footer-nav .footer-nav-link {
  font-size: 11px;
  color: var(--color-sub);
  text-decoration: none;
  letter-spacing: 0.04em;
}

@media (min-width: 768px) {
  .footer-nav .footer-nav-link {
    transition: color 0.2s;
  }
}

@media (min-width: 768px) {
  .footer-nav .footer-nav-link:hover {
    color: var(--color-white);
  }
}

.footer-copy {
  font-size: 12px;
  line-height: 1;
  color: var(--color-white);
  text-align: center;
}