body {
    background-color: #FBFBFB;
    overflow-x: hidden;
    font-family: "Zen Kaku Gothic New", sans-serif;
    margin: 0;
    transition: background-color 0.8s ease;
}

::selection {
    background-color: #EF5350; 
    color: #FBFBFB;            
}

::-moz-selection {
    background-color: #EF5350;
    color: #FBFBFB;
}

body.no-scroll {
    overflow: hidden;
    touch-action: none; 
}

h1, h2, h3, h4 {
    margin: 0;
}
p {
    font-size: 20px;
    letter-spacing: 0.06em;
    line-height: 33px;
    margin: 0;
    color: #222222;
}

a {
    font-size: 20px;
    letter-spacing: 0.06em;
    line-height: 33px;
    color: #EF5350;
    text-decoration: underline;
    text-decoration-thickness: 6.5%;
    text-underline-offset: 19%;
    margin: 0;
}

section {
    position: relative;
    z-index: 2;              
    pointer-events: none;    
    margin-top: 120px;
    margin-bottom: 70px;
    padding: 0 140px;
}

section * {
    pointer-events: auto;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999; 
    transition: opacity 0.5s ease, visibility 0.5s ease; 
}

.loading-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: 1;
}

.bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    
    background: linear-gradient(
        to bottom,
        #ADD1ED 0%,       
        #ADD1ED 33.33%,   
        #FF9169 50%,      
        #EF5350 70%,      
        #EF5350 100%
    );
    background-size: 100% 300%;
    background-position: 0% 0%; 
    transition: none;
}

.content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    z-index: 1;
}

.title-svg {
    width: 100%;
    max-width: 800px;
    height: auto;
    filter: drop-shadow(0px 2px 6px rgba(0,0,0,0.15));
}

.title-svg img {
    width: 100%;
    height: auto;
    display: block;
}

.decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; 
    z-index: 1; 
}

.decor {
    position: absolute;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.7s cubic-bezier(0.2, 0.0, 0.2, 1), opacity 0.5s ease;
}

.decor-tl {
    top: 0;
    left: 0;
    transform-origin: top left;
    width: 12%; 
}


.decor-tr {
    top: 0;
    right: 0;
    transform-origin: top right;
    max-width: 40%;
}

.decor-bl {
    bottom: 0;
    left: 0;
    transform-origin: bottom left;
    max-width: 40%;
}

.decor-br {
    bottom: 0;
    right: 0;
    transform-origin: bottom right;
    max-width: 40% !important;
}

.decorations.show .decor {
    transform: scale(1);
    opacity: 1;
}

.main-content {
    position: relative;
    z-index: 1; 
    background-color: #fbfbfb;
    overflow: hidden; 
}

.container {
    margin: 0 auto;
}

.section-title {
    font-size: 30px;
    letter-spacing: 0.1em;
    margin-bottom: 50px;
    font-weight: 500;
    color: #222222;
    position: relative;
    display: inline-block; 
}

.section-title-B {
    font-size: 35px;
    letter-spacing: 0.1em;
    margin-bottom: 70px;
    font-weight: 500;
    color: #222222;
    position: relative;
    display: inline-block; 
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;            
    width: 100%;
    height: 2px;              
    background-color: #EF5350;
    border-radius: 999px;    
}


.info-section {
    margin-bottom: 20px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
}

.info-label {
    flex-shrink: 0;
}

.label-svg {
    width: 100%;
    height: auto;
    display: block;
}

.info-text {
    font-size: 32px;
}

.item-date {
    gap: 60px;                  
}

.item-date .info-label {
    width: 205px;               
    transform: translateY(10px);
}

.item-place {
    gap: 95px;                
}

.item-place .info-label {
    width: 173px;               
    transform: translateY(-7px);
}

.item-organizer {
    gap: 62px;                
}

.item-organizer .info-label {
    width: 205px;                
    transform: translateY(1px); 
}

.greeting-catch {
    font-size: 45px;
    font-weight: normal;
    margin-bottom: 30px;
    letter-spacing: 0.15em;
    margin-top: 22px;
}

.greeting-body p {
    margin-bottom: 1.8rem;
    color: #222222;
}

