@charset "UTF-8";
/**
 * ===========================================
 *  main.css
 *  トップページ専用CSS
 * 
 *  20260731_SP394HN
 * ===========================================
 */

#logo {
    display: none;
}


/* ==================================
レイアウト個別調整(common.css上書き)
================================== */
footer {
    margin-top: 0;
    position: relative;
    background: #000000;
}

/* ==================================
Hero Section
================================== */
.hero {
    position: relative;
}

.hero.contentPane {
    background-image: linear-gradient(0deg, #00000080, transparent 44% 100%);
    background-image: linear-gradient(0deg, #2b0000cc, #b6001fcc 37%, transparent 75% 100%);
    /* padding: 30px 0 40px; */
    padding: clamp(0.938rem, 0.683rem + 1.27vw, 1.875rem) 0 clamp(0.938rem, 0.514rem + 2.12vw, 2.5rem);
}

.hero .contentArea {
    max-width: 1540px;
}

.hero__main-visual {
    margin-bottom: clamp(0.625rem, -0.392rem + 5.08vw, 4.375rem);
}

.hero__visual-content {
    display: grid;
    padding-top: 30px;
    position: relative;
}

@media (min-aspect-ratio: 1 / 1) {
    .hero__visual-content {
        height: calc(100dvh - var(--header-height) - var(--eventname-height) - clamp(0.938rem, 0.683rem + 1.27vw, 1.875rem));
        ;
    }
}

.hero__visual-content>* {
    grid-area: 1 / 1;
    justify-content: center;
    min-height: 0;
    min-width: 0;
    height: 100%;
    display: flex;
}

.hero__researchers img,
.hero__eventname img,
.hero__tagline img,
.hero__lead img,
.hero__bg-eventname .aist-25th img,
.hero__bg-eventname .openhouse img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.hero__researchers {
    z-index: 2;
    align-items: end;
}

.hero__researchers img {
    width: 100%;
    object-fit: contain;
}

.hero__eventname {
    position: relative;
    z-index: 100;
    align-items: end;
    width: 100%;
    margin-bottom: 0;
}

.hero__eventname{
    margin-top: -30px;
}

.hero__eventname img {
    width: 100%;
}

.hero__bg-eventname {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 90%;
    margin: 0 auto;
    opacity: 0.3;
    opacity: 1;
}

@media (min-aspect-ratio: 1 / 1) {
    .hero__bg-eventname {
        width: 80%;
        
    }
}

.hero__bg-eventname .aist-25th {
    order: 2;
}

.hero__bg-eventname .aist-25th,
.hero__bg-eventname .openhouse {
    width: 15%;
}

@media (min-aspect-ratio: 1 / 1) {

    .hero__bg-eventname .aist-25th img,
    .hero__bg-eventname .openhouse img {
        height: 100%;
    }
}

.hero__tagline {
    z-index: 5;
    align-items: flex-start;
}

.hero__tagline {
    width: 36%;
    margin: auto;
}

.hero__lead {
    z-index: 6;
    align-self: center;
    justify-self: center;
}

.hero__eventdate {
    margin-bottom: clamp(0.625rem, -0.392rem + 5.08vw, 4.375rem);
}

.hero__eventdate img {
    height: var(--eventname-height);
    width: auto;
    margin: auto;
}

.hero__note {
    font-family: var(--fontFamily-sub);
    font-weight: 800;
    border: 5px solid #FFFFFF;
    padding: 0 clamp(0.625rem, 0.286rem + 1.69vw, 1.875rem);
    font-size: clamp(1.6rem, 0.667rem + 3vw, 4.4rem);
    text-align: center;
}

.hero__note-item {
    padding: clamp(0.625rem, 0.286rem + 1.69vw, 1.875rem);
}

.hero__note-item:not(:last-child) {
    border-bottom: 2px solid #FFFFFF;

}

.hero__note-item .note {
    font-size: clamp(1.1rem, 0.666rem + 2.17vw, 2.7rem);
}

.hero__note-item p {
    margin-bottom: 0;
}

/*--　25周年記念特設サイトへのボタン --*/
.anniversary-button {
    width: 80px;
    height: 80px;
    position: absolute;
    /* right: max(20px, env(safe-area-inset-right)); */
    /* bottom: calc(var(--eventname-height) + 40px); */
    right: 0;
    bottom: 40px;
    z-index: 20;
    transition: opacity .4s ease;
}

.anniversary-button a {
    background: #000000;
    width: 100%;
    height: 100%;
    display: block;
    aspect-ratio: 1;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.anniversary-button .inner {
    width: 100%;
    height: 100%;
    padding: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.anniversary-button__logo--25th{
    padding-top: 5px;
    width: 38px;
}


.anniversary-button a .iconFnt-OuterLink {
    display: none;
}

/* ==================================
Introduction Section
================================== */
.introduction.contentPane {
    border-image: linear-gradient(#000000, #000000) fill 0 / 0 / 0 100vw 0 100vw;
    padding: clamp(2.5rem, 1.483rem + 5.08vw, 6.25rem) 0;
    font-size: clamp(1.4rem, 1.102rem + 1.49vw, 2.5rem);
}

.introduction.contentPane p:last-child {
    margin-bottom: 0;
}

/* ==================================
Outline Section
================================== */
.outline {
    font-size: clamp(1.5rem, 1.283rem + 1.08vw, 2.3rem);
}

/* ==================================
Comment Section
================================== */
.contentPane.comment {
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    position: relative;
}


.comment .contentArea {
    background-image: linear-gradient(0deg, #000000, #000000 5%, transparent);
    max-width: none;

}

.comment .txt_supplement {
    background: #000000;
    display: inline-block; 
    padding: 10px;
    text-align: right;
    position: relative;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.comment .txt_supplement h2{
    font-size: 1.2rem;
    margin-bottom: 0;
}



.comment .play-pauseBtn {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    color: #fff;
    border: 1px solid #FFFFFF;
    cursor: pointer;
    background: none;
    margin-left: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.comment .play-pauseBtn img {
    object-fit: cover;
}

.comment .txt_supplement p {
    text-align: center;
    display: inline-block;
}

@media screen and (max-width: 800px) {
    .comment .txt_supplement {
        display: block;
        text-align: center;

    }

    .comment .play-pauseBtn {
        width: 35px;
        height: 35px;
        margin: 10px auto 0;
    }

}

/*media*/


@media (any-hover: hover) {
    .comment .play-pauseBtn:hover {
        opacity: 0.7;
    }
}

.comment .c-text {
    overflow: hidden;
    display: flex;
    margin-left: 2em;
    width: 100vw;
    margin-inline: calc(50% - 50vw);
}

.comment .c-text__item {
    font-size: calc(100vh / 14 / 1.6);
    color: #000000;
    mix-blend-mode: overlay;
    opacity: 0.35;
    flex-shrink: 0;
    white-space: nowrap;
}


/* 奇数番目の要素に MoveLeft アニメーション */
.c-text__item:nth-child(odd) {
    animation: MoveLeft var(--tick-duration, 60s) var(--tick-delay, -30s) infinite linear;
}

/* 偶数番目の要素に MoveLeft2 アニメーション */
.c-text__item:nth-child(even) {
    animation: MoveLeft2 var(--tick-duration, 60s) infinite linear;
}

/* アニメーション再生中（初期状態） */
.js-tick-item {
    animation-play-state: running;
}

/* ボディにクラスが付いたらすべてのアイテムを停止 */
.tick-paused .js-tick-item {
    animation-play-state: paused !important;
}

@keyframes MoveLeft {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes MoveLeft2 {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-200%);
    }
}

/* ボタンの位置と見た目調整（任意） */
#toggleAnimation {
    position: fixed;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    z-index: 1000;
    cursor: pointer;
}

#toggleAnimation:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


/* 停止状態：ボディにクラスが付いたとき止める */
.tick-paused .js-tick-item {
    animation-play-state: paused !important;
}

.comment .front_text {
    width: 100%;
    height: 100%;
    color: #FFFFFF;
    font-family: var(--fontFamily-sub);
    font-weight: 500;
    font-style: normal;
    font-size: clamp(4rem, 4vw, 2rem);
    font-size: clamp(16px, 2vw + 1rem, 4rem);
    padding: 10px;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comment .front_text .inner {
    max-width: 1000px;
    position: relative;
    z-index: 5;
}

.comment .front_text p {
    text-shadow: #000000 1px 0 10px;
}

.comment .front_text p:last-child {
    margin-bottom: 0;
}

/* ユーザーが動きを減らす設定の場合は自動スクロール停止 */
@media (prefers-reduced-motion: reduce) {
    .js-tick-item {
        animation-play-state: paused !important;
    }
}
