@charset "UTF-8";

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.site-header {
    position: relative;
    z-index: 20;
    top: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    min-height: 76px;
    padding: 12px 32px;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    background: #17212b;
}

.site-logo {
    display: grid;
    color: #fff;
    line-height: 1.15;
    text-decoration: none;
}

.site-header-left {
    display: flex;
    align-items: center;
    justify-self: start;
}

.header-x {
    display: grid;
    grid-column: 3;
    justify-self: end;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    box-sizing: border-box;
    color: #fff;
    transition: background 0.2s, transform 0.2s;
}

.header-x svg {
    width: 16px;
    height: 16px;
}

.header-x:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.site-logo-main {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.site-logo-sub {
    margin-top: 4px;
    font-size: 0.68rem;
    font-weight: 700;
}

.site-nav {
    display: flex;
    grid-column: 2;
    gap: 32px;
}

.site-nav a {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
    transition: opacity 0.2s;
}

.site-nav a:hover {
    opacity: 0.65;
}

.hero-slider {
    --slider-duration: 10s;
    position: relative;
    isolation: isolate;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #17212b;
}

.hero-slide {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    animation: hero-slide-fade var(--slider-duration) infinite;
}

.hero-slide:nth-child(2) {
    animation-delay: -5s;
}

.hero-slide:only-child {
    opacity: 1;
    animation: none;
}

.hero-slide::before {
    position: absolute;
    z-index: -2;
    inset: -30px;
    background: var(--hero-image) center / cover;
    content: "";
    filter: blur(24px);
    opacity: 0.7;
    transform: scale(1.1);
}

.hero-slide::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgba(15, 23, 32, 0.18);
    content: "";
}

.hero-slide img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

