
:root {
    --main-color: #6972ff;
    --sub-color: #c867ff;
    --light-bg: #f8f9fa;
    --text-dark: #2d2d2d;
    --text-muted: #545b62;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: #ffffff;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* 固定背景 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(105, 114, 255, 0.1), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(200, 103, 255, 0.1), transparent 50%),
        radial-gradient(circle at 50% 90%, rgba(105, 114, 255, 0.08), transparent 40%),
        linear-gradient(135deg, #ffffff 0%, #f0f2ff 50%, #fef0ff 100%);
    z-index: 0;
}

/* 固定ヘッダー */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(105, 114, 255, 0.2);
    padding: .2rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
    height: 60px;
    width: auto;
}

.nav-link {
    font-family: 'Zen Antique Soft', serif;
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--main-color), var(--sub-color));
    transition: width 0.3s, left 0.3s;
}

.nav-link:hover::after {
    width: 80%;
    left: 10%;
}

/* ヒーローセクション */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: left 30% top 50%;
    background-image:url("./img/doublex.png"),linear-gradient(to bottom, rgba(255,255,255,0.7) 70%, rgba(255,255,255,0));
    background-blend-mode:lighten;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--main-color) 0%, transparent 70%);
    opacity: 0.05;
    top: 10%;
    right: -100px;
}

.hero-left {
    z-index: 10;
}

