@charset "utf-8";

:root {
    --pink: #ff00c1;
    --green: #00ff95;
    --blue: #00b8ff;
    --red: #ff003c;
    --dark-bg: #111113;
    --text-color: #f0f0f0;
    --border-glow: 0 0 5px var(--green), 0 0 10px var(--green), 0 0 15px var(--green);
    --text-glow-pink: 0 0 3px var(--pink), 0 0 8px var(--pink);
}

html {
    scroll-padding-top: 80px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--dark-bg);
    color: var(--text-color);
    font-family: 'Roboto Mono', monospace;
    overflow-x: hidden;
    position: relative;
}


body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 0, 193, 0.1), rgba(0, 255, 149, 0.1), rgba(255, 0, 60, 0.1));
    animation: background-glitch 15s infinite alternate;
    z-index: -2;
}


body::after {
    content: '❁';
    position: fixed;
    bottom: -800px;
    right: -300px;
    font-size: 1500px;
    opacity: 0.1;
    transform: rotate(-30deg);
    z-index: -1;
    animation: flower-fade 10s infinite alternate ease-in-out;
}




@keyframes background-glitch {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(5px, -5px);
    }

    50% {
        transform: translate(-5px, 5px);
    }

    75% {
        transform: translate(5px, 5px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes flower-fade {
    from {
        opacity: 0.05;
        transform: rotate(-45deg) scale(0.8);
    }

    to {
        opacity: 0.2;
        transform: rotate(-20deg) scale(1.1);
    }
}

* {
    box-sizing: border-box;
}

header {
    padding: 0 4%;
    position: fixed;
    top: 0;
    z-index: 999;
    height: 70px;
    width: 100%;
    background: rgba(17, 17, 19, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 149, 0.3);
    display: flex;
    align-items: center;
    font-family: 'Orbitron', sans-serif;
}

.pc-navtext,
.navtext {
    font-size: 24px;
    text-transform: uppercase;
    color: var(--text-color);
    letter-spacing: 4px;
    text-shadow: var(--text-glow-pink);
    animation: text-flicker 3s infinite alternate;
}

@keyframes text-flicker {
    0% {
        opacity: 0.8;
    }

    5% {
        opacity: 1;
        text-shadow: var(--text-glow-pink);
    }

    10% {
        opacity: 0.9;
    }

    15% {
        opacity: 1;
        text-shadow: 0 0 5px var(--blue), 0 0 10px var(--blue);
    }

    100% {
        opacity: 1;
    }
}

.pc-nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pc-menu {
    list-style: none;
    margin: 0;
    display: flex;
}

.pc-nav a {
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    padding: 5px 10px;
}

.pc-nav li {
    margin: 0 0 0 20px;
    font-size: 16px;
}

.pc-nav a:hover {
    color: var(--green);
    text-shadow: var(--border-glow);
}

.container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}


.slide {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 900px;
    overflow: hidden;
    border-bottom: 2px solid var(--pink);
    box-shadow: 0 5px 20px rgba(255, 0, 193, 0.3);
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 0, 193, 0.3) 0%, rgba(0, 255, 149, 0.4) 100%);
    mix-blend-mode: screen;
    animation: color-shift 10s infinite alternate;
}

@keyframes color-shift {
    from {
        background: linear-gradient(120deg, rgba(255, 0, 193, 0.3) 0%, rgba(0, 255, 149, 0.4) 100%);
    }

    to {
        background: linear-gradient(120deg, rgba(255, 0, 60, 0.4) 0%, rgba(0, 184, 255, 0.3) 100%);
    }
}

.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: slideshow 24s infinite;
    filter: grayscale(50%) contrast(120%);
}

.slide img:nth-child(1) {
    animation-delay: 0s;
}

.slide img:nth-child(2) {
    animation-delay: 8s;
}

.slide img:nth-child(3) {
    animation-delay: 16s;
}

@keyframes slideshow {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }

    10% {
        opacity: 1;
        transform: scale(1);
    }

    33% {
        opacity: 1;
        transform: scale(1);
    }

    43% {
        opacity: 0;
        transform: scale(1.1);
    }

    100% {
        opacity: 0;
    }
}

.slide .caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 7rem;
    font-weight: bold;
    z-index: 2;
    text-align: center;
    width: 100%;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px var(--pink), 0 0 30px var(--pink), 0 0 40px var(--pink);
}

.caption p {
    margin: 0;
    line-height: 1.2;
}


.concept-section,
.about-section,
.announcement-section,
.form-container {
    background: rgba(26, 26, 29, 0.7);
    padding: 2.5rem;
    margin-bottom: 4rem;
    border: 1px solid rgba(0, 255, 149, 0.5);
    box-shadow: var(--border-glow);
    position: relative;

}

section h2 {
    margin: 0 0 2rem 0;
    padding-bottom: 1rem;
    font-size: 2.5rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--green);
    text-align: center;
    text-transform: uppercase;
    border-bottom: 2px solid var(--blue);
}

