@charset "UTF-8";

:root {
    --color-primary: #002896;
    --color-white: #ffffff;
    --color-text: #2D2D2D;
    --color-surface: #f5f5f5;

    --main-width: 70vw;
}

@font-face {
    font-family: "Machina";
    src: url("fonts/PPNeueMachina-InktrapSemibold.woff2") format("woff2"),
        url("fonts/PPNeueMachina-InktrapSemibold.woff2.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


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

html {
    font-size: 62.5%;
}

body {
    font-family: "univers-next-pro", -apple-system-body, BlinkMacSystemFont, "Yu Gothic Medium", "游ゴシック Medium", YuGothic, 游ゴシック体, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "MS PGothic", sans-serif;
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 2.0;
    font-feature-settings: "palt";
    letter-spacing: 0.06em;
    color: var(--color-text);
}

h2 {
    font-weight: 600;
    font-size: 3.6rem;
    color: var(--color-primary);
}

h3 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 30px;
}

h4 {
    font-size: 2.2rem;
}

.top {
    /* background-color: var(--color-primary); */
    color: var(--color-white);
    height: 200vh;
    position: relative;
    overflow: hidden;
}

#sketch-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
    background: transparent;
}

#sketch-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-primary);
    z-index: 0;
}

#sketch-bg canvas {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    z-index: 1;
    opacity: 1;
    transition: opacity 200ms ease;
}

#sketch-bg.is-hidden canvas {
    opacity: 0;
}


.main-logo {
    width: 80vw;
    margin: 0 auto;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding-bottom: 0;
    gap: 100px;
    position: relative;
    z-index: 1;
}

.main-logo .vclogo {
    width: 100%;
    height: auto;
    margin-top: 0;
}

.main-logo .rmlogo {
    width: 28%;
    height: auto;
    margin-top: 0;
    margin-bottom: 0;
}

.outline-wrap {
    height: 100vh;
    display: flex;
    align-items: center;
}

.outline {
    text-align: justify;
    width: var(--main-width);
    margin: 0 auto;
    font-size: 2.0rem;
    /* line-height: 2.2; */
    position: relative;
    /* font-weight: 600; */
    z-index: 1;
}

/* forward --------------------------------------------*/
.forward {
    background-color: var(--color-surface);
    display: flex;
    flex-flow: column;
    align-items: center;
    padding: 20rem 0;
    position: relative;
    z-index: 1;
}

.forward-text {
    width: 50vw;
    margin: 0 auto;
    text-align: justify;
}

.midashi {
    font-weight: 600;
    font-size: 2.0rem;
    margin-bottom: 50px;
}

.sign {
    margin-top: 40px;
    text-align: right;
}

/* event --------------------------------------------*/
.event {
    background-color: var(--color-white);
    padding: 20rem 0;
    position: relative;
    z-index: 1;
}

.event-content {
    width: var(--main-width);
    margin: 0 auto;
}

.space {
    margin-top: 120px;
    display: flex;
    gap: 30px;
}

.space-photo {
    flex: 1;
}

.space-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.caption {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-top: 10px;
    color: rgb(115, 115, 115);
}

.space-text {
    flex: 1;
}

