.contact-button-container {
    text-align: center;
    margin: 2rem 0 1rem;
}

.contact-button {
    display: inline-block;
    width: auto;
    min-width: 300px;
    padding: 1.2rem 2rem;
    font-size: 1rem;
    text-decoration: none;
}

.contact-button:hover {
    transform: translateY(-3px);
}.text-center {
    text-align: center !important;
}/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    background-color: #050510;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

/* カスタムプロパティ（変数） */
:root {
    --accent-color: #c961de;
    --accent-color-2: #00b8ff;
    --gradient-1: linear-gradient(135deg, var(--accent-color), var(--accent-color-2));
    --gradient-2: linear-gradient(45deg, #ff3e6c, #ffae00);
    --shadow-color: rgba(201, 97, 222, 0.4);
    --glow-color: rgba(201, 97, 222, 0.7);
    --text-shadow: 0 0 15px rgba(201, 97, 222, 0.7);
    --transition-speed: 0.4s;
}

/* スプラッシュスクリーン */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050510;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-out, visibility 1s ease-out;
}

.splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.splash-logo {
    transform: scale(0);
    animation: splash-grow 1.8s ease forwards;
}

.splash-path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: draw-path 1.5s ease forwards 0.3s;
}

@keyframes splash-grow {
    0% {
        transform: scale(0);
    }
    70% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes draw-path {
    to {
        stroke-dashoffset: 0;
    }
}

/* パーティクル背景 */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* セクション共通スタイル */
section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    scroll-snap-align: start;
    perspective: 1000px;
}

/* スクロールスナップ */
.container {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
    scroll-behavior: smooth;
    position: relative;
    z-index: 1;
}

/* セクション背景 */
.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 5, 16, 0.7);
    z-index: 1;
}

.bg-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4" viewBox="0 0 4 4"><path fill="%239C92AC" fill-opacity="0.05" d="M1 3h1v1H1V3zm2-2h1v1H3V1z"/></svg>');
    z-index: 2;
}

/* ヒーローセクション */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 90%;
    padding: 2rem;
    transform: translateY(30px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

@media (max-width: 768px) {
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
}

.hero-content.revealed {
    opacity: 1;
    transform: translateY(0);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: var(--text-shadow);
    line-height: 1.2;
    font-weight: 900;
    perspective: 1000px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.4rem;
        letter-spacing: 2px;
        white-space: normal;
        text-align: center;
        width: 100%;
    }
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero p:last-of-type {
    margin-bottom: 1rem;
}

.highlight-link {
    color: var(--accent-color);
    text-decoration: none;
    position: relative;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 2px;
}

.highlight-link:hover {
    color: var(--accent-color-2);
    border-bottom-color: var(--accent-color-2);
    text-shadow: 0 0 8px rgba(0, 184, 255, 0.5);
}

/* グラデーションテキスト */
.gradient-text {
    display: inline-block;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

@media (max-width: 768px) {
    .gradient-text {
        background: none;
        -webkit-background-clip: initial;
        background-clip: initial;
        color: white;
    }
}

.hero p:last-of-type {
    margin-bottom: 0.1rem;
}

/* タイピングエフェクト */
.typing-text::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 4s steps(40) 1s forwards;
    border-right: 3px solid var(--accent-color);
}

@media (max-width: 768px) {
    .typing-text::before {
        display: none;
    }
}

@keyframes typing {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
        border-right-color: transparent;
    }
}

/* フェードインテキスト */
.fade-in-text {
    opacity: 0;
    animation: fadeInUp 1.5s ease 3s forwards;
}

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

/* スライドショー背景 */
.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s ease-in-out;
    transform: scale(1.05);
}

.slideshow img.active {
    opacity: 1;
    transform: scale(1);
}

/* カウントダウンタイマー - フリップカードスタイル */
.countdown {
    display: flex;
    justify-content: center;
    margin: 2.5rem 0 1.5rem;
    perspective: 1000px;
}

