/* 詳細ページ用スタイル（サイドバーなし） */

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

:root {
    --primary-bg: #FFF8F0;
    --secondary-bg: #FFE8D6;
    --accent: #E8926F;
    --dark: #3D2817;
    --text: #4A3428;
    --highlight: #FFA07A;
}

body {
    font-family: 'Zen Maru Gothic', sans-serif;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

/* ヘッダー（シンプル） */
.detail-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(232, 146, 111, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 1000;
}

.detail-logo {
    font-family: 'Shippori Mincho B1', serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
}

.detail-logo::after {
    content: '🐱';
    margin-left: 0.5rem;
    font-size: 0.8em;
}

/* TOPボタン */
.btn-top {
    padding: 0.5rem 1.5rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-top:hover {
    background: var(--highlight);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 146, 111, 0.3);
}

/* メインコンテンツ */
.main-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 2rem 4rem;
}

/* ページヘッダー */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.page-title {
    font-family: 'Shippori Mincho B1', serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.page-subtitle {
    font-size: 1rem;
    color: var(--accent);
    letter-spacing: 0.2em;
}

/* コンテンツセクション */
.content-section {
    margin-bottom: 3rem;
}

/* 歌詞カード（アコーディオン） */
.lyrics-card {
    background: white;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.lyrics-card:hover {
    box-shadow: 0 8px 30px rgba(232, 146, 111, 0.2);
}

.lyrics-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.lyrics-header:hover {
    background: rgba(232, 146, 111, 0.05);
}

.lyrics-header-content {
    flex: 1;
}

.lyrics-title {
    font-family: 'Shippori Mincho B1', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.3rem;
}

.lyrics-meta {
    font-size: 0.85rem;
    color: var(--accent);
}

.lyrics-toggle {
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.lyrics-toggle.open {
    transform: rotate(180deg);
}

.lyrics-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.lyrics-content.open {
    max-height: 10000px; /* Safari対応：具体的な数値が必要 */
}

.lyrics-text {
    padding: 0 2rem 2rem;
    font-size: 1.05rem;
    line-height: 2;
    white-space: pre-wrap;
    color: var(--text);
}

/* 楽曲リスト */
.songs-grid {
    display: grid;
    gap: 2rem;
}

.song-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.song-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(232, 146, 111, 0.2);
}

.song-image {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 */
    background: linear-gradient(135deg, var(--secondary-bg), var(--primary-bg));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    overflow: hidden;
    position: relative;
}

.song-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.song-info {
    padding: 1.5rem;
}

.song-title {
    font-family: 'Shippori Mincho B1', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.song-date {
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.song-description {
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.song-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.song-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.song-link:hover {
    background: var(--highlight);
    transform: translateY(-2px);
}

/* ニュースコンテナ */
.news-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(232, 146, 111, 0.2);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.news-title {
    font-family: 'Shippori Mincho B1', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.news-date {
    font-size: 0.85rem;
    color: var(--accent);
    white-space: nowrap;
}

.news-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1rem;
}

.news-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin-top: 1rem;
}

/* ブログコンテナ */
.blog-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(232, 146, 111, 0.2);
}

.blog-card-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.blog-card-content {
    padding: 2rem;
}

.blog-card-header {
    margin-bottom: 1.5rem;
}

.blog-card-title {
    font-family: 'Shippori Mincho B1', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.blog-card-date {
    font-size: 0.85rem;
    color: var(--accent);
}

.blog-card-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
}

/* 本文内のリンク */
.content-link {
    color: var(--accent);
    text-decoration: underline;
    word-break: break-all;
    transition: color 0.3s ease;
}

.content-link:hover {
    color: var(--highlight);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .detail-header {
        padding: 0 1rem;
    }
    
    .detail-logo {
        font-size: 1.2rem;
    }
    
    .main-content {
        padding: 90px 1rem 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .songs-grid {
        grid-template-columns: 1fr;
    }
    
    .news-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .news-date {
        margin-top: 0.5rem;
    }
}

/* NEWSアコーディオン */
.news-accordion-card {
    background: white;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-accordion-card:hover {
    box-shadow: 0 8px 30px rgba(232, 146, 111, 0.2);
}

.news-accordion-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.news-accordion-header:hover {
    background: rgba(232, 146, 111, 0.05);
}

.news-accordion-header-content {
    flex: 1;
}

.news-accordion-title {
    font-family: 'Shippori Mincho B1', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.3rem;
}

.news-accordion-date {
    font-size: 0.85rem;
    color: var(--accent);
}

.news-accordion-toggle {
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.news-accordion-toggle.open {
    transform: rotate(180deg);
}

.news-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.news-accordion-content.open {
    max-height: 10000px;
}

.news-accordion-text {
    padding: 0 2rem 2rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
}

.news-accordion-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin: 0 2rem 2rem;
    max-width: calc(100% - 4rem);
    image-rendering: high-quality;
    -ms-interpolation-mode: bicubic;
}

/* BLOGアコーディオン */
.blog-accordion-card {
    background: white;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-accordion-card:hover {
    box-shadow: 0 8px 30px rgba(232, 146, 111, 0.2);
}

.blog-accordion-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.blog-accordion-header:hover {
    background: rgba(232, 146, 111, 0.05);
}

.blog-accordion-header-content {
    flex: 1;
}

.blog-accordion-title {
    font-family: 'Shippori Mincho B1', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.3rem;
}

.blog-accordion-date {
    font-size: 0.85rem;
    color: var(--accent);
}

.blog-accordion-toggle {
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.blog-accordion-toggle.open {
    transform: rotate(180deg);
}

.blog-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.blog-accordion-content.open {
    max-height: 10000px;
}

.blog-accordion-text {
    padding: 0 2rem 2rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
}

.blog-accordion-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin: 0 2rem 2rem;
    max-width: calc(100% - 4rem);
    image-rendering: high-quality;
    -ms-interpolation-mode: bicubic;
}

/* ページネーション */
.pagination {
    margin-top: 3rem;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pagination-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 1rem;
    background: white;
    border: 2px solid rgba(232, 146, 111, 0.3);
    color: var(--dark);
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: 'Zen Maru Gothic', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pagination-btn:hover:not(.disabled):not(.active) {
    background: var(--secondary-bg);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 146, 111, 0.2);
}

.pagination-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(232, 146, 111, 0.3);
}

.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f5f5f5;
    border-color: #e0e0e0;
}

.pagination-ellipsis {
    padding: 0.5rem;
    color: var(--accent);
    font-weight: 700;
}

@media (max-width: 768px) {
    .pagination-wrapper {
        gap: 0.5rem;
    }
    
    .pagination-btn {
        min-width: 36px;
        height: 36px;
        padding: 0 0.75rem;
        font-size: 0.85rem;
        border-radius: 10px;
    }
}

/* Contactページ */
.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
}

.contact-method-title {
    font-family: 'Shippori Mincho B1', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2rem;
    text-align: center;
}

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

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

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

.required {
    color: var(--accent);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(232, 146, 111, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 146, 111, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.btn-submit:hover:not(:disabled) {
    background: var(--highlight);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 146, 111, 0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* SNSセクション */
.contact-sns-container {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.sns-links-large {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.sns-link-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 3rem;
    background: linear-gradient(135deg, var(--secondary-bg), var(--primary-bg));
    border-radius: 20px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.sns-link-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(232, 146, 111, 0.3);
}

.sns-icon {
    font-size: 3rem;
}

.sns-name {
    font-size: 1.1rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .contact-form-container,
    .contact-sns-container {
        padding: 2rem 1.5rem;
    }
    
    .contact-method-title {
        font-size: 1.3rem;
    }
}
