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

:root {
    --primary-color: #ff6b9d;
    --secondary-color: #c471ed;
    --accent-color: #f093fb;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-alt: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    padding: 1rem 0;
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ff6b9d 0%, #c471ed 50%, #f093fb 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.85;
}

.hero-image {
    margin-bottom: 2rem;
}

.band-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Section */
.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--bg-alt);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.content-card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.content-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.content-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-card p:last-child {
    margin-bottom: 0;
}

/* Content Box */
.content-box {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.content-box p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-color);
    font-size: 1.1rem;
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color);
    text-align: center;
}

.concept-text {
    background-color: var(--bg-alt);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
}

.concept-summary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    text-align: center;
}

.concept-summary h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.concept-summary p {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.95;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
    line-height: 1.8;
}

.feature-list li:last-child {
    border-bottom: none;
}

.mood-text {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    text-align: center;
    margin: 1rem 0;
}

.video-link {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.external-link {
    color: var(--primary-color);
    text-decoration: none;
    word-break: break-all;
    transition: color 0.3s ease;
}

.external-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Structure Box */
.structure-box {
    margin-top: 4rem;
    padding: 3rem;
    background-color: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.structure-box h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.structure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.structure-card {
    background-color: var(--bg-alt);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.structure-card-protected {
    background-color: #fff5f5;
    border-color: var(--primary-color);
}

.structure-card h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.structure-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.structure-list {
    list-style: none;
    padding: 0;
}

.structure-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
}

.structure-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.protected-note {
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 6px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.official-note {
    background-color: var(--bg-alt);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.official-note p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.official-note p:first-child {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.important-note {
    background-color: #fff5f5;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin-top: 1rem;
    font-weight: 500;
}

/* Members Section */
.members-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
}

.members-box p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.8;
}

.members-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.members-image {
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.member-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.member-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.member-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.member-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.member-english {
    font-size: 1rem;
    opacity: 0.9;
    font-style: italic;
}

.member-content {
    padding: 2rem;
}

.member-content h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.member-content h4:first-child {
    margin-top: 0;
}

.member-definition {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background-color: var(--bg-alt);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.member-attributes,
.member-role {
    list-style: none;
    padding: 0;
    margin: 0;
}

.member-attributes li,
.member-role li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
    line-height: 1.6;
}

.member-attributes li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.member-role li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.member-note {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #fff5f5;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    color: var(--text-color);
    font-size: 0.95rem;
}

.members-reference {
    background-color: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

.members-reference h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

.reference-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.reference-item {
    padding: 1rem;
    background-color: var(--bg-alt);
    border-radius: 8px;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: var(--text-color);
    border: 2px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.reference-item:hover {
    border-color: var(--primary-color);
}

.members-concept {
    background-color: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

.members-concept h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

.concept-box {
    max-width: 900px;
    margin: 0 auto;
}

.concept-box p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-color);
    font-size: 1.05rem;
}

.concept-important {
    background-color: var(--bg-alt);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
}

.members-link-box {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-alt);
    border-radius: 12px;
}

.link-note {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
    margin: 0;
}

/* Terms Box */
.terms-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
}

.terms-box p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.8;
}

/* Songs Section */
.songs-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.song-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.song-card:hover {
    box-shadow: var(--shadow-lg);
}

.song-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.song-members {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.song-content {
    margin-top: 1.5rem;
}

.song-link {
    margin-bottom: 1rem;
}

.youtube-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.youtube-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.song-media {
    margin-bottom: 1.5rem;
}

.audio-note {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.audio-player {
    width: 100%;
    max-width: 500px;
    margin-top: 1rem;
    border-radius: 8px;
}

.audio-player::-webkit-media-controls-panel {
    background-color: var(--bg-alt);
}

.audio-player::-webkit-media-controls-play-button {
    background-color: var(--primary-color);
    border-radius: 50%;
}

.song-images {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.song-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Terms Content */
.terms-content {
    max-width: 900px;
    margin: 0 auto;
}

.terms-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-alt);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.terms-article {
    background-color: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.terms-article h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.terms-article p {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.terms-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.terms-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
    line-height: 1.6;
}

.terms-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.terms-ordered-list {
    margin: 1rem 0;
    padding-left: 2rem;
}

.terms-ordered-list li {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.terms-note {
    background-color: #fff5f5;
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    margin-top: 1rem;
    font-size: 0.95rem;
}

.terms-summary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.terms-summary h2,
.terms-summary p {
    color: white;
}

.summary-box {
    margin-top: 2rem;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.summary-box blockquote {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.8;
}

.summary-box blockquote p {
    margin-bottom: 1rem;
}

.summary-box blockquote p:last-child {
    margin-bottom: 0;
}

/* Example Link */
.example-link {
    margin-top: 2rem;
    text-align: center;
}

.example-link a {
    font-size: 1.1rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-light);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-button {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.submit-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .content-grid,
    .services-grid,
    .structure-grid,
    .members-grid,
    .reference-table {
        grid-template-columns: 1fr;
    }

    .content-box {
        padding: 2rem 1.5rem;
    }

    .structure-box {
        padding: 2rem 1.5rem;
    }

    .members-concept,
    .members-reference {
        padding: 2rem 1.5rem;
    }

    .member-content {
        padding: 1.5rem;
    }

    .song-card {
        padding: 2rem 1.5rem;
    }

    .terms-article {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 5rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .band-image {
        max-width: 100%;
    }

    .content-box,
    .structure-box {
        padding: 1.5rem;
    }

    .lead-text {
        font-size: 1.1rem;
    }

    .nav-menu {
        gap: 0.75rem;
        font-size: 0.85rem;
    }

    .member-header {
        padding: 1rem;
    }

    .member-emoji {
        font-size: 2rem;
    }

    .member-name {
        font-size: 1.3rem;
    }

    .members-concept h3 {
        font-size: 1.5rem;
    }

    .members-reference h3 {
        font-size: 1.3rem;
    }

    .members-image {
        max-width: 100%;
    }

    .song-card {
        padding: 1.5rem;
    }

    .song-title {
        font-size: 1.5rem;
    }

    .terms-article {
        padding: 1.5rem;
    }

    .terms-article h2 {
        font-size: 1.3rem;
    }

    .song-image {
        max-width: 100%;
    }
}
