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

html {
    scroll-behavior: smooth;
}

body{
    font-family:'Outfit','Zen Maru Gothic',sans-serif;
     background: linear-gradient(
        180deg,
        #FCFDFF 0%,
        #F5FBFF 50%,
        #F9FCFF 100%
    );
    color: #444;
    line-height: 1.8;
    overflow-x: hidden;
}

:root{

    --main:#FCFDFF;

    --pink:#00A5FF;

    --light:#EAF8FF;

    --sun: #fcfcd8;

    --text:#444;

    --gray:#777;

    --white:#fff;

}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 8%;

    background: rgba(255,255,255,.65);
    backdrop-filter: blur(16px);

    transition: .4s;
}

.logo{
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo h1{
    font-size: 1.4rem;
    font-weight: 700;
}

.logo img{
    width:200px;
    height:auto;
    display:block;
    margin:0 auto 25px;
}

nav {
    display: flex;
    gap: 35px;
}

nav a{
    text-decoration: none;
    color: #555;
    font-size: .95rem;
    transition: .3s;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--main);
    transition: .3s;
}

nav a:hover {
    color:ver(--main);
}

nav a:hover::after {
    width: 100%;
}

.hero{
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 120px 10% 80px;
}

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

.hero h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
    font-weight: 700;
}

.hero h2 span {
    color: var(--main);
}

.hero p {
    max-width: 500px;
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 18px;
}

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

#canvas-container {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--pink);
    color: var(--main);
    font-size: .85rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
    transition: .3s;
}

.card:hover {
    transform: translateY(-8px);
}

.button {
    display: inline-block;
    background: linear-gradient(
        135deg,
        var(--main),
        var(--pink)
    );
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: .35s;
    border-radius: 999px;
    padding: 16px 36px;
    box-shadow: 0 10px 30px rgba(126, 124, 255, 0.25);
}

.button:hover {
    transform: translateY(-6px);
}

.button-outline{
    background: white;
    color: var(--main);
    border: 2px solid var(--main);
    box-shadow: none;
}


/* ---Section--- */

section {
    padding: 120px 10%;
}

.section-title {
    margin-bottom: 70px;
}

.section-title span {
    color: var(--pink);
    font-size: .86rem;
    letter-spacing: 3px;
    font-weight: 700;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-top: 10px;
}

.about-container {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    margin-bottom: 25px;
    color: #666;
    font-size: 1.05rem;
}

.vision-grid{
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.vision-card {
    background: white;
    border-radius: 28px;
    padding: 35px;
    box-shadow: 0 20px 50px rgba(0,0,0,.06);
    transition: .35ox;
}

.vision-card:hover {
    transform: translateY(-8px);
}

.vision-card h3 {
    color: var(--pink);
    margin-bottom: 15px;
}

.vision-card p {
    color: #666;
}


/* ---Story--- */

#story {
    position: relative;
    background: linear-gradient(
        180deg,
        #FCFDFF 0%,
        #F3FBFF 100%
    );
    overflow: hidden;
}

#story::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(177,124,255,.08);
    top: -120px;
    right: -100px;
    filter: blur(30px);
}

#story::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(248,180,217,.10);
    bottom: -80px;
    left: -80px;
    filter: blur(25px);
}

/* ---timeline--- */

.timeline {
    position: relative;
    max-width: 900px;

    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 0;
    width: 4px;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(
        to bottom,
        var(--main),
        var(--pink)
    );
}

.timeline-item {
    position: relative;
    margin-bottom: 70px;
    padding: 28px 35px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(0,0,0,.06);
    transition: .35s;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* ---丸--- */
.timeline-item::before{
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--main);
    border: 5px solid white;
    left: -48px;
    top: 38px;
    box-shadow: 0 0 0 4px rgba(124, 139, 255, 0.15);
}

.timeline:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60ox rgba(124, 157, 255, 0.15);
}

.timeline-item span {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--light);
    color: var(--pink);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.timeline h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #333;
}

.timeline-item p {
    color: #666;
    line-height: 1.9;
}

/* ---project--- */
#project {
    background: linear-gradient(
        180deg,
        #FCFDFF 0%,
        var(--main) 100%
    );
    position: relative;
}

.project-card {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 32px;
    padding: 60px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,.08);
    transition: .35s;
    position: relative;
}