.greeting-author {
    margin-top: 60px;
    text-align: right;
}

.action-buttons {
    display: flex;
    gap: 50px;
    margin-bottom: 70px;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 52px 10px;
    border-radius: 7px;
    color: #fbfbfb;
    font-size: 21px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.action-btn:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.17);
}

.action-btn .arrow {
    position: absolute;
    right: 24px;
    font-style: normal;
    font-size: 1.9rem;
    font-weight: 300;
}

.btn-red {
    background-color: #EF5350;
}

.btn-orange {
    background-color: #FF9169;
}

.btn-blue {
    background-color: #ADD1ED;
}

.sponsor-card {
    background-color: #fbfbfb;
    border-radius: 16px;
    padding: 50px 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    text-align: center;
    width: 70%;
    margin: 0 auto;
}

.sponsor-title {
    margin-bottom: 45px;
}

.sponsor-title .small {
    font-size: 0.85rem;
    color: #222222;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 40px;
    max-width: 720px;
    margin: 0 auto;
    align-items: center;
}

.sponsor-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 85px;
    transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.3s ease;
}

.sponsor-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sponsor-item:hover {
    transform: translateY(-1px);
}

.contact-section {
    margin-bottom: 100px;
}

.contact-container {
    display: flex;
    align-items: center;
    gap: 130px;        
    margin-top: 40px;   
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center; 
    gap: 40px;          
    flex: 0 0 auto;
}

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 45px;
    height: 45px;
    stroke: #FBFBFB;
}

.icon-red {
    background-color: #FF9169;
}

.icon-blue {
    background-color: #A8D1ED;
}

.contact-label {
    margin-bottom: 18px;
    text-indent: -0.6em; 
}

.contact-detail {
    margin: 4px 0;
}

.contact-detail a {
    color: #EE5351;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-divider {
    width: 2px;                 
    height: 120px;              
    background-image: linear-gradient(to bottom, #222222 50%, transparent 50%);
    background-repeat: repeat-y;
    background-size: 2px 10px; 
    flex-shrink: 0;
}

.bg-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;             
    pointer-events: none;   
}

.bg-blob {
    position: absolute;
    height: auto;
    pointer-events: auto !important; 
    cursor: pointer;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.blob-top {
    top: 25%;
    right: -20px;
    width: 18%; 
    animation-name: float-top;
    animation-duration: 5s; 
    animation-delay: -3s;
}

.blob-left {
    top: 68%;
    width: 20%;  
    animation-name: float-left;
    animation-duration: 7s; 
    animation-delay: -5s;
}

.blob-right {
    bottom: 5%;
    right: -10%;
    width: 50%;
    max-width: 600px;
    animation-name: float-right;
    animation-duration: 9s; 
    animation-delay: -1s;
}

@keyframes float-top {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(10px, 15px); 
    }
    66% {
        transform: translate(-5px, -5px); 
    }
}
@keyframes float-left {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-10px, 5px); 
    }
    50% {
        transform: translate(0px, 15px);  
    }
    75% {
        transform: translate(10px, 0px);  
    }
}

/* rightの図形用の動き */
@keyframes float-right {
    0%, 100% {
        transform: translate(0, 0);
    }
    20% {
        transform: translate(10px, -10px);
    }
    40% {
        transform: translate(0px, 10px);   
    }
    60% {
        transform: translate(-10px, -5px); 
    }
    80% {
        transform: translate(5px, 10px);
    }
}

.sp-br {
    display: none;
}

.sp-decor {
    display: none;
}

.menu-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 100;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.5s cubic-bezier(0.2, 0, 0.2, 1);
}

.menu-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-icon {
    width: 45px; 
    height: auto;
}

.menu-text {
    font-size: 16px;
    color: #222222;
    margin-top: 5px;
    font-weight: 500;
}

.menu-overlay {
    position: fixed;
    top: 0;
    right: 0;       
    width: 35vw;         
    min-width: 320px;    
    max-width: 450px;     
   height: 65vh;      
    min-height: 550px;   
    z-index: 101;
    background: transparent; 
    transform-origin: top right;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease; 
    display: flex;
    flex-direction: column;
    padding: 80px 40px 40px 40px;
    box-sizing: border-box;
}