/* 事前登録ボタン（ヒーローセクション） */
.hero-register-button {
    text-align: center;
    margin: 1rem 0 2rem;
    animation: fadeInUp 1.5s ease 3.5s forwards;
    opacity: 0;
}

.register-now-btn {
    display: inline-block;
    width: auto;
    min-width: 250px;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(201, 97, 222, 0.4);
    animation: pulse 2s infinite;
}

.register-now-btn:hover {
    transform: translateY(-3px) scale(1.03);
}

.countdown-item {
    margin: 0 1rem;
    text-align: center;
}

.flip-card {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 0.5rem;
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    background: var(--gradient-1);
    padding: 2px;
}

.flip-card .top,
.flip-card .bottom {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-weight: 700;
    backface-visibility: hidden;
    background: #1a1a2e;
    border-radius: 6px;
    overflow: hidden;
}

.flip-card .top::before,
.flip-card .bottom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.flip-card.flipping .top {
    animation: flip-top 0.6s cubic-bezier(0.5, 0, 0.2, 1.2) forwards;
    transform-origin: bottom center;
}

.flip-card.flipping .bottom {
    animation: flip-bottom 0.6s cubic-bezier(0.5, 0, 0.2, 1.2) forwards;
    transform-origin: top center;
}

@keyframes flip-top {
    0% {
        transform: rotateX(0deg);
    }
    100% {
        transform: rotateX(-90deg);
    }
}

@keyframes flip-bottom {
    0% {
        transform: rotateX(90deg);
    }
    100% {
        transform: rotateX(0deg);
    }
}

.countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-top: 0.5rem;
    letter-spacing: 2px;
    color: var(--accent-color);
    font-weight: 600;
}

/* カウントダウンのパルスエフェクト */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 var(--shadow-color);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(201, 97, 222, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(201, 97, 222, 0);
    }
}

/* スクロールインジケーター */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
}

.scroll-arrow {
    position: relative;
    width: 30px;
    height: 50px;
    margin: 0 auto 10px;
}

.scroll-arrow span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    transform: rotate(-45deg);
    animation: scroll-arrow 2s infinite;
    opacity: 0;
    box-sizing: border-box;
}

.scroll-arrow span:nth-of-type(1) {
    animation-delay: 0s;
}

.scroll-arrow span:nth-of-type(2) {
    top: 16px;
    animation-delay: 0.15s;
}

.scroll-arrow span:nth-of-type(3) {
    top: 32px;
    animation-delay: 0.3s;
}