.project-card::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(177,124,255,.08);
    right: -120px;
    top: -120px;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 80px rgba(177,124,255,.018);
}

.coming-soon {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 999px;
    background: var(--light);
    color: var(--pink);
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.project-card h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #333;
}

.project-card p{
    max-width: 600px;
    margin: auto;
    color: #666;
    line-height: 1.9;
    font-size: .01rem;
}

/* ---team--- */
#team {
    background: linear-gradient(
        180deg,
        #fff,
        var(--light)
    );
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 35px;
}

.member-card {
    background: white;
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(0,0,0,.07);
    transition: .35s;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(124, 165, 255, 0.015);
}

.member-card img{
    width:180px;
    aspect-ratio:1 / 1;
    object-fit:cover;
    display:block;
    border-radius:24px;
    margin:0 auto 25px;
    border:6px solid var(--light);
}

.member-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #333;
}

.member-card .role {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--pink);
    font-weight: 600;
    font-size: .95rem;
}

.member-card p {
    color: #666;
    line-height: 1.8;
}

.member-social {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 18px;
}

.member-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #eff4ff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--main);
    transition: .3s;
}

.member-social:hover {
    background: var(--main);
    color: white;
}

/* ---media--- */
#media {
    background: linear-gradient(
        180deg,
        var(--light),
        var(--white)
        
    );
}

.media-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 28px;
    background: white;
    box-shadow: 0 18px 45px rgba(0,0,0,.07);
    transition: .35s;
}
.media-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(124, 146, 255, 0.15);
}

.media-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #333;
}

.media-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.8;
}

.media-card a {
    display: inline-block;
    color: var(--main);
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.media-card a:hover {
    transform: translateY(6px);
}

/* ---sns--- */
#sns {
    background: linear-gradient(
        180deg,
        var(--white),
        var(--sun)
    );
}

.sns-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.sns-links a {
    width: 180px;
    height: 65px;
    border-radius: 20px;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #444;
    font-weight: 600;
    box-shadow: 0 15ox 35px rgba(0,0,0,.06);
    transition: .35s;
}

.sns-links a:hover {
    transform: translateY(-8px);
    background: var(--pink);
    color: white;
}

/* ---contact--- */
#contact {
    background: linear-gradient(
        180deg,
        var(--sun),
        var(--white)
    );
}

form {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

form input,form textarea {
    width: 100%;
    padding: 18px 24px;
    border: none;
    border-radius: 18px;
    background: #fffaf0;
    font-size: 1rem;
    font-family: inherit;
    transition: .3s;
}

form textarea {
    min-height: 180px;
    resize: vertical;
}

form input:focus,form textarea:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 251, 124, 0.18);
}

form button {
    align-self: flex-start;
    padding: 16px 38px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(
        135dag,
        var(--main),
        var(--pink)
    );
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: .35s;
    box-shadow: 0 12px 30px rgba(124, 170, 255, 0.25);
}

form button:hover {
    transform: translateY(-5px);
}

/* ---footer--- */
footer {
    background: #2d2d35;
    color: white;
    text-align: center;
    padding: 70px 10%;
}

footer h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

footer h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

footer p {
    color: #cfcfcf;
    margin-bottom: 30px;
}

footer small {
    color: #9d9d9d;
}

@media(max-width:700px){
    header{
        padding: 12px 5%;
        flex-direction: column;
        gap: 10px;
    }

    .logo img{
        width: 140px;
        margin-bottom: 10px;
    }

    .logo h1{
        font-size: 1.1rem;
    }

    nav{
        width: 100%;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    nav a{
        font-size: 0.9rem;
    }

    .hero h2 {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 30px;
        font-weight: 700;
    }

    #canvas-container {
        pointer-events: none;
    }

    .timeline{
        padding-left: 25px;
    }
    .timeline::before {
        left: 10px;
    }

    .timeline-item {
        margin-left: 22px;
        padding: 22px;
    }

    .timeline-item::before {
        left: -34px;
    }

    .timeline-item h3 {
        font-size: 1.2rem;
    }

    .member-grid{

        grid-template-columns:1fr;

    }

    .project-card{

        padding:40px;

    }
    .media-card{

        padding:28px;

    }

    .sns-links{

        flex-direction:column;

        align-items:center;

    }

    .sns-links a{

        width:100%;

        max-width:300px;

    }

    form button{

        width:100%;

    }
}