.menu-bg-svg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: top right;    
    z-index: -1; 
    pointer-events: none; 
}

.menu-overlay.active {
    transform: scale(1);
    opacity: 1;
}

.menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #FBFBFB;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.close-icon-wrap {
    position: relative;
    width: 45px;
    height: 45px;
}

.close-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1.4px;
    background-color: #FBFBFB;
}

.close-line:nth-child(1) { transform: rotate(45deg); }
.close-line:nth-child(2) { transform: rotate(-45deg); }

.close-text {
    font-size: 16px;
    margin-top: 5px;
    font-weight: 300;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: auto 0;
    text-align: center;
    transform: translateX(30px);
}

.menu-list li {
    margin-bottom: 35px;
}

.menu-list a {
    color: #FBFBFB;
    text-decoration: none;
    font-size: 20px;
    letter-spacing: 0.1em;
    transition: opacity 0.3s ease;
}

.menu-list a:hover {
    opacity: 0.7;
}


@media (max-width: 1380px) {
    .contact-container {
        gap: 4vw; 
    }
    
    .contact-item {
        gap: 20px; 
    }
}

@media (max-width: 1024px) {
    .contact-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 50px; 
        margin-top: 30px;
    }

    .contact-divider {
        width: 100%;
        height: 2px;
        background-image: linear-gradient(to right, #222222 50%, transparent 50%);
        background-repeat: repeat-x;
        background-size: 10px 2px; 
    }
}

@media (max-width: 1024px) {

    .sp-br {
    display: none;
}

    p, a {
        font-size: 16px;
        line-height: 26px;
        letter-spacing: 0.03em;
    }

    section {
        padding: 0 50px;
        margin-top: 80px;
        margin-bottom: 50px;
    }
    section:first-of-type {
        margin-top: 20px; 
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .section-title::after {
        height: 1px;
    }

    .section-title-B {
        font-size: 30px;
        margin-bottom: 35px;
    }
    .title-svg{
        width: 80%;
    }

    .decor-tl {
        width: 25%;
    }
    .decor-tr {
        max-width: 60%;
    }
    .decor-bl {
        max-width: 60%;
    }
    .decor-br {
        max-width: 30% !important;
    }

    .greeting-catch {
        font-size: 29px;
        margin-bottom: 25px;
    }

    .greeting-body p {
    margin-bottom: 1.0rem;
    color: #222222;
    }

    .blob-top {
        width: 20%;
    }
    .blob-left {
        width: 28%; 
    }
    .blob-right {
        width: 40%; 
        max-width: 450px;
        bottom: 11%;
    }

    .info-text {
        font-size: 20px;
    }

    .date-svg {
        width: 270px;
    }

    .item-date {
        gap: 40px;
    }

    .item-date .info-label {
        width: 160px;
    }

    .item-place {
        gap: 60px;
    }

    .item-place .info-label {
        width: 140px;
    }

    .item-organizer {
        gap: 40px;
    }

    .item-organizer .info-label {
        width: 160px;
    }

    .action-buttons {
        gap: 24px;
        margin-bottom: 50px;
    }

    .action-btn {
        padding: 36px 15px;
        font-size: 16px;
        display: flex;
        align-items: center;
    }

    .action-btn .arrow {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-55%); 
        font-style: normal;
        font-size: 1.4rem;
        line-height: 1;
    }

    .sponsor-card {
    width: 85%;
    padding: 30px 40px;
    }

    .sponsor-grid {
        gap: 25px 20px; 
        max-width: 500px; 
    }

    .sponsor-item {
        height: 65px;
    }

    .sponsor-item img {
        max-height: 79%;
    }

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

    .contact-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        margin-top: 20px;
    }

    .contact-divider {
        width: 60%;
        height: 1px;
        background-image: linear-gradient(to right, #222222 50%, transparent 50%);
        background-repeat: repeat-x;
        background-size: 10px 1px;
    }

    .contact-icon {
        width: 65px;
        height: 65px;
    }

    .contact-icon svg {
        width: 35px;
        height: 35px;
    }
    .loading-video {
        object-fit: contain;
    }
    .loading-screen {
    background-color: #ffffff; 
    }
    .menu-overlay {
        width: 55vw;         
        min-width: 450px;   
        max-width: 600px;
        
        height: 60vh;
        min-height: 500px;  
    }

    .menu-list {
        transform: translateX(32px); 
    }
}