/* スクロールで各セクションの背景が左から現れる演出 */
.section-reveal {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.section-reveal::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: #f4f9fd;
    content: "";
    pointer-events: none;
    transform: translateX(-101%);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-reveal::after {
    position: absolute;
    z-index: 0;
    width: min(40vw, 580px);
    aspect-ratio: 1 / 0.72;
    border-radius: 38% 62% 54% 46% / 48% 40% 60% 52%;
    content: "";
    opacity: 0.72;
    pointer-events: none;
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-reveal.is-revealed::before {
    transform: translateX(0);
}

.section-reveal > * {
    position: relative;
    z-index: 1;
}

.section-reveal-activities::before {
    background: #f9f5ff;
}

.section-reveal-join::before {
    background: #fff6fa;
}

/* News: 右側から入る青・ピンク・黄色の装飾 */
.section-reveal-news::before {
    transform: translateX(101%);
}

.section-reveal-news::after {
    top: 56px;
    right: -8%;
    background:
        radial-gradient(circle at 24% 25%, #ff6e9d 0 9%, transparent 9.5%),
        radial-gradient(circle at 72% 22%, #ffd447 0 12%, transparent 12.5%),
        radial-gradient(circle at 66% 70%, #65c8ff 0 17%, transparent 17.5%),
        radial-gradient(circle at 24% 76%, #9b7cff 0 14%, transparent 14.5%),
        linear-gradient(135deg, #b8efff, #d9d1ff);
    transform: translateX(145%) rotate(12deg);
}

.section-reveal-news.is-revealed::after {
    transform: translateX(0) rotate(12deg);
}

/* Activity: 左側から入る紫・水色・ピンクの装飾 */
.section-reveal-activities::after {
    top: 58px;
    left: -8%;
    background:
        radial-gradient(circle at 28% 28%, #79d6ef 0 11%, transparent 11.5%),
        radial-gradient(circle at 73% 27%, #ff83b7 0 13%, transparent 13.5%),
        radial-gradient(circle at 72% 72%, #ffc45b 0 15%, transparent 15.5%),
        radial-gradient(circle at 25% 72%, #a689ff 0 17%, transparent 17.5%),
        linear-gradient(135deg, #d9d0ff, #c6f0ff);
    transform: translateX(-145%) rotate(-12deg);
}

.section-reveal-activities.is-revealed::after {
    transform: translateX(0) rotate(-12deg);
}

.section-reveal-join::after {
    right: -12%;
    bottom: 22px;
    background:
        radial-gradient(circle at 30% 30%, #ffb1ce 0 13%, transparent 13.5%),
        radial-gradient(circle at 72% 70%, #b9a1ff 0 17%, transparent 17.5%),
        linear-gradient(135deg, #ffe0ec, #ddd5ff);
    transform: translateX(145%) rotate(15deg);
}

.section-reveal-join.is-revealed::after {
    transform: translateX(0) rotate(15deg);
}

@media (prefers-reduced-motion: reduce) {
    .section-reveal::before,
    .section-reveal::after {
        transform: translateX(0);
        transition: none;
    }

    .section-reveal-news::after {
        transform: rotate(12deg);
    }

    .section-reveal-activities::after {
        transform: rotate(-12deg);
    }

    .section-reveal-join::after {
        transform: rotate(15deg);
    }
}

@keyframes hero-slide-fade {
    0%,
    42% {
        opacity: 1;
        z-index: 1;
    }

    50%,
    92% {
        opacity: 0;
        z-index: 0;
    }

    100% {
        opacity: 1;
        z-index: 1;
    }
}

.title{
    display: flex;
    position: relative;
    justify-content: center;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 18px;
}

.title::after {
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: min(190px, 48vw);
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #4ba4e5, #8dcbf3);
    content: "";
    transform: translateX(-50%);
}
.news-title {
    /* Styles for the news title */
    text-align: center;
    font-weight: 600;
    font-size: 4rem;
    text-shadow: 0 3px 8px rgba(23, 33, 43, 0.16);
}
.news-subtitle {
    /* Styles for the news subtitle */
    text-align: center;
    font-weight: 100;
    font-size: 1.25rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 6px rgba(23, 33, 43, 0.12);
}
.Newscontext {
    position: relative;
    text-align: center;
    font-size: 1.25rem;
}
.news-date {
    /* Styles for the news date */
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    position: relative;
    top:-8px;
}
.Newscontext a {
    color: inherit;           /* 本文と同じ色 */
    text-decoration: none;    /* 下線を消す */
}

.news-card .Newscontext,
.news-card .news-date {
    transition: opacity 0.2s;
}

.news-card:hover .Newscontext,
.news-card:hover .news-date {
    opacity: 0.45;
}
.more-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 50px;
    margin: 40px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #4ba4e5, #7cbef0);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.22);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.more-button span {
    position: absolute;
    right: 24px;
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
}

.more-button:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.circle-links {
    display: grid;
    grid-template-columns: repeat(2, 64px);
    justify-content: center;
    gap: 16px;
    width: 100%;
    margin: 56px 0 0;
    padding: 40px 0 20px;
    background: #17212b;
}

.circle-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    min-height: 64px;
    padding: 0;
    border-radius: 50%;
    box-sizing: border-box;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    transition: opacity 0.2s, transform 0.2s;
}

.circle-link-x {
    background: #000;
}

.circle-link-marshmallow {
    background: #f3969a;
}

.circle-link:hover {
    opacity: 0.8;
    transform: translateY(-3px);
}

.site-footer {
    padding: 0 0 40px;
    background: #17212b;
    text-align: center;
}

.site-footer-rule {
    color: #c8d2dc;
    font-size: 0.85rem;
    text-decoration: none;
}

.site-footer-rule:hover {
    color: #188dd8;
    text-decoration: underline;
}

.site-footer-separator {
    margin: 0 8px;
    color: #71808f;
    font-size: 0.85rem;
}

.x-icon {
    width: 25px;
    height: 25px;
}

.marshmallow-icon {
    display: block;
    width: 30px;
    height: 30px;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 10;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    color: #17212b;
    transition: opacity 0.2s, transform 0.2s;
}

.back-to-top svg {
    width: 25px;
    height: 25px;
}

.back-to-top:hover {
    opacity: 0.75;
    transform: translateY(-3px);
}

.activities {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 80px 0 48px;
}

.activities-heading {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 12px;
}

.activities-heading h2,
.activities-heading p {
    margin: 0;
}

.activities-heading h2 {
    font-size: 4rem;
    font-weight: 600;
    text-shadow: 0 3px 8px rgba(23, 33, 43, 0.16);
}

.activities-heading p {
    font-size: 1.25rem;
    font-weight: 100;
    text-shadow: 0 2px 6px rgba(23, 33, 43, 0.12);
}

.activities-intro {
    margin: 16px 0 32px;
    color: #52606d;
    text-align: center;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.activity-card {
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid #e3e7ec;
    box-sizing: border-box;
    background: #fff;
}

.activity-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.activity-card-dj .activity-card-image {
    object-position: center 60%;
}

.activity-card-create .activity-card-image {
    object-position: center 65%;
}

.activity-card-compose .activity-card-image {
    object-position: center 75%;
}

/* 実際の活動写真を入れるまで表示する仮画像 */
.activity-placeholder {
    display: grid;
    aspect-ratio: 16 / 9;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #dce5ec, #b7c5d1);
    color: #425260;
}

.activity-placeholder span {
    max-width: 90%;
    overflow: hidden;
    font-size: clamp(1rem, 2.4vw, 1.65rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.activity-placeholder-dj {
    background: linear-gradient(135deg, #d7e9f6, #9fc9e8);
}

.activity-placeholder-create {
    background: linear-gradient(135deg, #e8def5, #c9b1e4);
}

.activity-placeholder-community {
    background: linear-gradient(135deg, #e0eee5, #abd1ba);
}

.activity-card-content {
    padding: 24px 28px 28px;
}

.activity-card-label {
    width: fit-content;
    margin: 0 0 18px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: #33414d;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.activity-card h3 {
    margin: 0;
    font-size: 1.35rem;
}

.activity-card-content > p:last-child {
    margin: 12px 0 0;
    font-size: 0.95rem;
    line-height: 1.8;
}

.join {
    width: min(100% - 32px, 960px);
    margin: 0 auto;
    padding: 24px 0 96px;
}

.join-heading {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 32px;
}

.join-heading h2 {
    margin: 0;
}

.join-heading h2 {
    font-size: 3rem;
    font-weight: 600;
    text-shadow: 0 3px 8px rgba(23, 33, 43, 0.16);
}

.join-message {
    padding: 32px 40px;
    border-radius: 16px;
    background: #f5f9fc;
    color: #303b45;
    font-size: 1rem;
    line-height: 2;
    text-align: center;
}

.join-message p {
    margin: 0;
}

.join-message p + p {
    margin-top: 18px;
}

.join-message a {
    color: #188dd8;
}

.join-message a:hover {
    color: #f475ad;
}

@media (max-width: 720px) {
    .site-header {
        grid-template-columns: 1fr;
        gap: 12px;
        min-height: 0;
        padding: 16px 20px;
    }

    .site-nav {
        grid-column: 1;
        justify-content: flex-start;
        gap: 20px;
    }

    .header-x {
        position: absolute;
        top: 16px;
        right: 20px;
    }

    .site-nav a {
        font-size: 0.82rem;
    }

    .hero-slider {
        height: clamp(280px, 40svh, 420px);
    }

    .activities {
        padding-top: 64px;
    }

    .activities-heading h2 {
        font-size: 2.25rem;
    }

    .activity-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .activity-card-content {
        padding: 20px;
    }

    .activity-card-label {
        margin-bottom: 12px;
    }

    .activity-card h3 {
        font-size: 1.2rem;
    }

    .activity-card-content > p:last-child {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 46px;
        height: 46px;
    }

    .join {
        padding-bottom: 64px;
    }

    .join-heading h2 {
        font-size: 2.25rem;
    }

    .join-message {
        padding: 24px 18px;
        font-size: 0.95rem;
        line-height: 1.9;
    }

    .join-message a {
        display: inline-block;
    }
}

.news-con4 {
    /* Styles for the container of news items */
}

.Newscontent1, .Newscontent2, .Newscontent3, .Newscontent4 {
    /* Styles for each news item */
}

.news-img {
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    object-fit: cover;
}

.news-image-frame {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    background: #17212b;
}

.news-image-frame--fallback::before {
    position: absolute;
    z-index: -2;
    inset: -20px;
    background: var(--news-image) center / cover;
    content: "";
    filter: blur(18px);
    opacity: 0.65;
    transform: scale(1.1);
}

.news-image-frame--fallback::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgba(15, 23, 32, 0.2);
    content: "";
}

.news-image-frame .news-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