@keyframes scroll-arrow {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.scroll-text {
    font-size: 0.7rem;
    letter-spacing: 5px;
    animation: fade-in-out 2s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes fade-in-out {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

/* 登録セクション */
.register {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.register-content {
    position: relative;
    z-index: 3;
    max-width: 90%;
    width: 650px;
    padding: 3rem;
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateX(10deg) translateY(50px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 80vh;
    overflow-y: auto;
}

.register-content.revealed {
    opacity: 1;
    transform: perspective(1000px) rotateX(0) translateY(0);
}

.register h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: 2px;
    font-weight: 700;
    display: block;
}

.register p {
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 1px;
}

/* 情報セクションのスタイル */
.info-section, .company-info {
    margin-bottom: 2rem;
    text-align: left;
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.info-section p, .company-info p {
    text-align: left;
    margin-bottom: 1rem;
}

.info-section h3, .company-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 1px;
}

.gradient-accent {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.info-section ul, .company-info ul {
    list-style-type: none;
    padding-left: 0.5rem;
    margin-bottom: 1.5rem;
}

.info-section ul li, .company-info ul li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    position: relative;
    padding-left: 0.5rem;
}

@media (max-width: 576px) {
    .info-section ul li, .company-info ul li {
        margin-bottom: 1rem;
        line-height: 1.4;
    }
}

.company-info {
    background: rgba(201, 97, 222, 0.1);
}

/* ハイライトテキスト */
.highlighted-text {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.highlighted-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.register-content.revealed .highlighted-text::after {
    transform: scaleX(1);
    transform-origin: left;
    transition-delay: 0.5s;
}

/* グローエフェクト */
.glow-effect {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--glow-color) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0;
    z-index: -1;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.1;
        transform: scale(1);
    }
}

/* フォーム */
.form-group {
    margin-bottom: 1.8rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transform: translateY(0);
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
}

.form-group input {
    width: 100%;
    padding: 1rem 1.2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px var(--shadow-color);
    border-color: var(--accent-color);
}

.form-group input:focus::placeholder {
    opacity: 0;
    transform: translateX(10px);
}

/* アニメーションボタン */
.animated-button {
    position: relative;
    display: inline-block;
    width: 100%;
    padding: 1.2rem;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(201, 97, 222, 0.3);
}

.animated-button span {
    position: relative;
    z-index: 1;
}

.animated-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    transition: all 0.5s ease;
}

.animated-button:hover::before {
    left: 0;
}

.animated-button:hover {
    box-shadow: 0 8px 25px rgba(201, 97, 222, 0.5);
    transform: translateY(-2px);
}

/* 要素の表示アニメーション */
.reveal-element {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-element.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 3D傾き効果 */
.tilt-element {
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.2rem;
        white-space: normal;
        word-break: keep-all;
    }
    
    .flip-card {
        width: 80px;
        height: 80px;
    }
    
    .flip-card .top,
    .flip-card .bottom {
        font-size: 2.5rem;
    }
}

/* スマホ用改行 */
.sp-only {
    display: none;
}

@media (max-width: 768px) {
    .sp-only {
        display: inline;
    }
    
    .hero h1 {
        font-size: 2.4rem;
        letter-spacing: 2px;
        white-space: normal;
    }

    .hero p {
        font-size: 1rem;
    }

    .flip-card {
        width: 65px;
        height: 65px;
    }
    
    .flip-card .top,
    .flip-card .bottom {
        font-size: 1.8rem;
    }

    .register-content {
        padding: 2rem;
        width: 90%;
        max-height: 75vh;
    }
    
    .register h2 {
        font-size: 2rem;
        text-align: center;
        display: block;
    }
    
    .info-section, .company-info {
        padding: 1.2rem;
    }
    
    .contact-button {
        min-width: 100%;
    }

    .countdown {
        flex-wrap: wrap;
        margin: 5px 0 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
        line-height: 1.4;
    }
    
    .hero p {
        font-size: 0.9rem;
    }

    .flip-card {
        width: 50px;
        height: 50px;
    }

    .flip-card .top,
    .flip-card .bottom {
        font-size: 1.5rem;
    }

    /* .countdown {
        flex-wrap: wrap;
        margin: 1rem 0 1rem;
    } */

    .countdown {
        flex-wrap: wrap;
        margin: 5px 0 1.5rem;
    }

    .countdown-item {
        margin: 0.4rem;
    }
    
    .register-content {
        padding: 1.2rem;
    }
    
    .register h2 {
        font-size: 1.6rem;
        text-align: center;
        display: block;
    }
    
    .info-section h3, .company-info h3 {
        font-size: 1.1rem;
    }
    
    .info-section p, .company-info p, 
    .info-section ul li, .company-info ul li {
        font-size: 0.9rem;
    }
    
    .contact-button {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* スクロールインジケーターを小さく */
    .scroll-arrow {
        width: 25px;
        height: 40px;
    }
    
    .scroll-arrow span {
        width: 20px;
        height: 20px;
        margin-left: -10px;
    }
    
    .scroll-text {
        font-size: 0.6rem;
    }
}

/* 特に小さいスマホ画面用 */
@media (max-width: 380px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .flip-card {
        width: 45px;
        height: 45px;
        margin: 0 2px;
    }
    
    .flip-card .top,
    .flip-card .bottom {
        font-size: 1.3rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
    
    .info-section, .company-info {
        padding: 1rem 0.8rem;
    }
}