/* index.css - トップページ固有のスタイル */

/* メインコンテンツ */
.main {
    margin-top: 60px;
    padding-bottom: 2rem;
}

/* ヒーローセクション */
.hero {
    position: relative;
    min-height: 150px;
    overflow: hidden;
    padding-top: 1rem;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 25vh;
    min-height: 150px;
    background-color: #000;
}

.hero-bg {
    width: 100%;
    object-fit: cover;
    background-color: #000;
}

.logo-img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(2px 2px 10px rgba(0, 0, 0, 0.8));
}

/* セクションスタイル */
.section-title {
    font-size: 1.5rem;
    color: #E55EC1;
    margin: 2rem auto 1.5rem auto;
    padding: 0 1rem;
    font-weight: bold;
    text-align: center;
    border-bottom: none;
    padding-bottom: 0.5rem;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.section-title a {
    color: #E55EC1;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.section-title a:hover {
    opacity: 0.7;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 93%;
    height: 3px;
    background-color: #441133;
    border-radius: 1px;
}

/* ニュースセクション */
.news-section {
    padding: 1rem 0;
    background-color: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-item {
    background-color: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.news-item h3 {
    color: #333;
    padding: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
}

/* アーティストセクション */
.artists-section {
    padding: 1rem 0;
    background-color: #fff;
}

.section-header {
    display: block;
    text-align: center;
    padding: 0;
    margin-bottom: 1.5rem;
}

.section-header .section-title {
    margin: 2rem auto 1.5rem auto;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
}

.section-header .section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 93%;
    height: 3px;
    background-color: #441133;
    border-radius: 1px;
}

/* 固定チケットボタン（円形、右下固定） */
.ticket-button-fixed {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1001;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #FFE1F4;
    box-shadow: 0 5px 2px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* フッター手前ではチケットボタンを非表示にする（オプション） */
@media (max-height: 600px) {
    .ticket-button-fixed {
        bottom: 1rem;
        width: 80px;
        height: 80px;
    }
}

.ticket-button-fixed:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 23, 68, 0.6);
}

.ticket-button-fixed a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #000000;
    text-align: center;
    padding: 0.5rem;
}

.ticket-button-fixed .ticket-text {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1;
}

.ticket-button-fixed .ticket-subtext {
    font-size: 0.6rem;
    margin-top: 0.25rem;
    line-height: 1.1;
    opacity: 0.9;
}

/* モバイルでのサイズ調整 */
@media (max-width: 767px) {
    .ticket-button-fixed {
        width: 90px;
        height: 90px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .ticket-button-fixed .ticket-text {
        font-size: 0.9rem;
    }
    
    .ticket-button-fixed .ticket-subtext {
        font-size: 0.55rem;
    }
}

/* タブレット以上でも表示を確保 */
@media (min-width: 768px) {
    .ticket-button-fixed {
        display: block;
        width: 110px;
        height: 110px;
    }
    
    .ticket-button-fixed .ticket-text {
        font-size: 1.1rem;
    }
    
    .ticket-button-fixed .ticket-subtext {
        font-size: 0.65rem;
    }
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.artist-item {
    background-color: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
}

.artist-item:hover {
    transform: translateY(-5px);
}

.artist-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.artist-item h3 {
    color: #333;
    padding: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
}

/* グッズセクション */
.goods-section {
    padding: 1rem 0;
    background-color: #fff;
}

.goods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.goods-item {
    background-color: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
}

.goods-item:hover {
    transform: translateY(-5px);
}

.goods-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.goods-item h3 {
    color: #333;
    padding: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
}

/* タブレット以上のレスポンシブ対応（768px以上） */
@media (min-width: 768px) {
    .main {
        margin-top: 0;
    }
    
    .hero {
        padding-top: 0;
    }
    
    .hamburger {
        display: none;
    }
    
    .nav {
        display: block;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .logo .date {
        font-size: 0.9rem;
    }
    
    .news-grid,
    .artists-grid,
    .goods-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .logo-img {
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* 375px以下のスマートフォン対応 */
@media (max-width: 375px) {
    .header-container {
        padding: 0 0.75rem;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .logo .date {
        font-size: 0.65rem;
    }
    
    .logo-img {
        max-width: 150px;
    }
    
    .hero-logo {
        bottom: 1rem;
        right: 1rem;
    }
    
    .section-title {
        font-size: 1.25rem;
        margin: 1.5rem 0 1rem 0;
    }
    
    .news-grid,
    .artists-grid,
    .goods-grid {
        gap: 0.75rem;
        padding: 0 0.75rem;
    }
    
    .news-image,
    .artist-image,
    .goods-image {
        height: 100px;
    }
    
    .news-item h3,
    .artist-item h3,
    .goods-item h3 {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
    
    .ticket-button {
        padding: 0.75rem;
    }
    
    .ticket-text {
        font-size: 0.9rem;
    }
    
    .ticket-subtext {
        font-size: 0.65rem;
    }
}