@charset "UTF-8";
/**
 * ===========================================
 *  main.css
 *  トップページ専用CSS
 * 
 *  202609290_SP394HN
 * ===========================================
 */

/* ==================================
Hero Section
================================== */
.hero {
    position: relative;
    margin-bottom: 0;
}

.hero.content-pane {
    background-image: linear-gradient(0deg, #2b0000cc, #b6001fcc 37%, transparent 75% 100%);
    padding: clamp(0.938rem, 0.683rem + 1.27vw, 1.875rem) clamp(5px, 3%, 20px) clamp(0.938rem, 0.514rem + 2.12vw, 2.5rem);
    margin-top: 0;
}

.hero .content-area {
    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;
}

/*--　メインビジュアルアニメーション --*/

.hero__researchers img {
    opacity: 0;
    transform: scale(1.15);
}

.hero__researchers img.show {
    animation: zoomIn 1.2s ease-out forwards;
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }

    40% {
        opacity: 0.8;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero__bg-eventname img,
.hero__tagline img,
.hero__lead img,
.anniversary-button a {
    opacity: 0;
    transition: opacity 1s ease;
}

.hero__visual-content.is-finish .hero__bg-eventname img,
.hero__visual-content.is-finish .hero__tagline img,
.hero__visual-content.is-finish .hero__lead img,
.hero__visual-content.is-finish .anniversary-button a {
    opacity: 1;
}

.hero__visual-content .hero__researchers.p1,
.hero__visual-content .hero__researchers.p2 {
    z-index: 3;
}

.hero__visual-content .hero__researchers.p3 {
    z-index: 2;
}

/* サイドテキストを横からフェードイン */
.hero__bg-eventname .aist-25th img {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.hero__bg-eventname .openhouse img {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1s ease, transform 1s ease;
}

.hero__visual-content.is-finish .aist-25th img,
.hero__visual-content.is-finish .openhouse img {
    opacity: 1;
    transform: translateX(0);
}

/* アニメーションをオフにする　アクセシビリティ設定の「アニメーション」をオフにした時の設定 */
@media (prefers-reduced-motion: reduce) {

    .hero__researchers img,
    .hero__researchers img.show,
    .hero__bg-eventname img,
    .hero__tagline img,
    .hero__lead img,
    .anniversary-button a,
    .hero__bg-eventname .aist-25th img,
    .hero__bg-eventname .openhouse img,
    .hero__visual-content.is-finish .aist-25th img,
    .hero__visual-content.is-finish .openhouse img,
    .hero__visual-content.is-finish .hero__tagline img,
    .hero__visual-content.is-finish .hero__lead img,
    .hero__visual-content.is-finish .anniversary-button a {

        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
}

/*--　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;
}

/* ==================================
News Section
================================== */
.news.content-pane {
    border-image: linear-gradient(#000000, #000000) fill 0 / 0 / 0 100vw 0 100vw;
    padding-block: clamp(2.5rem, 1.483rem + 5.08vw, 6.25rem);
    margin: 0;
}

.news__list {
    font-size: clamp(1.6rem, 1.201rem + 0.85vw, 2rem);
}

.news__item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid #FFFFFF;
    padding-bottom: 1em;
    row-gap: 0.2em;
    column-gap: 0.7em;
}

.news__date {
    font-weight: var(--font-weight-bold);
    line-height: 1;
}

.news__badge {
    font-size: clamp(1.2rem, 1.121rem + 0.4vw, 1.4rem);
    background: var(--theme-color);
    line-height: 1;
    padding: 5px;
    text-align: center;
}

.news__item:not(:last-child) {
    margin-bottom: 1em;
}

.news__text {
    grid-column: 3;
    width: 100%;
}

/* ==================================
Introduction Section
================================== */
.introduction.content-pane {
    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.content-pane p:last-child {
    margin-bottom: 0;
}

/* ==================================
Outline Section
================================== */
.outline {
    position: relative;
    padding-top: clamp(25px, 10%, 100px);
    margin-bottom: 2em;
}

.outline__researchers {
    position: absolute;
    height: 100%;
    /* background: yellow; */
    width: 100%;
    max-width: 1980px;
    margin-inline: auto;
    z-index: -1;
    inset: 0;
    justify-content: space-between;
}

.outline__researchers img {
    max-width: 500px;
    width: 25vw;

}

.outline__researchers-left,
.outline__researchers-right {
    position: absolute;
    top: -30px;
}

.outline__researchers-left {
    left: 0;
}

.outline__researchers-right {
    right: 0;
}

.outline__catchphrase,
.outline__lead {
    font-family: var(--font-family-accent);
    font-weight: var(--font-weight-extrabold);
    text-align: center;
    max-width: 1130px;
    margin-inline: auto;
}

.outline__catchphrase {
    font-size: clamp(2rem, 8.3vw, 6.7rem);
    font-size: clamp(2.8rem, 2.5vw, 6.7rem);
    margin-bottom: 0.5em;
}

.outline__lead {
    font-size: clamp(1.4rem, 1.201rem + 0.85vw, 1.8rem);

}

.outline__info {
    font-size: clamp(1.6rem, 1.201rem + 0.85vw, 2rem);
    max-width: 1130px;
    width: 100%;
    margin-inline: auto;
    margin-bottom: 2em;
}

.js-inview.outline-fade-left,
.js-inview.outline-fade-right {
    opacity: 0;
    transition:
        opacity .8s ease,
        transform .8s ease;
}

.js-inview.outline-fade-left {
    transform: translateX(-80px);
}

.js-inview.outline-fade-right {
    transform: translateX(80px);
}

.js-inview.outline-fade-left.is-active,
.js-inview.outline-fade-right.is-active {
    opacity: 1;
    transform: translateX(0);
}

.outline__info th,
.outline__info td {
    padding: 0.8em;
}

/*-- 申し込みスケジュール---*/
.event-application {
    max-width: 850px;
    margin-inline: auto;
}

.event-application h3 {
    text-align: center;
}

.event-application__schedule:last-of-type {
    margin-bottom: 0;

}

.event-application__schedule th {
    font-size: clamp(2rem, 1.605rem + 1.98vw, 3rem);
}

.event-application__schedule td {
    background: #FFFFFF;
    color: var(--text-color-dark);
}

.event-application__schedule td a {
    color: var(--text-color-red)
}

.event-application__schedule-title {
    display: flex;
    justify-content: center;
    gap: 0.5em;
}

.event-application__schedule-label{
    display: flex;
    justify-content: center;
    align-items :center;
}

.event-application__schedule-label>span {
    background: #FFFFFF;
    color: var(--text-color-red);
    font-size: clamp(1.2rem, 1.121rem + 0.4vw, 1.4rem);
    padding: 5px;
    line-height: 1;
    display: block;
}

.event-application__schedule-detail {
    font-size: 1.3rem;
    line-height: 1.2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
}

.event-application__schedule-detail li::after {
    content: '/';
}

.event-application__schedule-detail li:last-child::after {
    content: none;
}


.event-application__schedule-status {
    color: var(--text-color-red);
    font-weight: var(--font-weight-bold);
    font-size: clamp(2rem, 1.605rem + 1.98vw, 3rem);
    display: block;
    text-align: center;
}

.event-application__info {
    background: #F3F3F3;
    padding: 20px;
    color: var(--text-color-dark);
}

.event-application__info a {
    color: var(--text-color-red);
}

.event-application__schedule td> :last-child,
.event-application__info> :last-child {
    margin-bottom: 0;
}

/*-- 入場登録ボタン---*/
.outline__registration-cta-inner {
    border-image: linear-gradient(#000000, #000000) fill 0 / 0 / 0 100vw 0 100vw;
    padding: 45px 0;
    text-align: center;
    position: relative;
}

.outline__registration-cta .speech-bubble {
    /* position: absolute;
    z-index: 1;
    top: -2em;
    left: 0;
    right: 0; */
    position: relative;
    z-index: 1;
    margin-bottom: -50px;

}

.outline__registration-cta .registration-buttons {
    max-width: 550px;
    margin: 0 auto 1em auto;
}

.outline__registration-cta .link-square-arrow {
    color: #FFFFFF;

}

/* ==================================
Programs Section
================================== */
.programs {
    position: relative;
    padding-top: clamp(25px, 10%, 100px);
}

.programs__researchers {
    display: flex;
    width: 100%;
    max-width: 555px;
    justify-content: center;
    gap: 10px;
    position: absolute;
    inset: 0;
    z-index: -1;
    margin-inline: auto;
}

.programs__researcher--left,
.programs__researcher--right {
    position: absolute;
    top: 0;
    max-width: 200px;
    width: 35vw;
}

.programs__researcher--right {
    right: 0;
}

.programs__researcher--left {
    left: 0;
}

/*---- 常設展示 ----------------------------*/
.permanent-exhibition__catch {
    font-size: clamp(2.3rem, 1.953rem + 0.931vw, 3rem);
    text-align: center;
    font-family: var(--font-family-accent);
    font-weight: var(--font-weight-extrabold);
    margin-top: 2em;
}

/*---- event-cardトップ用上書き ----------------------------*/

.page-top .event-card__header {
    text-align: center;
}

.page-top .event-card__header :where(h2, h3) {
    font-size: clamp(3rem, 2.605rem + 1.98vw, 4rem);
}

.page-top .event-card__badges {
    justify-content: center;
}

/* ==================================
Benefit Section
================================== */

.benefit .event-card__image img{
    filter: drop-shadow(rgba(255, 255, 255, 0.5) 0px 0px 24px);
}

/* ==================================
Guide Book Section
================================== */
.guide-book {
    text-align: center;
}

.guide-book__comming-soon {
    font-size: 2rem;
    margin-block: 6em;
}

.guide-book__catchphrase,
.guide-book__text {
    font-weight: var(--font-weight-extrabold);
    font-family: var(--font-family-accent);
}

.guide-book__catchphrase {
    font-size: clamp(2.3rem, 1.029rem + 6.35vw, 5rem);
    margin-bottom: 0.5em;
}

.guide-book__text {
    font-size: clamp(1.5rem, 1.124rem + 1.88vw, 2.3rem);
}

/* ==================================
Live Section
================================== */
.live .content-area {
    border: 3px solid #FFFFFF;
    padding: clamp(15px, -0.052rem + 4.5vw, 50px);
    width: 100%;
    max-width: var(--content-area-inner-width);
    text-align: center;
    margin: 0 auto;
}

.live .section-heading {
    margin-bottom: 1em;

}

.live__time {
    font-size: clamp(1.8rem, 1.721rem + 0.4vw, 2rem);
    font-weight: var(--font-weight-bold);
    position: relative;
    display: inline-block;
    padding-left: 1.7em;
}

.live__time::before {
    content: "";
    display: block;
    width: 1.3em;
    height: 1.3em;
    flex: 0 0 auto;
    position: absolute;
    top: 0.1em;
    left: 0;
    background-color: #FFFFFF;
    mask: url("../img/common/ico_clock01.svg") center / contain no-repeat;
}

.live__image {
    display: block;
    margin-bottom: 2em;
}

.live__image img {
    margin-inline: auto;
}

.live__text {
    text-align: left;
}

.live-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
    flex-direction: column;
    margin: 0 auto;
    max-width: 500px;
}


.live-buttons .live-button__niconico,
.live-buttons .live-button__youtube {
    display: flex;
    justify-content: center;
    width: 100%;
}


/* ==================================
Access Section
================================== */
.access section,
.access div.section {
    background: #FFFFFF;
    color: var(--text-color-dark);
    margin-bottom: 2em;
    padding: var(--padding-card);
}

.access section a,
.access div.section a {
    color: var(--theme-color);
}

.access section a.rectButton,
.access div.section a.rectButton {
    color: #FFFFFF;
}

.access .line-heading {
    border-color: var(--theme-color);
}

.access__route-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.access__route-info,
.access__route-map {
    width: 100%;
}

.access__route-map {
    margin-bottom: 4em;
}

.access__route-map img {
    max-width: 550px;
    width: 100%;
    margin: auto;
    image-rendering: smooth;
    border: 2px solid #000000;
}


.access__content-item:not(:last-child) {
    margin-bottom: 4em;
}

.access__address-name {
    font-size: clamp(1.6rem, 1.412rem + 0.94vw, 2rem);
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.5em;
}

.access__address-map {
    display: flex;
    flex-direction: column;
    margin-bottom: 3em;
}

.access__address {
    text-align: center;
}

.access__address-map .name {
    font-weight: 700;
    margin-bottom: 1em;
}

.access__map img {
    max-width: 800px;
    width: 100%;
    margin: auto;
}

/* ==================================
Q＆A（FAQ） Section
================================== */
summary {
    /* display: list-item;以外を指定してデフォルトの三角形アイコンを消します */
    display: block;

    /* Safariで表示されるデフォルトの三角形アイコンを非表示にします */
    &::-webkit-details-marker {
        display: none;
    }
}

.faqAccordion {
    margin-bottom: 3em;
}

.faqAccordion details {
    background: var(--theme-color-dark-gray);
    margin-bottom: 2px;

}

.faqAccordion summary {
    /* Chrome、Safari以外でデフォルトの矢印を消す */
    list-style: none;
    display: flex;
    font-weight: bold;
    cursor: pointer;
    /* テキスト連打時に選択されないようにする */
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.faqAccordion summary::-webkit-details-marker {
    display: none;
    /* デフォルトの矢印を消す */
}

.faqAccordion .faq__answer {
    display: flex;
    background: #FFFFFF;
    color: var(--text-color-dark);
}

.faqAccordion .faq__question-inner,
.faqAccordion .faq__answer-inner {
    padding: 1rem;
    flex-shrink: 2;
    width: 100%;
    text-align: left;
}

.faqAccordion .faq__answer-inner {
    padding-right: 40px;
    background: #FFFFFF;
    overflow: hidden;
    
}

.faqAccordion .faq__answer-inner>*:last-child {
    margin-bottom: 0;
}

.faqAccordion .faq__question::before,
.faqAccordion .faq__answer::before {
    display: block;
    padding: 10px;
    font-weight: bold;
    min-width: 35px;
    text-align: center;
}

.faqAccordion summary::before {
    content: 'Q';
    background: var(--theme-color-dark);
}

.faqAccordion .faq__answer::before {
    content: 'A';
    background: #DCDCDC;
    color: var(--theme-font-color-dark);
}

.faqAccordion .faq__question::after {
    content: '';
    display: block;
    background: url(../img/common/icon-faq-plus.svg) no-repeat center center;
    width: 40px;

}

.faqAccordion details[open] .faq__question::after {
    background: url(../img/common/icon-faq-minus.svg) no-repeat center center;
}

.faqAccordion table.reception_hours .table_heading {
    background: #DCDCDC;
}

@media (any-hover: hover) {
    .faqAccordion .faq__question:where(summary):hover {
        background: #EEEEEE;
        color: var(--theme-color);
    }

    .faqAccordion .faq__question:where(summary):hover::before {
        color: #FFFFFF;
        background: var(--theme-color-dark-gray);
    }

}

.faqAccordion details a {
    color: var(--theme-color);
}


/* ==================================
Comment Section
================================== */
.content-pane.comment {
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    position: relative;
}


.comment .content-area {
    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;
    }
}