@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700&family=Shippori+Mincho:wght@400;700&display=swap');

:root {
  --bg-color: #0f1014;
  --text-main: #f0f0f0;
  --text-sub: #8b8b8b;
  --accent-blue: #667eea;
  --accent-pink: #f093fb;
  --font-main: 'Shippori Mincho', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
}

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

body {
  background-color: var(--bg-color);
  background-image: linear-gradient(rgba(102, 126, 234, 0.03) 1px, transparent 1px),
  linear-gradient(90deg, rgba(102, 126, 234, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.8;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Vertical Text Decoration */
.vertical-text-deco {
  position: fixed;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-main);
  font-size: 1.2rem;
  letter-spacing: 0.5em;
  color: var(--text-sub);
  opacity: 0.3;
  z-index: 0;
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  text-align: center;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    text-align: left;
    gap: 4rem;
  }
}

.hero-image-wrapper {
  position: relative;
  display: inline-block;
}

.hero-image {
  width: 280px;
  height: 280px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 20px 20px 0px rgba(102, 126, 234, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image:hover {
  transform: translate(-5px, -5px);
  box-shadow: 25px 25px 0px rgba(240, 147, 251, 0.4);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.jp-title {
  font-family: var(--font-main);
  font-size: 5rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
  letter-spacing: -0.05em;
  text-shadow: 2px 2px 0px rgba(102, 126, 234, 0.3);
}

.jp-title span {
  display: inline-block;
  background: linear-gradient(120deg, var(--accent-blue), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.en-subtitle {
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-sub);
  margin-bottom: 2rem;
}

.description {
  margin-bottom: 2rem;
  font-size: 1rem;
  max-width: 400px;
}

/* Links */
.links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 768px) {
  .links {
    justify-content: flex-start;
  }
}

.link-item {
  position: relative;
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.1rem;
  padding-bottom: 5px;
  transition: color 0.3s ease;
}

.link-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-pink));
  transition: width 0.3s ease;
}

.link-item:hover {
  color: var(--accent-blue);
}

.link-item:hover::after {
  width: 100%;
}

.jp-label {
  display: block;
  font-size: 0.7rem;
  color: var(--accent-pink);
  font-weight: 700;
  margin-bottom: 4px;
  font-family: var(--font-sans);
  letter-spacing: 0.1em;
  opacity: 0.8;
}

/* Decorative Elements */
.circle-deco {
  position: fixed;
  width: 50vh;
  height: 50vh;
  border: 1px solid rgba(102, 126, 234, 0.1);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
}

.circle-deco::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  border: 1px dashed rgba(240, 147, 251, 0.1);
  border-radius: 50%;
}

.dots-deco {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(var(--accent-blue) 1px, transparent 1px);
  background-size: 10px 10px;
  opacity: 0.3;
  z-index: -1;
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  color: var(--text-sub);
}