.reservation {
    display: inline-block;
    background: linear-gradient(90deg, #FF3030, #3157C0, #FF3030);
    background-size: 200% 100%;
    color: #fff;
    padding: 8px 80px;
    border-radius: 999px;
    font-size: 2.0rem;
    font-weight: 700;
    vertical-align: middle;
    margin-top: 30px;
    margin-bottom: 40px;
    text-decoration: none;
    transition: background 300ms ease;
}

.menu-toggle {
    position: fixed;
    top: 40px;
    left: 40px;
    width: 29px;
    height: 22px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    transition: opacity 200ms ease;
}

.modal-open .menu-toggle {
    opacity: 0;
    pointer-events: none;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: #bcbcbc;
    width: 100%;
    transition: transform 220ms ease, opacity 200ms ease, background 200ms ease;
}

.menu-toggle.is-open span {
    background: #bcbcbc;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.global-menu {
    position: fixed;
    inset: 0;
    background: #0a2ea8;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1100;
    padding: 80px 40px;
    box-sizing: border-box;
    transform: translateY(-6px);
    transition: opacity 260ms ease, visibility 260ms ease, transform 260ms ease;
}

.global-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.global-menu ul {
    list-style: none;
    padding: 80px 0 0;
    margin: 0;
}

.global-menu li {
    margin-bottom: 22px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 260ms ease, transform 260ms ease;
}

.global-menu.is-open li {
    opacity: 1;
    transform: translateY(0);
}

.global-menu.is-open li:nth-child(1) {
    transition-delay: 40ms;
}

.global-menu.is-open li:nth-child(2) {
    transition-delay: 80ms;
}

.global-menu.is-open li:nth-child(3) {
    transition-delay: 120ms;
}

.global-menu.is-open li:nth-child(4) {
    transition-delay: 160ms;
}

.global-menu.is-open li:nth-child(5) {
    transition-delay: 200ms;
}

.global-menu.is-open li:nth-child(6) {
    transition-delay: 240ms;
}

.global-menu.is-open li:nth-child(7) {
    transition-delay: 280ms;
}

.global-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.fade-in {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 600ms ease, transform 600ms ease;
}

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

.no-fade {
    opacity: 1 !important;
    transform: none !important;
}

@media (max-width: 900px) {
    :root {
        --main-width: 80vw;
    }

    .main-logo {
        width: 86vw;
    }

    .outline {
        width: var(--main-width);
        font-size: 1.8rem;
        line-height: 2.0;
    }

    .forward-text {
        width: var(--main-width);
    }

    .space {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    :root {
        --main-width: 85vw;
    }

    .main-logo {
        width: 90vw;
        height: 100vh;
    }

    .main-logo .vclogo {
        transform: translateY(-6vh);
    }

    .main-logo {
        gap: 16px;
    }

    .main-logo .rmlogo {
        transform: scale(1.44);
    }

    .main-logo .rmlogo {
        content: url("images/ram_logo.svg");
    }

    .main-logo .vclogo {
        content: url("images/logo_sp.svg");
    }

    .forward {
        padding: 12rem 0;
    }

    .outline {
        width: var(--main-width);
        font-size: 1.8rem;
        line-height: 2.0;
    }

    .forward-text {
        width: var(--main-width);
    }

    .space {
        flex-direction: column;
    }
}


.reservation:hover {
    animation: reservationShift 1.8s ease-in-out infinite;
}

@keyframes reservationShift {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 0%;
    }

    100% {
        background-position: 0% 0%;
    }
}

.reservation a {
    color: #fff;
    text-decoration: none;
}

.num {
    font-family: "Machina", sans-serif;
    font-size: 4rem;
    line-height: 1.0;
    color: var(--color-primary);
    margin-bottom: 4px;
    position: relative;
    top: -5px;
}

.sharp {
    font-family: "univers-next-pro", sans-serif;
    font-weight: 500;
    line-height: 1.0;
}

.category {
    font-size: 1.5rem;
    line-height: 1.0;
    font-weight: 600;
    margin-top: 16px;
}

.notes {
    margin-top: 20px;
    font-size: 1.5rem;
}

p a {
    color: var(--color-primary);
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}

/* schedule */
.schedule {
    background-color: var(--color-primary);
    padding: 20rem 0;
    color: var(--color-white);
    position: relative;
    z-index: 1;
}

.schedule-content {
    width: var(--main-width);
    margin: 0 auto;
}

.schedule h2 {
    color: var(--color-white);
    margin-bottom: 0;
}

.schedule img {
    margin-top: 80px;
    width: 100%;
    height: auto;
    display: block;
}

/* works */
.works {
    background-color: var(--color-white);
    padding: 20rem 0;
    position: relative;
    z-index: 1;
}

.works h2 {
    margin-bottom: 100px;
}

hr {
    border: none;
    border-top: 1px solid #E0E0E0;
    margin: 80px 0;
}

.works-content {
    width: var(--main-width);
    margin: 0 auto;
}

.program {}

.program-content-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 75px;
}

