/* リセットと基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* コンサドーレカラー */
    --primary-red: #E60012;
    --primary-black: #231815;
    --accent-red: #C8000F;
    --light-red: #FF4444;
    
    /* 背景色 */
    --bg-white: #FFFFFF;
    --bg-light-gray: #F8F9FA;
    --bg-gray: #E9ECEF;
    
    /* テキスト色 */
    --text-dark: #212529;
    --text-gray: #6C757D;
    --text-light: #ADB5BD;
    
    /* その他 */
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

/* ヘッダー */
.header {
    background-color: var(--primary-black);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    color: var(--bg-white);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo .subtitle {
    color: var(--primary-red);
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--bg-white);
    transition: var(--transition);
}

/* ヒーローセクション */
.hero {
    position: relative;
    height: 700px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-black) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255,255,255,0.05) 10px,
            rgba(255,255,255,0.05) 20px
        );
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--bg-white);
    padding: 0 20px;
}

.hero-logo {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-logo img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 1px;
}

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

.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--bg-white);
    border: 2px solid var(--primary-red);
}

.btn-primary:hover {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(230,0,18,0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-red);
    transform: translateY(-2px);
}

/* セクション共通スタイル */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 15px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-red));
    margin: 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-top: 15px;
}

/* アバウトセクション */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-dark);
    margin-bottom: 25px;
    text-align: justify;
}

/* 活動紹介セクション */
.activities-section {
    padding: 100px 0;
    background-color: var(--bg-light-gray);
}

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

.activity-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.activity-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.activity-card:hover .activity-image img {
    transform: scale(1.1);
}

.activity-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(230,0,18,0.8), rgba(35,24,21,0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.activity-card:hover .activity-overlay {
    opacity: 1;
}

.activity-overlay i {
    font-size: 4rem;
    color: var(--bg-white);
}

.activity-content {
    padding: 30px;
}

.activity-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 15px;
}

.activity-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-gray);
}

/* 最新情報セクション */
.posts-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.posts-container {
    max-width: 600px;
    margin: 0 auto;
}

.twitter-embed {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* リレーションシップ・パートナーセクション */
.partner-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.partner-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.partner-badge {
    flex-shrink: 0;
}

.partner-badge img {
    width: 250px;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.partner-text {
    flex: 1;
}

.partner-description {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-dark);
    text-align: justify;
}

/* リンクセクション */
.links-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-light-gray) 0%, var(--bg-gray) 100%);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.link-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 25px;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 3px solid transparent;
}

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

.link-card.twitter {
    border-color: #1DA1F2;
}

.link-card.twitter:hover {
    border-color: #1DA1F2;
    background-color: rgba(29,161,242,0.05);
}

.link-card.instagram {
    border-color: #E4405F;
}

.link-card.instagram:hover {
    border-color: #E4405F;
    background-color: rgba(228,64,95,0.05);
}

.link-card.goods {
    border-color: var(--primary-red);
}

.link-card.goods:hover {
    border-color: var(--primary-red);
    background-color: rgba(230,0,18,0.05);
}

.link-icon {
    font-size: 3rem;
    color: var(--primary-black);
    display: flex;
    align-items: center;
    justify-content: center;
}

.x-icon-img,
.instagram-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.link-card.twitter .link-icon {
    color: #1DA1F2;
}

.link-card.twitter .x-icon-img {
    filter: none;
}

.link-card.instagram .link-icon {
    color: #E4405F;
}

.link-card.instagram .instagram-icon-img {
    filter: none;
}

.link-card.goods .link-icon {
    color: var(--primary-red);
}

.link-content {
    flex: 1;
}

.link-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 5px;
}

.link-description {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* フッター */
.footer {
    background-color: var(--primary-black);
    color: var(--bg-white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-info {
    text-align: center;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-subtitle {
    color: var(--primary-red);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-description {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.5rem;
    transition: var(--transition);
    text-decoration: none;
}

.x-icon-img-footer,
.instagram-icon-img-footer {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.social-icon:hover {
    background-color: var(--primary-red);
    transform: translateY(-3px);
}

.social-icon:hover .x-icon-img-footer,
.social-icon:hover .instagram-icon-img-footer {
    filter: brightness(0) invert(1);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        height: 550px;
    }
    
    .hero-logo img {
        max-width: 150px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .link-card {
        flex-direction: column;
        text-align: center;
    }
    
    .x-icon-img,
    .instagram-icon-img {
        width: 40px;
        height: 40px;
    }
    
    .partner-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .partner-badge img {
        width: 200px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        height: 70px;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .logo .subtitle {
        font-size: 0.75rem;
    }
    
    .hero {
        height: 450px;
    }
    
    .hero-logo img {
        max-width: 120px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .about-section,
    .activities-section,
    .posts-section,
    .partner-section,
    .links-section {
        padding: 60px 0;
    }
    
    .partner-badge img {
        width: 180px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .activity-content {
        padding: 20px;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.activity-card {
    animation: fadeInUp 0.6s ease-out;
}

.activity-card:nth-child(1) { animation-delay: 0.1s; }
.activity-card:nth-child(2) { animation-delay: 0.2s; }
.activity-card:nth-child(3) { animation-delay: 0.3s; }
.activity-card:nth-child(4) { animation-delay: 0.4s; }
