/* ======================================================
   style.css — 完全版 (index.html 用・共通スタイル)
   - header / hero / strip / contact form / footer / toTop
   - レスポンシブ対応
   ====================================================== */

/* Reset-ish */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

/* Root variables */
:root{
  --bg-0: #000000;
  --bg-1: #000000;
  --panel: #000000;
  --muted: #cfcfcf;
  --accent: #ffffff;
  --container: 1100px;
  --radius: 10px;
}

/* Base */
body{
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(180deg, var(--bg-0), var(--bg-1));
  color: #eee;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  min-height: 100vh;
}

/* Utility container */
.container{
  width: 95%;
  max-width: var(--container);
  margin: 0 auto;
}

/* SITE WRAP (helps footer stick) */
.site-wrap{ min-height: 100vh; display:flex; flex-direction:column; }

/* ===== Header ===== */
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 22px;
  background: linear-gradient(180deg, rgba(0,0,0,0.36), rgba(0,0,0,0.08));
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(255,255,255,0.02);
}
.brand{ display:flex; align-items:center; gap:12px; }
.logo{ height:40px; display:block; }
.brand-title{ font-family: 'Press Start 2P', monospace; font-size: 11px; color: var(--accent); letter-spacing: 1px; }

/* nav */
.nav{ display:flex; align-items:center; gap:14px; }
.nav a{
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  padding:6px 8px;
  border-radius:6px;
}
.nav a:hover{ color: #fff; background: rgba(255,255,255,0.03); }
.nav a.active{ color: var(--accent); }

/* make room for fixed header */
main, section, footer { padding-top: 76px; }

/* ===== HERO ===== */
.hero{
  min-height: calc(100vh - 76px);
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
  padding: 32px 12px;
}

/* inner text block */
.hero-inner{
  z-index: 3;
  max-width: 980px;
  text-align: center;
  padding: 40px 16px;
}
.hero-title{
  font-family: 'Press Start 2P', monospace;
  font-size: 64px;
  letter-spacing: 6px;
  color: var(--accent);
  margin-bottom: 10px;
  line-height: 1;
}
.hero-sub{
  color: #d8d8d8;
  margin-bottom: 20px;
  font-size: 15px;
}

/* CTA buttons */
.hero-cta{ display:flex; gap:12px; justify-content:center; margin-top: 12px; flex-wrap:wrap; }
.btn{
  display:inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight:700;
  border: 1px solid rgba(255,255,255,0.06);
  color: #fff;
  background: transparent;
}
.btn:hover{ transform: translateY(-2px); transition: transform 0.16s ease; }
.btn-primary{ background: var(--accent); color: #111; border: none; }

/* decorative hero art (background image, faint) */
.hero-art{
  position: absolute;
  right: -5%;
  bottom: -5%;
  z-index: 1;
  opacity: 0.12;
  transform: scale(1.12);
  pointer-events: none;
}
.hero-art img{ max-width: 720px; display:block; filter: saturate(0.95) contrast(1.02); }

/* ===== strip ===== */
.strip{
  padding: 12px 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.01), rgba(255,255,255,0.02));
}
.strip p { color: #d3d3d3; font-size: 14px; text-align: center; }

/* ===== CONTACT FORM ===== */
.section{ padding: 40px 0 60px; }
.section.dark{ background: transparent; }
.section.light{ background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent); }

h2{
  font-family: 'Press Start 2P', monospace;
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 18px;
}

/* form block */
form{
  max-width: 780px;
  background: rgba(255,255,255,0.02);
  padding: 18px;
  border-radius: 10px;
  margin-top: 6px;
}
form label{ display:block; margin-bottom: 12px; font-size: 14px; color:#e8e8e8; }
input[type="text"], input[type="email"], textarea{
  width:100%;
  padding:10px 12px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  color: #fff;
  outline: none;
  font-size: 14px;
}
textarea{ resize: vertical; min-height: 90px; max-height: 300px; }

.form-actions{ display:flex; gap:12px; margin-top: 8px; flex-wrap:wrap; }
.form-actions .btn{ font-size: 14px; }

/* small note */
.note{ color:#bfbfbf; margin-top:10px; font-size:13px; }

/* ===== FOOTER ===== */
.site-footer{
  margin-top: auto;
  padding: 18px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.02);
}
.site-footer small{ color:#9a9a9a; }

/* ===== toTop button ===== */
#toTop{
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: rgba(0,0,0,0.5);
  border: none;
  padding: 10px 12px;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display:none;
  z-index: 120;
}

/* ===== small screens ===== */
@media (max-width: 900px){
  .hero-title{ font-size: 36px; letter-spacing: 3px; }
  .brand-title{ display: none; }
  .logo{ height: 34px; }
  .hero-inner{ padding: 28px 8px; }
  .hero-art{ display: none; }
  .nav{ gap: 8px; }
  main, section, footer { padding-top: 68px; }
}

@media (max-width: 480px){
  .hero-title{ font-size: 28px; }
  .hero-sub{ font-size: 13px; }
  form{ padding: 14px; }
  .form-actions{ flex-direction: column; }
}
/* ===== CHARACTER SLIDER ===== */
.slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 40px;
  }
  
  .slides-wrapper {
    width: 100%;
    max-width: 720px;
    overflow: hidden;
    position: relative;
  }
  
  .slide {
    text-align: center;
    display: none;
    flex-direction: column;
    align-items: center;
  }
  
  .slide.active {
    display: flex;
  }
  
  .char-img {
    width: 360px;
    height: auto;
    image-rendering: pixelated;
    margin-bottom: 20px;
  }
  
  .char-name {
    font-family: 'Press Start 2P', sans-serif;
    font-size: 22px;
    margin: 8px 0;
  }
  
  .char-desc {
    font-size: 18px;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto;
  }
  
  .slide-btn {
    border: none;
    background: #fff;
    font-size: 30px;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 6px;
    transition: 0.2s;
  }
  .slide-btn:hover {
    background: #ffe558;
  }
  
  /* responsive */
  @media (max-width: 640px) {
    .char-img { width: 260px; }
    .char-name { font-size: 18px; }
    .char-desc { font-size: 15px; }
  }
  