section p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
}


.announcement-section ul {
    list-style-type: none;
    padding: 0;
}

.announcement-section ul li {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-left: 5px solid var(--pink);
    transition: all 0.3s ease;
}

.announcement-section ul li:hover {
    transform: translateX(10px);
    background-color: rgba(255, 0, 193, 0.1);
}

.announcement-section ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.announcement-section ul li a:hover {
    color: var(--pink);
}

.announcement-section ul li .date {
    display: block;
    font-size: 0.9rem;
    color: #888;
    margin-top: 0.5rem;
}


.form-container iframe {
    filter: invert(0.9) hue-rotate(180deg);
    border-radius: 5px;
}





footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    background: transparent;
    color: #888;
    border-top: 1px solid rgba(0, 255, 149, 0.3);
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}




.mob-nav {
    display: none;
}

@media (max-width: 960px) {
    .pc-nav {
        display: none;
    }

    .mob-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .navtext-container {
        flex-grow: 1;
        text-align: center;
    }

    .menu-icon {
        position: relative;
        z-index: 1001;
        cursor: pointer;
        padding: 24px;
    }

    .navicon {
        background: var(--text-color);
        display: block;
        height: 2px;
        width: 24px;
        position: relative;
        transition: all 0.3s ease;
    }

    .navicon::before,
    .navicon::after {
        content: "";
        display: block;
        height: 100%;
        width: 100%;
        position: absolute;
        background: var(--text-color);
        transition: all 0.3s ease;
    }

    .navicon::before {
        top: -8px;
    }

    .navicon::after {
        top: 8px;
    }

    .menu-btn {
        display: none;
    }

    .menu-btn:checked~.menu {
        transform: scaleY(1);
    }

    .menu-btn:checked~.menu a,
    .menu-btn:checked~.menu li {
        opacity: 1;
        transition-delay: 0.2s;
    }

    .menu-btn:checked~.menu-icon .navicon {
        background: transparent;
    }

    .menu-btn:checked~.menu-icon .navicon::before {
        transform: rotate(-45deg);
        top: 0;
    }

    .menu-btn:checked~.menu-icon .navicon::after {
        transform: rotate(45deg);
        top: 0;
    }

    .menu {
        list-style: none;
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        margin: 0;
        padding: 80px 0 0 0;
        background: var(--dark-bg);
        transform: scaleY(0);
        transform-origin: top;
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        background: radial-gradient(circle at center, rgba(72, 5, 228, 0.849) 0%, rgba(75, 184, 234, 0.52) 100%);
    }

    .menu li {
        opacity: 0;
        transition: opacity 0.3s;
        width: 100%;
        text-align: center;
        padding: 15px 0;
    }

    .menu a {
        opacity: 0;
        text-decoration: none;
        font-size: 24px;
        color: var(--text-color);
        transition: all 0.3s ease;
    }

    .menu a:hover {
        color: var(--pink);
        text-shadow: var(--text-glow-pink);
    }

    .slide {
        height: 50vh;
    }

    .slide .caption {
        font-size: 3rem;
    }

    section h2 {
        font-size: 2rem;
    }

    section {
        padding: 2rem 1.5rem;

    }
}


.bg,
.bg2 {
    display: none;
}


.profile-section {
    background: rgba(26, 26, 29, 0.7);
    padding: 2.5rem;
    margin-bottom: 4rem;
    border: 1px solid rgba(0, 255, 149, 0.5);
    box-shadow: var(--border-glow);
    position: relative;
}

.profile-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.profile-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--pink);
    box-shadow: 0 0 15px var(--pink);
}

.profile-text {
    flex: 1;
}

.profile-text h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--pink);
    margin-top: 0;
    text-shadow: var(--text-glow-pink);
}

.profile-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
}



.portfolio-section {
    background: rgba(26, 26, 29, 0.7);
    padding: 2.5rem;
    margin-bottom: 4rem;
    border: 1px solid rgba(0, 255, 149, 0.5);
    box-shadow: var(--border-glow);
    position: relative;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--blue);
    transition: all 0.4s ease;
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--blue);
}

.portfolio-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(17, 17, 19, 0.9), transparent);
    color: white;
    padding: 1.5rem 1rem 1rem;
    text-align: left;
}

.portfolio-caption h3 {
    margin: 0 0 0.5rem 0;
    font-family: 'Orbitron', sans-serif;
}

.portfolio-caption p {
    margin: 0;
    font-size: 0.9rem;
    text-align: left;
}



@media (max-width: 768px) {
    .profile-content {
        flex-direction: column;
        text-align: center;
    }

    .profile-text p {
        text-align: center;
    }
}


@media (max-width: 960px) {
    .portfolio-section {
        padding: 2rem 1.5rem;
    }
}


/*ローディング画面の背景*/
#loading {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.8s ease;
}

/*読み込み完了時に消すためのクラス*/
#loading.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/*画像のサイズ*/
.loading-img {
    width: 60px;
    height: auto;
}