/**********************************************/
/*
/**********************************************/
body {
    width: 100%;
    margin: 0;
}
main {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/*****************************/
/*アロー*/
/*****************************/
.arrow-container {
    background: linear-gradient(135deg, #3a3a3a 0%, #1d1d1d 25%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px; /* 見やすいように高さを設定 */
    overflow: hidden; /* コンテナからはみ出さないように */
}
.arrow-container img {
    margin: 0 10px;
}
.arrow-container span {
    color: white;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
}
.arrow-container p {
    font-size: 12px;
    color: white;
}
.arrow {
  width: 40px;
  height: 40px;
  background-size: contain;
  animation: moveArrow 4s ease-in-out infinite;
}

@keyframes moveArrow {
  0% {
    transform: translateY(-100%);  /* 初めは左外から */
    opacity: 0;
  }
  50% {
    transform: translateY(0);  /* 中間で元の位置に */
    opacity: 1;
  }
  100% {
    transform: translateY(100%); /* 最後は右外へ */
    opacity: 0;
  }
}

@media (max-width: 600px) {
    .arrow-container span {
        font-size: 18px;
    }
    .arrow-container p {
        font-size: 10px;
    }
    .arrow-container {
        height: 70px;
    }
    .arrow {
        height: 30px;
        width: 30px;
    }
}

/*****************************/
/*main*/
/*****************************/
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgb(255, 255, 255);
}

/*****************************/
/*ヒーローイメージ*/
/*****************************/
.hero-area {
    width: 100%;
    height: auto; 
    aspect-ratio: 16 / 9;
    margin-top: clamp(70px, 10vh, 90px);
    justify-content: space-around;
    align-items: center;
    background-size: cover;
    background-position: top center;
    overflow: hidden;
    background-color: rgb(255, 255, 255);
}


/*****************************/
/*スライダー*/
/*****************************/
.swiper {
    max-width: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.swiper-slide {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}
.backimg-cover {
    background-size: cover;
}

.slide-1 {
    background-image: url(../images/index/hero-img/eagle_cup.png);
}
.slide-2 {
    background-image: url(../images/index/hero-img/Unigame\ Champion.png);
}
.slide-3 {
    background-image: url(../images/index/hero-img/workshop.png);
}
.slide-4 {
    background-image: url(../images/index/hero-img/valo-scrim.png);
}

.swiper-button-prev, .swiper-button-next {
    color: #ffffff; /* 矢印の色 */
}

.swiper-pagination-bullet {
    background-color: hsla(0, 0%, 100%, 0.3); /* ページネーションの色 */
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background-color: #ffffff; /* アクティブ時の色 */
}

/*****************************/
/*活動理念*/
/*****************************/
.mission {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: clamp(40px, 8vw, 100px) 40px;
    width: 100%;
    max-height: 600px;
    min-height: 400px;
    height: auto; 
    aspect-ratio: auto;
    background-color: #ffffff;
    position: relative;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), 
        url(../images/index/mission_bg.png);
}
.mission img {
    height: 15rem;
}
.mission-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}
.mission-content h1 {
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 400;
    letter-spacing: 1.5px;
}
.mission-content p {
    font-size: 16px;
    letter-spacing: 1.5px;
    line-height: 27px;
}
.mission-content a:hover {
    color: #686868;
}
@media (max-width: 1024px) {
    .mission {
        flex-direction: column;
        padding: 50px 50px;
        gap: 0;
    }
    .mission-content {
        gap: 25px;
    }
}
@media (max-width: 600px) {
    .mission img {
        height: 10rem;
    }
    .mission-content h1 {
        font-size: 20px;
    }
    .mission-content p {
        font-size: 12px;
        line-height: 16px;
    }
}
/*****************************/
/*活動内容*/
/*****************************/
.project {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    background-color: #ffffff;
    padding: 50px 30px;
}
.project .headnig {
    font-size: 20px;
    margin-bottom: 45px;
}
.activity {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
}
.activity .management, .activity .competition {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 50px 0;
    gap: 15px;
}
.activity .management-content, .activity .competition-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.activity .management span, .activity .competition span {
    width: 80%;
    margin: 30px 0;
}
.text-area {
    max-width: 600px; margin:30px 20px;
}
.activity .management ul, .activity .competition ul {
    text-align: start;
    list-style: none;
}
.activity .management li, .activity .competition li {
    font-size: 18px;
    padding: 5px 0;
}
.activity .management a, .activity .competition a {
    font-size: 20px;
}
.activity .management {
    position: relative;
}
.activity .management::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, #00b7ff, #e02cd1);
}
.activity .management a {
    text-decoration: none;
    color: #13a500;
    position: relative;
    z-index: 1;
    padding: 0 10px;
}
.activity .management a::before {
    background: #13a500;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform .3s;
    z-index: -1;
}
.activity .management a:hover {
    color: #fff;
}
.activity .management a:hover::before {
    transform-origin: left top;
    transform: scale(1, 1);
}
.activity .competition a {
    text-decoration: none;
    color: #ff2f2f;
    position: relative;
    z-index: 1;
    padding: 0 10px;
}
.activity .competition a::before {
    background: #ff2f2f;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform .3s;
    z-index: -1;
}
.activity .competition a:hover {
    color: #fff;
}
.activity .competition a:hover::before {
    transform-origin: left top;
    transform: scale(1, 1);
}
@media (max-width: 900px) {
    .project {
        padding: 0;
    }
    .project .headnig{
        margin: 0 40px;
        margin-top: 30px;
    }
    .activity {
        flex-direction: column;
    }
    .activity .management::after {
        display: none; /* 縦並び時は中央の境界線を消す */
    }
    .activity .management, .activity .competition {
        width: 100%;
        padding: 40px 20px;
        border-bottom: 1px solid #eee;
    }
}
@media (max-width: 600px) {
    .project .headnig {
        font-size: 12px;
    }
    .activity .management, .activity .competition {
        padding: 20px 20px;
        gap: 5px;
    }
    .management-content h1 {
        font-size: 24px;
    }
    .competition-content h1 {
        font-size: 24px;
    }
    .activity .management li, .activity .competition li {
        font-size: 12px;
        line-height: 16px;
    }
    .sub-head {
        font-size: 12px;
    }
    .activity .management a, .activity .competition a {
        font-size: 12px;
    }
    .text-area {
        margin: 20px 10px;
    }
}
/*****************************/
/*ニュース(トピックス)*/
/*****************************/
.news {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 100px 40px;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), 
        url(../images/index/topicks_bg.JPG);
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}
.news::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    pointer-events: none;
    z-index: -1;
}
.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: auto;
}
.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.img-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    position: relative;
}
.img-placeholder::after {
    content: "IMAGE AREA";
    color: #555;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    font-family: 'Orbitron', sans-serif;
}
.news-text-area {
    padding: 20px;
    background: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.news-title {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    font-weight: bold;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    color: #888;
    text-align: right;
}
.view-more {
    margin-top: 60px;
    z-index: 3;
}

.view-more a {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    text-decoration: none;
    color: #000000;
    position: relative;
    z-index: 1;
    padding: 0 10px;
    display: inline-block;
    transition: color .3s;
}
.view-more a::before {
    background: #ffc900;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform .3s;
    z-index: -1;
}
.view-more a:hover {
    color: #ffffff;
}

.view-more a:hover::before {
    transform: scale(1, 1);
    transform-origin: left center;
}

@media (max-width: 600px) {
    .news {
        padding: 30px 0;
    }
    .view-more {
        margin-top: 30px;
    }
    .view-more a {
        font-size: 12px;
    }
}

/*****************************/
/*SNS*/
/*****************************/
.sns {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 75px;
    width: 100%;
}
.sns .headnig {
    font-size: 20px;
}
.sns-logo {
    display: flex;
    justify-content: center;
    gap: 50px;
    text-align: center;
    width: 100%;
}
.sns-logo a{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #000000;
    transition: opacity 0.2s ;
}
.sns-logo a:hover {
    opacity: 0.5;
}
.sns-logo img {
    height: 75px;
    margin: 15px 0;
}
.sns .divid-line {
    width: 1px;
    background: linear-gradient(to bottom, #00b7ff, #e02cd1);
}
.X, .Instagram, .YouTube {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
    min-width: 280px;
}
.X span, .Instagram span, .YouTube span {
    margin-top: 15px;
    font-size: 14px;
    text-align: left;
    padding: 0 15px;
}
@media (max-width: 1024px) {
    .sns .divid-line {
        display: none;
    }
    .sns {
        padding: 50px 20px;
    }
    .sns-logo {
        flex-direction: column;
        align-items: center;
    }
    .X, .Instagram, .YouTube {
        width: 100%;
        max-width: 500px;
    }
    .Instagram {
        border-top: 1px solid rgb(196, 196, 196);
        border-bottom: 1px solid rgb(196, 196, 196);
        padding-top: 30px;
        padding-bottom: 50px;
    }
}
@media (max-width: 600px) {
    .sns {
        padding: 20px;
        gap: 20px;
    }
    .sns .headnig {
        font-size: 12px;
    }
    .sns-logo {
        gap: 20px;
    }
    .X span, .Instagram span, .YouTube span {
        font-size: 12px;
    }
    .sns-logo img {
        height: 50px;
        margin: 10px 0;
    }
    .Instagram {
        padding-top: 10px;
        padding-bottom: 20px;
    }
}

/*****************************/
/*連携・協力*/
/*****************************/
.partnership {
    width: 100%;
    padding: clamp(60px, 10vw, 120px) 20px;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),     
        url(../images/index/partnership_bg.png);
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
}

.partnership-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(20px, 4vw, 50px); 
    width: 100%;
    max-width: 1100px;
}

.partnership-card {
    flex: 1;
    min-width: clamp(280px, 45%, 500px);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-top: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 4px;
    padding: clamp(25px, 5vw, 40px);
    
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.partnership-card h1 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 25px;
    color: #000000;
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
}
.partnership-card h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, #00b7ff, #e02cd1);
    border-radius: 2px;
}
.partnership-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.partnership-card li {
    font-size: clamp(0.9rem, 2vw, 1rem);
    margin-bottom: 12px;
    color: #000000;
    position: relative;
    padding-left: 1.2em;
}

.partnership-card li::before {
    content: "◆";
    position: absolute;
    left: 0;
    font-size: 0.7em;
    top: 0.4em;
    color: #000000;
}

.support li::before {
    color: #000000; 
}

/* タブレット・スマホ用の微調整 */
@media (max-width: 600px) {
    .partnership {
        padding: 20px;
    }
    .partnership-card {
        flex: none;
        width: 100%; /* スマホでは全幅に */
    }
    .partnership-card h1 {
        font-size: 16px;
    }
    .partnership-card li {
        font-size: 12px;
    }
}