@charset "UTF-8";

/* Topページ
------------------------------- */
.mainvisual {
    display: flex;
    position: relative;
    overflow: hidden;
    height: 100vh;
    justify-content: center;
    text-align: center;
}
.contents .mainvisual p {
    line-height: 1.7;
}

.main-img-box {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding-bottom: 100px;
}

.main-img-box figure {
    width: 400px;
    position: absolute;
    right: 15%;
    top: 20%;
}

.main-img-box figure img {
    width: 100%;
}

.main-bg {
    background-image: url(../img/main_bg.png);
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 450px;
    z-index: -99;
}

/* ページタイトル
------------------------------- */
.page-title {
    text-transform: none;
    position: absolute;
    width: 100%;
}

.page-title p {
    text-align: center;
    font-size: 24px;
}

.page-title img {
    max-width: 400px;
    width: 100%;
}

.page-title .page-title-jp {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 70px;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}

.eachTextAnime span {
    opacity: 0;
}

.page-title-jp.eachTextAnime.appeartext span {
    animation: text_anime_on 2.5s ease-out forwards;
}

.page-title .button {
    margin-top: 80px;
    margin-bottom: 30px;
}

.comingsoon {
    font-size: 18px;
    margin-top: 20px;
}

/* お知らせ
------------------------------- */
#news .content-title-jp {
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 30px;
}

#news {
    background-color: var(--bg-color-03);
}

#news .button a {
    font-size: 14px;
}

.news-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-items {
    display: flex;
    justify-content: flex-start;
}

.news-items>div {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 50px;
    margin-right: 50px;
    border-right: 1px solid rgb(169, 160, 160, 50%);
}

.news-items .items-box {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.news-items .items-box p {
    font-size: 11px;
    padding: 5px 8px;
    line-height: 1;
}

.news-items .items-box .tag {
    background-color: #A9A0A0;
    border-radius: 6px;
    color: #fff;
}

.news-items .items-title {
    font-size: 14px;
}

/* イベンティアとは
------------------------------- */
#about {
    text-align: center;
}

#about .content-inner {
    background-color: #f5f5f5;
}

#about p {
    font-size: 18px;
}

.eventia-icon {
    width: 40px;
    height: auto;
    text-align: left;
    vertical-align: middle;
    margin-right: 28px;
}

.button.beta a {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    text-align: left;
}
.button.beta a > span { 
    vertical-align: middle;
}
#about .button a::after {
    top: 21px;
}

/* イベント内容
------------------------------- */
#features {
    text-align: left;
    background-color: var(--bg-color-01);
}

#features .wrapper {
    max-width: 1200px;
}

.main-text {
    max-width: 650px;
    margin: 0 auto;
    margin-top: 30px;
    width: 70%;
}

#features .main-text p {
    margin-bottom: 30px;
    font-size: 15px;
}

#features .flex-box {
    display: flex;
    column-gap: 3rem;
    justify-content: space-between;
}

#features img {
    max-width: 100%;
    height: 120px;
}

#features .flex-box ul {
    display: flex;
    flex-direction: column;
    width: 20%;
}

#features .flex-box ul:first-child li {
    margin-bottom: 160px;
}

#features .flex-box ul li {
    align-self: flex-start;
}

#features .flex-box ul:first-child li:nth-child(odd) {
    align-self: flex-end;
}

#features .flex-box ul:last-child li:nth-child(even) {
    align-self: flex-end;
}

#features .flex-box ul:last-child li {
    margin-top: 150px;
}

/* 便利な機能
------------------------------- */
#function figure {
    margin: 0;
}

.function-items .wrapper {
    display: flex;
    justify-content: space-between;
    column-gap: 5vw;
    padding-top: 50px;
}

.function-items:nth-child(odd) .wrapper {
    flex-direction: row-reverse;
}

.function-items:nth-child(odd) {
    background-color: var(--bg-color-02);
}

.function-items .items {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 60%;
}

.function-items .items-title {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 30px;
}

#function figure {
    display: flex;
    justify-content: space-between;
    width: 50%;
}

#function figure img {
    width: calc(100% / 2 - 10px);
}

#function figure.single {
    display: block;
    width: 50%;
}

#function figure.single img {
    width: 100%;
}

/* ダウンロード
------------------------------- */
#download {
    background-color: var(--bg-color-02);
    padding-bottom: 60px;

}

#download .download-box {
    background-color: #fff;
    border-radius: 50px;
    padding: 30px 30px 50px;
    margin-top: 33px;
    box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.3);
}

#download .content-title-eng {
    font-size: 40px;
    color: #333;
}

#download .content-title-jp {
    font-size: 16px;
    color: var(--text-eng-color);
}

#download .download-box ul {
    display: flex;
    justify-content: center;
    column-gap: 3vw;
}

#download .download-box ul li {
    /* height: 50px; */
}

#download .download-box p {
    text-align: center;
}

#download .download-box img {
    vertical-align: bottom;
    min-height: 60px;
}

#download .button {
    margin: 0;
}

#download .button a {
    padding: 10px;
    min-height: 60px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

#download .button a::after {
    content: none;
}

#download .download-box img.ios-store-bnr {
    width: 180px;
    height: 60px;
}

#download .download-box img.android-store-bnr {
    width: 200px;
    height: 60px;
}

/*　提供会社　*/
#company {
    background-color: var(--bg-color-03);
    overflow: hidden;
}

#company .button a {
    background-color: #fff;
    color: #333;
    border: 1px solid #333;
    padding: 10px 20px 10px 20px;
}

#company .button a:hover {
    background-color: var(--main-color);
    color: #fff;
    border-color: 1px solid var(--main-color);
    opacity: 1;
}

#company .button a::after {
    content: none;
}

