:root {
  --bg: #0E0E0E;
  --text: #EDEDED;
  --sub: #888888;
  --accent: #7C6EFF;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  /* 日本語の美しさを引き出すために Noto Sans JP を優先 */
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 800px;
  width: 90%;
  text-align: center;
}

.logo {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  font-weight: 600;
  /* さらに近づけるためにマージンを縮小 */
  margin-bottom: 24px; 
  color: var(--sub);
}

.philosophia {
  margin-bottom: 120px;
}

.statement {
  /* clamp関数を使って、画面幅に合わせて1rem〜1.5remの間で文字サイズを可変にします */
  font-size: clamp(1rem, 4vw, 1.5rem); 
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.05em;
  color: var(--text);
  
  /* 絶対に改行させない設定 */
  white-space: nowrap; 
}
.projects {
  margin-bottom: 140px;
}

.project-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.label {
  font-size: 0.7rem;
  color: var(--sub);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.product-link {
  font-size: 2rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.product-link:hover {
  opacity: 0.7;
}

.legal {
  font-size: 0.8rem;
  color: var(--sub);
  line-height: 2;
  font-family: 'Inter', sans-serif;
}

.legal p {
  white-space: nowrap;
}

.legal a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(136, 136, 136, 0.3);
  transition: border-bottom 0.3s;
}

.legal a.no-break {
  white-space: nowrap;
}

.legal a:hover {
  border-bottom: 1px solid var(--sub);
}

.fade-in {
  animation: fadeIn 2.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* スマホ等、非常に幅が狭いデバイス向けの微調整 */
@media (max-width: 400px) {
  .statement {
    /* 画面幅いっぱいに文字が収まるよう、vw（ビューポート幅）でサイズを決定します */
    font-size: 4.2vw; 
  }
}