:root {
    --primary-color: #333;
    --accent-color: #d4a373;
    --text-color: #333;
    --bg-color: #fff;
    --bg-gray: #f8f9fa;
    --bg-dark: #1a1a1a;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

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

.bg-dark {
    background-color: var(--bg-dark);
    color: #fff;
}

.text-white {
    color: #fff;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 2px;
    position: relative;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo .sub {
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 3px;
    margin-top: 2px;
    color: var(--accent-color);
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    position: absolute;
    transition: var(--transition);
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 9px; }
.mobile-menu-btn span:nth-child(3) { bottom: 0; }

/* Hero */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    padding: 0 20px;
}

#hero h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    letter-spacing: 5px;
    font-weight: 700;
}

.subtitle {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 5px;
    color: var(--accent-color);
    margin-bottom: 30px;
    text-transform: uppercase;
}

.description {
    margin-bottom: 40px;
    color: #666;
}

/* スクロールエフェクト用 */
#hero h1,
#hero .subtitle,
#hero .description,
#hero .hero-links {
    will-change: transform, opacity;
}

.hero-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary {
    background-color: #1da1f2; /* Twitter Blue */
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: #0c85d0;
    transform: translateY(-2px);
}

/* Profile */
.profile-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.profile-image {
    flex: 1;
    max-width: 400px;
}

.profile-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.profile-info {
    flex: 1;
}

.profile-info h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.profile-info .en {
    font-size: 1rem;
    font-family: var(--font-heading);
    color: #999;
    margin-left: 10px;
    font-weight: 400;
}

.profile-list {
    display: grid;
    gap: 15px;
}

.profile-item {
    display: flex;
    border-bottom: 1px dotted #eee;
    padding-bottom: 5px;
}

.profile-item dt {
    width: 100px;
    font-weight: 700;
    color: var(--accent-color);
}

.source-link {
    margin-top: 20px;
    font-size: 0.8rem;
    text-align: right;
}

.social-links {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    background-color: #f0f0f0;
    color: #333;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.note {
    font-size: 0.8rem;
    color: #999;
    margin-top: 10px;
}

/* Biography */
#biography-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

#biography-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin: 60px 0 40px;
    text-align: center;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 20px 0;
    margin-bottom: 40px;
}

/* 縦線 */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: #e0e0e0;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 60px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* マーカー（点） */
.timeline-marker {
    position: absolute;
    left: 13px; /* 20px(line) - 8px(half width) + 1px(center adjust) */
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--accent-color);
    z-index: 1;
    transition: var(--transition);
}

.timeline-item:hover .timeline-marker {
    background: #fff;
    box-shadow: 0 0 0 4px var(--accent-color);
}

.timeline-content {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    transition: var(--transition);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* 吹き出しの三角 */
.timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #fff;
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
    line-height: 1;
    display: inline-block;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 5px;
}

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

.timeline-list li {
    margin-bottom: 12px;
    line-height: 1.6;
    border-bottom: 1px dashed #eee;
    padding-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

.timeline-list li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.timeline-list .date {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #888;
    margin-right: 10px;
    font-size: 0.9rem;
    min-width: 40px;
}

.timeline-list .company {
    font-size: 0.8rem;
    color: #666;
    margin-right: 8px;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
}

.timeline-list .title {
    font-weight: 500;
    margin-right: 8px;
}

.timeline-list .role {
    font-size: 0.85rem;
    color: #999;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .timeline::before {
        left: 10px;
    }
    .timeline-marker {
        left: 3px;
    }
    .timeline-item {
        padding-left: 40px;
    }
    .timeline-content {
        padding: 15px;
    }
    .timeline-year {
        font-size: 1.2rem;
    }
}

/* Discography */
.official-link {
    text-align: center;
    margin-bottom: 40px;
}

.discography-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border: 1px solid #eee;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* レコード盤の装飾 */
.card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: repeating-radial-gradient(
      #333,
      #333 2px,
      #444 3px,
      #444 4px
    );
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.card-header {
    background-color: #222;
    color: #fff;
    padding: 15px 20px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin: 0;
    letter-spacing: 1px;
}

