/* 基本設定 */
:root {
  --black: #000;
  --gray: #999;
  --light-gray: #f0f0f0;
  --accent: #ff3b00;
  --bg: #fff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--black);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif; -webkit-font-smoothing: auto;
  overflow: hidden;
}

/* スクロールスナップ */
main {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

.snap-section {
  height: 100vh;
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10%;
}

/* ============================================
   HERO セクション
   ============================================ */
.mega-logo {
  width: 700px;
  height: auto;
  margin-bottom: 2rem;
}

/* ★追加：ロゴがボケた状態からはっきりするアニメーション */
.blur-in {
  animation: blurInAnime 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes blurInAnime {
  0% {
	filter: blur(15px);
	opacity: 0;
	transform: scale(1.05);
  }
  100% {
	filter: blur(0px);
	opacity: 1;
	transform: scale(1);
  }
}

.mega-text {
  font-size: 120px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.mega-text .small-ruby {
  display: block;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.1em;
  margin-bottom: -3.65em;
  transform: none;
}

/* ============================================
   共通要素
   ============================================ */
.corner-logo {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 90px;
  opacity: 0.7;
}

.container-narrow { max-width: 800px; }
.container-wide { max-width: 1100px; }

.section-label {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.6em;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

/* ★修正箇所：太さを強調 */
.bold-title {
  font-size: clamp(2.5rem, 5vw, 4.0rem);
  font-weight: 900; 
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
  -webkit-text-stroke: 1.5px var(--black);
  paint-order: stroke fill;
}

/* ============================================
   ABOUT セクション
   ============================================ */
.container-about {
  width: 100%;
  max-width: 950px; /* タイポ修正済 */
  margin: 0;
}

.about-header {
  margin-bottom: 1.3rem;
}

.about-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #000;
  margin-top: 0.5rem;
  max-width: 680px;
  font-weight: 900;
}

/* 2×2グリッド */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1.5rem;
  border-top: 1px solid #e5e5e5;
  padding-top: 1.5rem;
}

.about-item {
  position: relative;
  padding-left: 1.5rem;
}

.item-number {
  position: absolute;
  left: 0;
  top: 0.23rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.item-tag {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
  color: var(--black);
  display: inline-block;
  padding-bottom: 0.1rem;
  border-bottom: 2px solid var(--black);
}

.item-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #000;
  letter-spacing: 0.01em;
  font-weight: 900;
}

/* ============================================
   WORKS セクション
   ============================================ */
.works-minimal-list { list-style: none; margin-top: 1rem; }
.works-item { margin-bottom: 1.2rem; }
.works-item a { text-decoration: none; color: var(--black); display: flex; flex-direction: column; }
.work-name {
  font-size: 3.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}
.work-url {
  font-size: 0.75rem;
  color: var(--gray);
  opacity: 1;
  transition: opacity 0.4s ease;
}
.works-item a:hover .work-name { opacity: 1; font-weight: 400; }
.works-item a:hover .work-url { opacity: 1; }

/* ============================================
   CONTACT セクション
   ============================================ */
.huge-mail-link {
  font-size: clamp(1.2rem, 4vw, 3.5rem);
  font-weight: 900;
  text-decoration: underline;
  margin-bottom: 4rem;
  display: inline-block;
  color: var(--black);
}
.footer-meta { font-size: 0.9rem; color: var(--black); line-height: 2; }

/* ============================================
   レスポンシブ
   ============================================ */
@media (max-width: 900px) {
  .about-grid {
	grid-template-columns: 1fr;
	gap: 2rem;
  }
}

@media (max-width: 768px) {
  .snap-section { padding: 0 30px; }
  .mega-text { font-size: 14vw; }
  .work-name { font-size: 1.8rem; opacity: 1; }
  .work-url { opacity: 0.6; }
  .corner-logo { top: 20px; right: 20px; width: 45px; }
  .about-header { margin-bottom: 2.5rem; }
  .about-item { padding-left: 2.8rem; }
}

/* ============================================
  スクロール
   ============================================ */

/* 全体の位置調整 */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

/* 文字の設定（お好みで横書きでもOK） */
.scroll-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #333;
}

/* 矢印と線を囲むコンテナ */
.arrow-wrapper {
  position: relative;
  width: 20px;  /* 「く」の字が収まる幅を確保 */
  height: 60px; /* 全体の高さ */
  display: flex;
  justify-content: center;
}

/* 垂直の線 */
.scroll-line {
  display: block;
  width: 1px;
  height: 100%;
  background: rgba(0, 0, 0, 0.1); /* ベースの薄い線 */
  position: relative;
  overflow: hidden; /* ここでアニメーションをカットする */
}

/* 線の中を流れるアニメーション */
.scroll-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #333;
  animation: scroll-anim 2.0s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}

/* 先端の「く」の字：overflowの外に出す */
.arrow-head {
  position: absolute;
  bottom: 0;
  width: 8px;
  height: 8px;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
  transform: rotate(45deg);
}

/* 線が上から下に流れるアニメーション */
@keyframes scroll-anim {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}