.program-content {
    flex: 0 0 calc((100% - 60px) / 3);
    box-sizing: border-box;
    cursor: pointer;
}

.program-content img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: contain;
    background: #000;
    display: block;
    transition: filter 220ms ease, opacity 300ms ease;
}

.program-content:hover img {
    opacity: 0.6;
}

.modal-only {
    display: none;
}

.name {
    font-size: 2.2rem;
    line-height: 1.2;
    font-weight: 600;
    margin-top: 16px;
}

.modal-body .name {
    font-size: 4.0rem;
    margin-top: 0;
    margin-bottom: 20px;
}

.name-en {
    font-size: 1.4rem;
    color: var(--color-primary);
}

.title {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-top: 8px;
}

.program-content .title {
    font-size: 1.68rem;
}

.modal-body .title {
    font-size: 2.4rem;
    line-height: 1.2;
}


.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-overlay.is-open {
    display: flex;
}

.modal-content {
    width: 96vw;
    height: 96vh;
    padding: 0;
    background: #fff;
    color: #111;
    position: relative;
    overflow: auto;
    box-sizing: border-box;
}

.modal-close {
    position: sticky;
    top: 20px;
    left: 12px;
    border: none;
    background: transparent;
    color: transparent;
    font-size: 0;
    width: 58px;
    height: 44px;
    cursor: pointer;
    z-index: 2;
}

.modal-close::before,
.modal-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 58px;
    height: 2px;
    background: #2d2d2d;
    transform-origin: center;
}

.modal-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-body {
    max-width: 880px;
    margin: 0 auto;
    padding: 30px 0 100px 0;
}

.modal-gallery {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    position: relative;
    overflow: hidden;
    margin: 24px auto 10px;
}

.modal-gallery img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1000ms ease;
}

.modal-gallery img.is-active {
    opacity: 1;
}

.modal-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
}

.modal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cfcfcf;
}

.modal-dot.is-active {
    background: #1f4bd8;
}

.modal-no {
    display: inline-block;
    color: #FF3030;
    font-family: "Machina", sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-right: 0;
    font-size: 2.6rem;
    line-height: 1.0;
    position: relative;
    top: 2px;
}