.card-header::after {
    content: '\f001'; /* FontAwesome music icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.1rem;
    opacity: 0.3;
}

.card-body {
    padding: 20px;
    position: relative;
    z-index: 1;
}

.card-body h4 {
    font-size: 0.95rem;
    color: #999;
    margin: 15px 0 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.card-body h4:first-child {
    margin-top: 0;
}

.card-body ul {
    counter-reset: track-num;
}

.card-body li {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
    font-size: 0.9rem;
    padding: 6px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.card-body li::before {
    counter-increment: track-num;
    content: counter(track-num, decimal-leading-zero);
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ddd;
    font-size: 0.85rem;
    margin-right: 8px;
    width: 18px;
}

.card-body .date {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-color);
    margin-right: 8px;
    min-width: 35px;
    font-size: 0.8rem;
}

.card-body .title {
    font-weight: 500;
    margin-right: 8px;
    flex: 1;
}

.card-body .desc {
    font-size: 0.7rem;
    color: #888;
    margin-right: 8px;
    background: #f5f5f5;
    padding: 2px 5px;
    border-radius: 3px;
}

.btn-sm {
    padding: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: var(--accent-color);
    cursor: pointer;
    color: #fff;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-left: auto;
    font-size: 0.7rem;
}

.btn-sm:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* Publication */
.publication-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.pub-category {
    background: #fff;
    padding: 25px;
    border-radius: 4px;
    /* 本の厚み表現 */
    box-shadow: 
        1px 1px 0 #e0e0e0,
        2px 2px 0 #e0e0e0,
        3px 3px 0 #e0e0e0,
        4px 4px 0 #e0e0e0,
        5px 5px 10px rgba(0,0,0,0.08);
    position: relative;
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

.pub-category:hover {
    transform: translateY(-3px);
}

/* 本の背表紙のような装飾 */
.pub-category::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--accent-color);
    opacity: 0.8;
    border-radius: 4px 0 0 4px;
}

.pub-category h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    text-align: center;
    color: var(--primary-color);
    padding-left: 8px; /* 背表紙分ずらす */
}

.pub-item {
    margin-bottom: 12px;
    padding-left: 12px;
    display: flex;
    align-items: baseline;
}

.pub-item .year {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent-color);
    margin-right: 12px;
    min-width: 45px;
}

.full-width {
    grid-column: 1 / -1;
    margin-top: 30px;
    background: transparent;
    box-shadow: none;
    padding: 0;
    border: none;
}

.full-width::before {
    display: none;
}

.full-width h3 {
    text-align: left;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
    padding-left: 0;
    margin-bottom: 30px;
}

.magazine-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.year-group {
    background: #fff;
    padding: 20px;
    border: 1px solid #eee;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
    position: relative;
    border-radius: 0 0 4px 4px;
}

/* 雑誌のドッグイヤー（折れ曲がり）表現 */
.year-group::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    border-width: 0 15px 15px 0;
    border-style: solid;
    border-color: #f8f9fa #fff #f8f9fa #f8f9fa;
    box-shadow: -1px 1px 2px rgba(0,0,0,0.05);
}

.year-group h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #ddd;
    position: absolute;
    top: -13px;
    right: 15px;
    background: #fff;
    padding: 0 8px;
    z-index: 1;
    margin: 0;
    border: none;
    border-left: none;
}

.year-group ul {
    margin-top: 8px;
}

.year-group li {
    margin-bottom: 8px;
    font-size: 0.85rem;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 6px;
    line-height: 1.5;
}

.year-group li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* SNS */
.sns-content {
    text-align: center;
}

.instagram-container {
    max-width: 500px;
    margin: 30px auto 0;
}

/* Contact */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-content .small {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 40px;
}

/* Footer */
footer {
    background-color: #111;
    color: #666;
    text-align: center;
    padding: 30px 0;
    font-size: 0.8rem;
}

footer a {
    color: #888;
    text-decoration: underline;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 0;
    width: 80%;
    max-width: 900px;
    background: #000;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--accent-color);
}

#video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

#video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.fade-in {
    animation: fadeIn 1.5s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.05);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    nav.active {
        transform: translateY(0);
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    .profile-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .profile-list {
        text-align: left;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .social-links {
        justify-content: center;
    }

    .publication-grid {
        grid-template-columns: 1fr;
    }
}