@media (max-width: 600px) {
    .loading-video {
        object-fit: contain;
    }
    .loading-screen {

    background-color: #ffffff; 
    }
    .sp-br {
        display: inline;
    }

    p, a {
        font-size: 14px;
        line-height: 26px;
        letter-spacing: 0.03em; 
    }

    section {
        padding: 0 20px;
        margin-top: 60px;
        margin-bottom: 40px;
    }

    .pc-decor {
         display: none;
    }
        
    .sp-decor {
        display: block;
    }
    
    .decor-top {
        top: 0;
        left: 0;
        width: 100%; 
        transform-origin: top center;
    }


    .decor-bottom {
        bottom: 0;
        left: 0;
        width: 100%; 
        transform-origin: bottom center;
    }
    
    .decor {
        position: absolute;
        transform: scale(0);
        opacity: 0;
        transition: transform 0.5s cubic-bezier(0.2, 0.0, 0.2, 1), opacity 0.5s ease;
    }

    .decorations.show .decor {
    transform: scale(1);
    opacity: 1;
    }

    .title-svg {
        transform: translateX(10px); 
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .section-title-B {
        font-size: 24px;
        margin-bottom: 35px;
    }

    .info-item {
        flex-direction: row; 
        align-items: center;
        gap: 15px;
    }

    .date-svg{
        width: 210px;
    }
    

    .info-text {
        font-size: 15px; 
    }

    .item-date .info-label {
    width: 120px;               
    transform: translateY(5px);
    }

    .item-place {
        gap: 34px;                
    }

    .item-place .info-label {
        width: 103px;               
        transform: translateY(-7px);
    }

    .item-organizer {
        gap: 15px;                
    }

    .item-organizer .info-label {
        width: 120px;                
        transform: translateY(1px); 
    }
    .greeting-catch {
        font-size: 22px;
        margin-bottom: 13px;
        margin-top: 0px;
    }

    .greeting-body p {
    margin-bottom: 0.6rem;
    color: #222222;
    }

    .greeting-author {
        margin-top: 30px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 40px;
    }

    .action-btn {
        padding: 38px 15px; 
        font-size: 16px;
    }

    .sponsor-card {
        width: 100%;
        box-sizing: border-box;
        padding: 30px 15px;
    }

    .sponsor-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sponsor-item img {
        width: 70%;
    }

    .contact-section {
        margin-bottom: 60px;
    }

    .contact-section .section-title {
        margin-bottom: 15px; 
    }

    .contact-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-top: 10px; 
    }
    

    .contact-item {
        gap: 25px;
    }

    .contact-icon {
        width: 55px;
        height: 55px;
    }

    .contact-icon svg {
        width: 30px;
        height: 30px;
    }

    .contact-divider {
        width: 100%;
        height: 1px;
        background-image: linear-gradient(to right, #222222 50%, transparent 50%);
        background-repeat: repeat-x;
        background-size: 10px 1px;
    }
    .contact-label {
    margin-bottom: 5px; 
    }

    .contact-detail {
        margin: 2px 0; 
    }

.menu-btn {
        top: 15px;
        right: 15px;
    }
    
    .menu-icon {
        width: 35px;
    }
    
    .menu-text {
        font-size: 12px;
    }

    .menu-overlay {
        width: 280px;       
        min-width: unset;    
        max-width: 90vw;     
        height: 380px;      
        min-height: unset; 
        
        padding: 60px 15px 20px 15px; 
    }

    .menu-close {
        top: 15px;
        right: 15px;
    }
    
    .close-icon-wrap {
        width: 30px;
        height: 30px;
    }
    
    .close-text {
        font-size: 12px;
    }

    .menu-list {
        transform: translateX(22px); 
    }
    
    .menu-list li {
        margin-bottom: 20px; 
    }
    
    .menu-list a {
        font-size: 16px;     
    }
}