.modal-position {
    display: inline-block;
    background: linear-gradient(135deg, #FF3030, #3157C0);
    color: #fff;
    padding: 1px 20px;
    border-radius: 999px;
    font-size: 1.2rem;
    vertical-align: middle;
}

.modal-badges {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.spec-full {
    font-size: 1.2rem;
    color: #777;
    margin-top: 6px;
}

.description {
    margin-top: 40px;
    line-height: 1.9;
    text-align: justify;
}

.credit {
    margin-top: 12px;
    font-size: 1.2rem;
    color: #555;
}

.modal-rule {
    border: none;
    border-top: 1px solid #e6e6e6;
    margin: 18px 0;
}

.person-name {
    font-weight: 600;
    line-height: 1.0;
}

.person-name-en {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.person-title {
    font-size: 1.4rem;
    margin-top: 4px;
}

.profile {
    margin-top: 10px;
    line-height: 1.8;
    font-size: 1.4rem;
}

.profile-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    align-items: start;
}

.profile-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    aspect-ratio: 4 / 3;
    background: transparent;
    object-position: left top;
}

.profile-text {
    min-width: 0;
    text-align: justify;
}

.spec {
    font-size: 1.2rem;
    color: rgb(115, 115, 115);
}

.fringe {
    background-color: var(--color-surface);
    padding: 20rem 0;
    position: relative;
    z-index: 1;
}

.fringe-content {
    width: var(--main-width);
    margin: 0 auto;

}

.fringe h2 {
    margin-bottom: 100px;
}

.fring-item {
    margin-bottom: 40px;
}

.fringe h4 {
    margin-top: 20px;
}

.fring-event {
    margin-top: 40px;
}

.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.footer-content {
    width: var(--main-width);
    margin: 0 auto;
    font-size: 1.5rem;
    line-height: 2.0;
}

.footer p {
    margin-bottom: 30px;
}

.sns_wrap {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.footer hr {
    border-color: #3157C0;
}

.copyright {
    font-size: 1.2rem;
}

@media (max-width: 900px) {

    .forward,
    .event,
    .schedule,
    .works,
    .fringe {
        padding: 9rem 0;
    }

    .footer {
        padding: 48px 0;
    }

    .program-content {
        flex: 0 0 calc((100% - 30px) / 2);
    }

    .modal-overlay {
        padding: 0;
        background: #fff;
    }

    .modal-content {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
    }

    .modal-body {
        max-width: 100%;
        padding: 24px;
    }

    .profile-section {
        grid-template-columns: 1fr;
    }

    .profile-img {
        width: 50%;
    }

    .reservation {
        padding: 8px 40px;
        white-space: nowrap;
    }
}

@media (max-width: 600px) {
    .menu-toggle {
        top: 20px;
        left: 16px;
    }

    .global-menu {
        padding: 56px 20px;
    }

    .global-menu ul {
        padding: 48px 0 0;
    }

    .global-menu li {
        margin-bottom: 10px;
    }

    .global-menu a {
        font-size: clamp(1.4rem, 4.5vw, 1.9rem);
        line-height: 1.4;
        display: inline-block;
        max-width: 100%;
        word-break: keep-all;
        overflow-wrap: anywhere;
    }

    .forward,
    .event,
    .schedule,
    .works,
    .fringe {
        padding: 8rem 0;
    }

    .footer {
        padding: 40px 0;
    }

    h2 {
        font-size: 2.88rem;
        margin-bottom: 40px;
    }

    h3 {
        font-size: 2.24rem;
    }

    h4 {
        font-size: 1.76rem;
    }

    p {
        font-size: 1.44rem;
    }

    .num {
        font-size: 3.2rem;
    }

    .name {
        font-size: 2.0rem;
    }

    .title {
        font-size: 0.8rem;
    }

    .person-name {
        font-size: 2.2rem;
    }

    .person-name-en {
        font-size: 1.6rem;
    }

    .modal-body .name {
        font-size: 2.8rem;
    }

    .modal-body .title {
        font-size: 1.8rem;
        line-height: 1.8;
    }

    hr {
        margin: 40px 0;
    }

    .footer-logo {
        width: 50%;
        height: auto;
        display: block;
        margin-bottom: 8px;
    }

    .copyright {
        font-size: 1.0rem;
    }

    .outline {
        font-size: 1.44rem;
        line-height: 2.0;
    }

    .program-content {
        flex: 0 0 100%;
    }

    .reservation {
        display: block;
        width: 100%;
        text-align: center;
        padding: 10px 16px;
        white-space: nowrap;
    }

    .modal-overlay {
        padding: 0;
        background: #fff;
    }

    .modal-content {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
    }

    .modal-body {
        max-width: 100%;
        padding: 88px 20px 120px;
    }

    .category {
        margin-top: 20px;
    }

    .profile-section {
        grid-template-columns: 1fr;
    }

    .profile-img {
        width: 50%;
    }

    .modal-close {
        position: fixed;
        top: 20px;
        left: 16px;
        padding-top: 0;
        width: 46px;
        height: 35px;
    }

    .modal-gallery {
        margin-top: 40px;
        width: calc(100% + 40px);
        margin-left: -20px;
        margin-right: -20px;
    }

    .modal-close::before,
    .modal-close::after {
        width: 46px;
        height: 1px;
    }

    .program-content:hover img {
        opacity: 1;
    }

    .outline,
    .forward-text,
    .description,
    .profile-text {
        text-align: left;
    }
}
