* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', 'Poppins', sans-serif;
    color: #333;
    background-color: #fff;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 16px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    z-index: 100;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
}
header a {
  color: inherit;
  text-decoration: none;
}

header img.logo { height: 48px; }
nav a {
    margin-left: 32px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.95em;
    color: #333;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: opacity 0.3s;
}
nav a:hover { opacity: 0.7; }

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, #1e1b3a, #2b225c);
}

#heroCanvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    padding: 20px;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5em;
    margin: 0.5em 0 0.2em;
}

p.lead {
    font-size: 1.4em;
    margin-bottom: 1em;
    line-height: 1.6;
}

.section {
    position: relative;
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(to bottom, #ffffff, #f7f7f7);
    overflow: hidden;
}
.section:nth-of-type(even) {
    background: linear-gradient(to bottom, #f7f7f7, #ffffff);
}

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

.section-title,
.section-description,
.idol-cards,
.contact-form {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.5em;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #555;
}

.idol-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
}

.idol-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    padding: 20px;
    width: 340px;
    text-align: center;
    transition: transform 0.3s ease;
}

.idol-card:hover { transform: translateY(-5px); }

.idol-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 12px;
}

/* 以下は続きます ↓↓↓ */

    form.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.x-logo {
    background-color: #000;
    border-radius: 8px;
    padding: 4px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
}

form.contact-form input,
form.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form.contact-form button {
    background-color: #1e1b3a;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

iframe.map {
    width: 100%;
    max-width: 600px;
    height: 300px;
    border: 0;
    margin-top: 20px;
}

.footer {
    background: linear-gradient(to right, #f1f1f1, #e6e6e6);
    text-align: center;
    padding: 40px 20px;
    font-size: 0.9em;
    color: #555;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px;
  }

  header nav {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  nav a {
    margin-left: 0;
    font-size: 0.9em;
  }

  h1 {
    font-size: 2em;
  }

  p.lead {
    font-size: 1em;
  }

  .idol-cards {
    flex-direction: column;
    align-items: center;
  }

  .idol-card {
    width: 90%;
  }

  form.contact-form {
    padding: 0 10px;
  }

  iframe.map {
    width: 100%;
    height: 240px;
  }
}