#company .title {
    margin-bottom: 25px;
}

#company .button {
    margin-top: 25px;
}

#company .left-box {
    width: 40%;
    text-align: center;
}

#company .content-inner {
    display: flex;
    justify-content: space-between;
    padding-top: 60px;
    padding-bottom: 75px;
}

#company .content-title-jp {
    font-size: 30px;
}

#company figure {
    position: relative;
    margin: 0;
    width: 55%;
}

#company figure img:first-child {
    height: 185px;
    position: absolute;
    top: 8px;
    left: 60px;
}

#company figure img:last-child {
    position: absolute;
    right: 0;
    bottom: -102px;
    height: 280px;
}

/* 背景画像 */
.bottom-bg {
    height: 180px;
    background-color: var(--bg-color-02);
}

.bottom-bg .bg {
    content: "";
    background-image: url(../img/main_bg.png);
    background-size: contain;
    background-repeat: repeat;
    background-position: center center;
    height: 230px;
}

.link {
    color: var(--main-color);
    font-size: 18px;
}

#pickup-events {
    background-color: var(--bg-color-02);
}

#pickup-events .container {
    max-width: 1200px;
    margin: 0 auto;
}

#pickup-events h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
}

#pickup-events .events-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

#pickup-events .event-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    flex: 1 1 calc(33% - 20px); /* PC 3列 */
    max-width: 350px;
    display: flex;
    flex-direction: column;
}

#pickup-events .event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

#pickup-events .event-card h3 {
    font-size: 18px;
    margin: 15px;
    margin-bottom: 0;
}

#pickup-events .event-card h3 a {
    text-decoration: none;
    color: #1a202c;
}

#pickup-events .event-card h3 a:hover {
    color: #0073e6;
}

#pickup-events .event-card .date-location {
    margin: 0 15px 15px;
    font-size: 14px;
    color: #555555;
}

#pickup-events .event-card .btn {
    margin: 0 auto 15px;
    width: fit-content;
    padding: 10px 20px 10px 20px;
    min-width: 200px;
    text-align: center;
    background: var(--main-color);
    border: 1px solid var(--main-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

#pickup-events .event-card .btn:hover {
    background-color: #005bb5;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    #pickup-events .event-card {
        flex: 1 1 calc(45% - 20px); /* タブレット2列 */
    }
}

@media (max-width: 600px) {
    #pickup-events .event-card {
        flex: 1 1 100%; /* スマホ1列 */
    }
}

/* アニメーション
------------------------------- */
@keyframes text_anime_on {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/* モバイル版
------------------------------- */
@media screen and (min-width: 360px) and (max-width: 960px) {
    p {
        font-size: 15px;
    }

    .page-title {
        width: 100%;
        top: 25%;
        left: 0;
        padding: 0 8%;
    }

    .page-title p {
        font-size: 16px;
    }

    .page-title .page-title-jp {
        font-size: 2.7rem;
        margin-bottom: 10px;
        text-align: center;
    }

    .page-title .button {
        margin-top: 50px;
        margin-bottom: 0;
    }

    .big-bg {
        background-size: cover;
        background-repeat: repeat;
        background-position: left center;
        bottom: 0;
    }

    .main-bg {
        width: 100%;
        height: 200px;
        z-index: -99;

    }

    .main-img-box figure {
        top: unset;
        right: 10%;
        bottom: 26%;
    }

    /* メインビジュアル */
    .mainvisual {
        height: 100vh;

    }

    .main-img-box figure {
        width: 200px;
    }

       /*　イベンティアとは　*/
    #about p, .comingsoon {
        font-size: 16px;
    }

    /*　ダウンロード　*/
    #download {
        padding-bottom: 10px;
    }

    #download .content-inner {
        padding-top: 40px;
        padding-bottom: 30px;
    }

    #download .download-box {
        padding: 25px 20px;
        border-radius: 30px;
    }

    #download .title {
        margin-bottom: 30px;
    }

    #download .content-title-eng {
        font-size: 27px;
        line-height: 1;
    }

    #download .content-title-jp {
        font-size: 14px;
    }

    #download .download-box ul {
        flex-wrap: wrap;
        row-gap: 20px;
        text-align: center;
    }

    #download .download-box ul li:first-child {
        width: 203px;
    }

    #download .button a {
        padding: 8px 10px;
        height: auto;
        justify-content: center;
    }

     #company .content-title-jp {
        font-size: 24px;
    }

    /* 画面下部の背景画像*/
    .bottom-bg .bg {
        background-size: cover;
        background-repeat: repeat;
        height: 180px;
    }

    /* 提供会社　*/

    #company .content-inner {
        flex-direction: column;
        padding-bottom: 200px;
    }

    #company .title {
        margin-bottom: 20px;
    }

    #company .left-box {
        width: 100%;
    }

    #company figure {
        width: 100%;
        margin-top: 20px;
    }

    #company figure img:first-child {
        height: 105px;
        left: 0px;
    }

    #company figure img:last-child {
        bottom: -201px;
        height: 190px;
    }

    #features .wrapper {
        max-width: 90%;
    }

    #features figure {
        display: flex;
        width: 100%;
        justify-content: center;
        gap: 5%;
        margin: 20px 0;
    }

    #features figure img {
        width: 125px;
        height: 100%;
    }

    #features .main-text {
        width: 100%;
        margin-top: 0;
    }
    .link {
        font-size: 14px;
    }

}

/* タブレット版
------------------------------- */
@media (max-width: 960px) {
    #features .main-text p {
        margin-bottom: 20px;
    }

    #features img {
        width: 80%;
        height: auto;
    }

}

/* PC版
------------------------------- */
@media screen and (min-width: 1024px) {
  .page-title {
    margin-top: 5rem;
  }
}