.hero-slogan {
    font-family: 'Zen Antique Soft', serif;
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: .5rem;
    background: linear-gradient(0deg, var(--main-color), var(--sub-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInLeft 1s ease-out;
}

.sp-only {
    display:none;
}

.hero-slogan-mania {
    font-size: 4rem;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-date {
    font-family: 'Zen Antique Soft', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--main-color);
    padding: 1rem 2rem;
    display: inline-block;
    animation: slideInLeft 1s ease-out 0.4s both;
    position: relative;
    text-shadow: 0px 0px 5px #fff;
}

.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.hero-logo {
    text-align: center;
    animation: fadeIn 1s ease-out 0.6s both;
}

.hero-logo img {
    max-width: 90vw;
    width: 100%;
    height: auto;
}

.hero-logo .title-main {
    display: block;
    margin-bottom: 0.5rem;
}

.hero-logo .title-number {
    display: block;
    font-size: 6rem;
    background: linear-gradient(135deg, var(--sub-color), var(--main-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* セクション共通 */
section {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.section-title {
    font-family: 'Yeseva One', serif;
    font-size: 3rem;
    font-weight: 900;
    font-style: italic;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(0deg, var(--main-color), var(--sub-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--main-color), var(--sub-color));
    margin: 1rem auto 0;
}

/* アニメーション用クラス */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* インフォメーション */
.info-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-wrapper {
    position: relative;
}

.scroll-dots {
    display: none;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    background: rgba(105, 114, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s;
}

.scroll-dot.active {
    width: 24px;
    background: var(--main-color);
    border-radius: 4px;
}

.scroll-hint {
    display: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--main-color);
    font-size: 1.5rem;
    animation: slideHint 1.5s infinite;
    pointer-events: none;
    z-index: 5;
}

@keyframes slideHint {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-50%) translateX(-10px);
        opacity: 1;
    }
}

.info-item {
    background: rgba(105, 114, 255, 0.05);
    border-left: 4px solid var(--main-color);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-item:hover {
    transform: translateX(10px);
    box-shadow: 0 0 20px rgba(105, 114, 255, 0.3);
}

.info-date {
    color: var(--sub-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-content {
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* リンクスタイル */
.link-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    margin-top: 1rem;
    background: linear-gradient(0deg, var(--main-color), var(--sub-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(105, 114, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(105, 114, 255, 0.4);
    color: white;
}

.link-button:hover::before {
    left: 100%;
}

.link-button i {
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.link-button:hover i {
    transform: translateX(3px);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--main-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s;
    padding: 0.25rem 0;
}

.text-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--main-color), var(--sub-color));
    transition: width 0.3s;
}

.text-link:hover {
    color: var(--sub-color);
}

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

.text-link i {
    font-size: 1.1rem;
    transition: transform 0.3s;
    margin-right: 0.5rem;
}

.text-link:hover i {
    transform: translateX(3px);
}

/* カード */
.card-custom {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(105, 114, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(105, 114, 255, 0.2);
}

h3 {
    color: var(--main-color);
    margin-bottom: 1rem;
    font-family: 'Yeseva One', 'Zen Antique Soft', serif;
}

/* プレゼンター */
.presenter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.presenter-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.presenter-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(105, 114, 255, 0.2);
}

.presenter-header {
    background: linear-gradient(0deg, var(--main-color), var(--sub-color));
    padding: 2rem;
    border-radius: 16px 16px 0 0;
    margin: -2rem -2rem 0 -2rem;
    margin-bottom: 1.5rem;
}

.presenter-icon {
    margin: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--main-color);
}

.presenter-icon img {
    border-radius: 10%;
    width: 95%;
    object-fit: cover;
    aspect-ratio: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
}

.presenter-icon img:hover {
    transform: scale(1.05);
}

.presenter-name {
    font-family: 'Yeseva One', 'Zen Antique Soft', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
    text-align: center;
    margin-bottom: 0.75rem;
}

.presenter-genre-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.presenter-genre {
    font-size: 0.9rem;
    color: white;
    text-align: center;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: inline-block;
    backdrop-filter: blur(5px);
    white-space: nowrap;
}

.presenter-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0;
}

.presenter-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.presenter-social-link:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--main-color);
    transform: scale(1.15) rotate(5deg);
}

.presenter-points-title {
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 2rem;
    padding-top: 0.5rem;
}

.presenter-points-title i {
    font-size: 1.2rem;
}

.presenter-points {
    list-style: none;
    padding: 0 2rem;
    padding-bottom: 2rem;
    margin: 0;
}

.presenter-points li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
    line-height: 1.5;
    font-size: 0.95rem;
}

.presenter-points li::before {
    content: '✦';
    position: absolute;
    left: 0.5rem;
    color: var(--sub-color);
    font-size: 1rem;
}

.presenter-points li:not(:last-child) {
    border-bottom: 1px dashed rgba(105, 114, 255, 0.15);
}

/* Q&A */
.qa-item {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.qa-question {
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.qa-question i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.qa-answer {
    color: var(--text-muted);
    padding-left: 2rem;
}

/* アンバサダー */
.ambassador-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.ambassador-item {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
}

.ambassador-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--main-color), var(--sub-color));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.ambassador-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(105, 114, 255, 0.3);
}

.ambassador-item:hover::before {
    opacity: 0.05;
}

.ambassador-icon-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(105, 114, 255, 0.2);
}

.ambassador-icon-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ambassador-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ambassador-icon-wrapper-original {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    margin: 0 auto 1rem;
    overflow: hidden;
    background: linear-gradient(135deg, var(--main-color), var(--sub-color));
    box-shadow: 0 4px 15px rgba(105, 114, 255, 0.2);
}

.ambassador-icon-inner-original {
    width: 100%;
    height: auto;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ambassador-icon-original {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.ambassador-name {
    font-family: 'Yeseva One', 'Zen Antique Soft', serif;
    position: relative;
    z-index: 1;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
    transition: color 0.3s;
}

.ambassador-item:hover .ambassador-name {
    color: var(--main-color);
}

.ambassador-role {
    position: relative;
    z-index: 1;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.adjustment {
    margin-top: -7rem;
}

/* 過去の開催 */
.history-title {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    margin-top: 2rem;
    font-weight: 700;
}

.history-title i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.thumbnail {
    box-shadow: rgba(0, 0, 0, 0.7) 0px 0px 15px -5px;
    width: 95%;
    object-fit: cover;
    transition: 0.5s all;
}

.thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(105, 114, 255, 0.3);
}

.history-title img {
    width: 6rem;
}

.history-note {
    position: relative;
}

.history-note p {
    font-size: 0.9rem;
    text-align: left;
    position: absolute;
    color: white;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, var(--main-color), var(--sub-color));
    padding: 0.3rem 0.5rem;
    margin: 1rem 1.5rem;
    transition: 0.5s all;
}

.history-note img {
    height: 300px;
}

/* フッター */
footer {
    background: rgba(255, 255, 255, 0.95);
    border-top: 2px solid rgba(105, 114, 255, 0.2);
    padding: 3rem 0;
    text-align: center;
    position: relative;
    z-index: 10;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-icon {
    width: 60px;
    height: 60px;
    background: rgba(105, 114, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--text-dark);
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--main-color), var(--sub-color));
    transform: scale(1.1) rotate(5deg);
    color: white;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 花びらアニメーション */
.petals-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.petal {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 15px;
    height: 15px;
    background: linear-gradient(135deg, var(--main-color), var(--sub-color));
    opacity: 0.6;
    border-radius: 50% 0 50% 0;
    animation: fall linear infinite;
    transform-origin: center;
}

@keyframes fall {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translate(-150vw, 150vh) rotate(720deg);
        opacity: 0;
    }
}

.petal:nth-child(2n) {
    background: linear-gradient(135deg, var(--sub-color), var(--main-color));
    border-radius: 0 50% 0 50%;
}

.petal:nth-child(3n) {
    width: 12px;
    height: 12px;
}

.petal:nth-child(4n) {
    width: 18px;
    height: 18px;
}

/* 右下の固定背景 */
.fixed-x {
    position: fixed;
    bottom: -50px;
    right: 0px;
    width: 600px;
    height: 600px;
/*
    background: radial-gradient(circle, rgba(105, 114, 255, 0.15), rgba(200, 103, 255, 0.1));
    border-radius: 50%;
*/
    background-image:url("./img/doublex.png");
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.fixed-x.visible {
    opacity: 0.3;
}

/* スクロールダウンインジケーター */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--main-color);
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* レスポンシブ */
@media (max-width: 991px) {
    .hero-slogan {
        font-size: 2.5rem;
    }
    
    .hero-logo {
        font-size: 3rem;
    }
    
    .hero-logo .title-number {
        font-size: 4rem;
    }

    .sp-only {
        display: block;
    }

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

    .presenter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    }

    .ambassador-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 0.85rem;

    }
    .navbar-brand img {
        height: 50px;
    }

    .hero-section {
        padding-top: 100px;
        background-size: contain;
        background-image:url("./img/doublex.png"),linear-gradient(to bottom, rgba(255,255,255,0.7) 80%, rgba(255,255,255,0));
    }

    .hero-top {
        margin-bottom: 0 !important;
    }
    
    .hero-slogan {
        font-size: 1.5rem;
        text-align: center;
    }

    .hero-slogan-mania {
        font-size: 2rem;
    }
    
    .hero-date {
        font-size: 1.2rem;
        padding: 0.8rem 1.5rem;
        display: block;
        text-align: center;
        margin-top: 0 auto;
    }
    
    .hero-logo {
        font-size: 2.5rem;
        margin-top: 3rem;
    }
    
    .hero-logo .title-number {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .fixed-x {
        background-size: cover;
        width: 200px;
        height: 200px;
        bottom: -20px;
        right: 0;
    }

    /* インフォメーション横スクロール対応 */
    .info-container {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 1rem;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--main-color) rgba(105, 114, 255, 0.1);
        scroll-snap-type: x mandatory;
    }
    
    .info-container::-webkit-scrollbar {
        height: 8px;
    }
    
    .info-container::-webkit-scrollbar-track {
        background: rgba(105, 114, 255, 0.1);
        border-radius: 4px;
    }
    
    .info-container::-webkit-scrollbar-thumb {
        background: var(--main-color);
        border-radius: 4px;
    }
    
    .info-item {
        width: calc(100vw - 3rem);
        flex-shrink: 0;
        scroll-snap-align: start;
    }
    
    /* スクロールインジケーター表示 */
    .scroll-dots {
        display: flex !important;
    }
    
    .scroll-hint {
        display: block !important;
    }

    section {
        padding: 60px 0;
    }

    .card-custom {
        padding: 2rem 1.8rem;
    }

    h3 {
        font-size: 1.13rem;
    }
    
    .presenter-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .ambassador-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .ambassador-icon-wrapper {
        width: 100%;
        height: auto;
    }
    
    .ambassador-item {
        padding: 1.25rem 0.75rem;
    }

    .ambassador-role {
        font-size: 0.6rem;
    }
    .staff-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1.5rem;
    }
}