:root {
    --text_black: #1A1717;
    --white: #ffffff;
    --gray_50: #F2F5FA;
    --gray_100: #DFE5F2;
    --red_100: #F0F6FF;
    --red_1000: #0165D2;
    --orange: #FF5804;
    --shadow: rgba(102, 31, 39, 0.15);
    --gradient: linear-gradient(80deg, #0049A4 20%, #0080FF);
    --gradient_2nd: linear-gradient(to left, #F27A00, #F49F00);
    --gradient_bg: linear-gradient(-49deg, #FAEEEE, #F8F4F4 15%, #F8F4F4 85%, #FAEEEE);
}

/* アイコン */
.material-symbols-outlined {
    font-variation-settings:
        'FILL' 1,
        'wght' 400,
        'GRAD' 0,
        'opsz' 20
}

.accordion__buttonText .material-symbols-outlined {
    font-size: 18px;
    vertical-align: -3px;
    padding-left: 6px;
}

.accordion__buttonText.minus .material-symbols-outlined {
    transform: rotate(180deg);
    padding-left: 0px;
    padding-right: 6px;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

html,
body {
    margin: 0;
    font-family: "Roboto Condensed", "Noto Sans JP", Arial, Helvetica, sans-serif !important;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 0.07em;
    color: var(--text_black);
    /* font-feature-settings: "palt" 1; */
    background-color: var(--red_100);
    scroll-behavior: smooth;
}

/* header */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(255 255 255 / 80%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.header__inner {
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo {
    margin: 0;
    width: 120px;
    transition: 0.3s;
}

/* button */
.button {
    transition: .4s;
}

.button-small {
    width: 180px;
}

.button:hover {
    transform: scale(0.98);
    opacity: 0.8;
}

.section-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.button-large {
    margin: 0 auto;
    max-width: 70%;
    font-size: 20px;
}

.button-large img {
    width: 320px;
}

/* main */

main {
    margin-top: 82.703px;
    ;
}

/* 共通 */
.section-button,
.section-message,
.section-outline,
.section-entry {
    padding: 108px 0;
}

.section-prize {
    padding-top: 108px;
    padding-bottom: 108px;
    background-color: var(--red_100);
}

.section-entry {
    background-color: var(--white);
}

.section-slider {
    background-color: var(--white);
    padding: 24px 0;
}

.title {
    color: var(--text_black);
    display: flex;
    flex-direction: column;
    row-gap: 16px;
    align-items: center;
    margin-bottom: 30px;
}

.title .title-ja {
    font-size: 14px;
    line-height: 1;
    padding-left: 10px;
}

.title .title-ja::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--gradient);
    border-radius: 2px;
    margin-right: 8px;
}

.title .title-en {
    font-size: 64px;
    font-family: 'Roboto Condensed';
    font-style: italic;
    font-weight: 400;
    margin: 0;
}

#timetable-title {
    margin-bottom: 0px;
}

/* section-fv */
.section-fv img {
    width: 100%;
}

/* 動的fv */
.section-fv {
    position: relative;
    height: fit-content;
}

.fv__wrapper {
    position: relative;
    overflow: hidden;
    height: calc(585.6vw / 17.85);
}

.fv__wrapper .fv__bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    animation: fadeZoomIn 1s ease-out 0.6s forwards;
    opacity: 0;
}

@keyframes fadeZoomIn {
    from {
        opacity: 0;
        transform: scale(1.08)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

.fv__wrapper .fv__bg,
.fv_bg img {
    display: block;
    width: 100%;
    height: 100%;
}

.fv__contents {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: calc(480vw / 14.4);
    row-gap: calc(48vw / 14.4);
    margin-left: calc(90vw / 20);
}

.fv__contents .fv__speaker {
    position: absolute;
    width: calc(551.38vw / 14.4);
    right: calc(51vw /14.4);
}


.fv__contents .fv__title {
    width: calc(741.6VW / 14.4);
}

.fv__contents .fv__speaker,
.fv__contents .fv__title {
    animation: fadeIn 0.6s ease-out 0.2s forwards;
    opacity: 0;
} 

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fv__contents .fv__date {
    width: calc(454.3vw / 9);
    animation: fadeSlideIn 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* section-company */
.section-company img {
    width: 100%;

}

/* section-scroll */
.fv__scroll {
    width: 100%;
    height: fit-content;
    padding: 45px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background-color: #DDEDFF;
    overflow: hidden;
}

.fv__scroll__contents {
    width: auto;
    height: calc(480vw /68.4);
}

.fv__wrapper .fv__subtitle {
    left: 0;
    bottom: 0;
    width: 100vw;
    z-index: 1;
    animation: fadeIn 0.8s ease-out 0.4s forwards;
    opacity: 0;
}
/* section-button */
.section-button p {
    margin-bottom: 10px;
    text-align: center;
}

/* section-message */
.section-message {
    background: var(--gradient);
    color: var(--white);
    padding: 80px 0;
    margin: 0 auto;
    width: 100%;
    border-radius: 0rem;
    transition: 0.5s;
}

.section-message .message-wrap {
    margin: 0 auto;
    width: 750px;
    text-align: justify;
}

.message-title {
    margin-bottom: 30px;
}

.message-title h3 {
    font-size: 16px;
    font-weight: 500;
    line-height: 2;
    letter-spacing: 0.1rem;
}

.message-title h2 {
    font-size: 32px;
    letter-spacing: 0.22rem;
    line-height: 1.7;
}

.message-text {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 40px;
}

.message-text p {
    margin-top: 15px;
    margin-bottom: 15px;
}

.btn-arrow-right {
    display: flex;
    justify-content: flex-end;
}

.btn a {
    position: relative;
    display: block;
    width: 260px;
    border: 1px solid #fff;
    padding: 4px 8px;
    font-size: 12px;
    color: #fff;
    text-decoration: none;
}

.btn-arrow-right a::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 14px;
    width: 9px;
    height: 9px;
    margin: auto;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    box-sizing: border-box;
}

/* 各行に個別にアニメーションを設定 */
.message-wrap h3 span {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s, transform 1s;
}

/* アニメーションが適用された状態 */
.message-wrap h3.show span {
    opacity: 1;
    transform: translateY(0);
}

/* ===============================
   KEYNOTE 
================================ */
.section-keynote {
    padding: 108px 0;
    background: var(--red_100);
    background-image: url('../img/keynote_bg.png');
    background-size: contain;
    background-position: top left;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: calc(60vh/10.24);

}

.keynote-grid {
    display: flex;
    flex-direction: column;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: calc(150vh/10.24);
    width:fit-content;
    aspect-ratio:700 / 1284.270;
    align-items:center;
    justify-content:center;
}

.keynote-card {
    width: calc(700vw/14.4);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: calc(40vh/10.24);
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 3px 4px 23.1px #9bbddf94;
    transition: transform .18s ease, box-shadow .18s ease;
    cursor: pointer;
}

.keynote-card.is-show {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    transition:
        opacity .5s cubic-bezier(0.22, 1, 0.36, 1),
        transform .5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow .25s ease;
}

.keynote-card.is-show:hover {
    opacity: 0.8;
    transform: translate3d(0, -4px, 0) scale(1);
    box-shadow: 3px 10px 28px rgba(155, 189, 223, 0.85);
}

.keynote-card.is-show:hover .keynote-avatar {
    transform: scale(1.02);
}

.keynote-head {
    display: flex;
    align-items: center;
    gap: calc(16vh/10.24);
    margin-bottom: calc(16vh/10.24);
}

.keynote-card {
  position: relative;
  overflow: visible;
}

.keynote-index {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(7%, -65%);
  font-family: 'Roboto Condensed';
  font-size: clamp(56px, 6vw, 144px);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.05em;
  color: #000A16;
  line-height: 1;
  pointer-events: none;
  z-index: 2;
}

.keynote-datetime{
        display:flex;
        flex-direction:column;
    align-items:flex-start;
}
.keynote-datetime p {
    width: 100%;
    font-family: 'Noto Sans JP';
    font-weight: 700;
    font-size: clamp(10px, calc(20vw/14.4), 24px);
    color: #5D5D5D;
    margin: 0;
}

.keynote-datetime img {
    height: calc(24vh/10.24);
}

.keynote-title {
    width: calc(400vw/14.4);
    min-width:260px;
}

.keynote-speaker {
    display: flex;
    gap: 4px;
}

.keynote-name {
    width: calc(383vw/14.4);
    min-width:150px;
    padding-left: 20px;
}

.keynote-role {
    width: calc(359vw/14.4);
    min-width:260px;
    padding-left: 20px;
}

.keynote-avatar {
    position: absolute;
    top: -58px;
    right: 19px;
    width: calc(186.97vw/14.4);
    min-width:110px;
    transition: transform .18s ease;
}

.keynote-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: visible;
}


/* ===============================
   KEYNOTE - Modaal
================================ */
.keynote-modal {
    width: 100%;
}

.key-modal-container {
    margin: 0 auto;
    width:calc(1289vw/14.4);
    padding: 46px 50px;
    border-radius: 6px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
}

.keynote-modal-left-wrapper {
    padding: 0;
}

.keynote-modal-left-wrapper-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.keynote-modal-left-wrapper-title {
    width: 361px;
    max-width: none;
    margin-bottom: 32px;
}

.keynote-modal-right-wrapper {
    padding: 0 0 0 26px;
    height:100%;
    border-left: 0.3px solid #C9C9C9;
}

.keynote-modal-right-wrapper-top {
    margin-bottom: 32px;
    width: 383px;
    max-width: none;
}

.keynote-modal-text {
    font-family: 'Noto Sans Jp';
    font-weight: light;
    font-size: 13px;
    line-height: 200%;
    letter-spacing: 0.01em;
    padding: 0 15px;
    text-align: start;
    color: #3f3f3f;
}

.keynote-modal-index {
    font-family: 'Roboto Condensed', 'Noto sans JP', sans-serif;
    font-size: 72px;
    font-weight: 700;
    font-style: italic;
    color: #000A16;
    margin: 0 32px 0 0;
}

/* ===============================
   time-table
================================ */
.section-timetable {
    margin: 0 auto;
    background: var(--red_100);
}

.timetable-sp-title {
    display: none;
}

.section-timetable .timetable-wrap {
    width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}

.section-timetable .timetable-wrap .timetable-top {
    display: flex;
    column-gap: 2px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    color: var(--white);
}

.section-timetable .timetable-wrap .timetable-top li {
    width: 100%;
    text-align: center;
    background-color: var(--text_black);
    padding: 16px 0;
}

.section-timetable .timetable-wrap .timetable-top li:first-of-type,
.timetable-box .theme-wrap {
    width: 75%;
}

.timetable-box .theme-wrap {
    padding-left: 0px;
    padding-right: 48px;
}

.section-timetable .timetable-wrap .timetable-top li:last-of-type,
.timetable-box .speaker-wrap {
    width: 25%;

}

/*timetable day1&day2 title*/
.day1-title {
    width: 100%;
    height: 165px;
    margin-top: 52px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.day1-title h1 {
    width: 100%;
    text-align: center;
    margin-top: -80px;
    font-size: 72px;
    font-family: 'Roboto Condensed';
    font-style: italic;
    font-weight: 700;
    background: linear-gradient(to bottom, #0080FF 0%, #0049A4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.day1-title h3 {
    width: 100%;
    text-align: center;
    margin-top: -80px;
    font-size: 24px;
    letter-spacing: 0.1em;
    background: linear-gradient(to bottom, #0080FF 0%, #0049A4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.day1-title h2 {
    width: 100%;
    text-align: center;
    font-size: 32px;
    margin-top: -10px;
}

/*day1&day2 title ここまで*/

.timetable-box {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background: linear-gradient(-45deg, rgba(255, 255, 255, 0.7) 30%, rgba(255, 255, 255, 0.3) 100%);
    padding: 30px;
    border: 1px solid var(--white);
    border-radius: 10px;
    box-shadow: none;
    transition: 0.5s ease;
}

.prize-img img {
    transition: 0.5s ease;
}

.prize-img img {
    border-radius: 20px;
}

.timetable-box.shadow,
.shadow,
.prize-img img.shadow {
    box-shadow: 4px 12px 12px 0px var(--shadow);
}


.timetable-box .triangle {
    position: absolute;
    left: 4px;
    top: 2px;
}


.timetable-box .triangle img {
    width: 24px;
}

.timetable-box.op,
.timetable-box.end {
    column-gap: 1em;
    justify-content: normal;
    padding: 24px 30px;
}

.timetable-box .time-wrap {
    display: flex;
    align-items: center;
    line-height: 1;
    color: var(--red_1000);
}

.timetable-box .time {
    font-family: 'Roboto Condensed';
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    color: #212121;
    background: #D9D9D9;
    border-radius: 40px;
    padding: 6px 16px;
}

.timetable-box .time::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    transform: translateY(2px);
    margin-right: 6px;

    /* アイコン表示（mask を使わず、共有プレビューでも安定させる） */
    background-image: url('https://media.invoice.ne.jp/lp/conference2026/summer/img/icon_schedule.png.webp');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}


.timetable-box.op .time,
.timetable-box.end .time {
    margin-bottom: 0;
}

.kityokoen-wrap {
    display: flex;
    column-gap: 12px;
    row-gap: 8px;
    flex-wrap: wrap;
}

.timetable-box .category {
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    background: var(--gradient_2nd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-color: var(--white);
    border-radius: 50px;
    padding: 3.5px 24px 0px 24px;
    height: 30px;
    position: relative;
}

.timetable-box .category::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    border: 2px solid transparent;
    background: var(--gradient_2nd);
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
    -webkit-mask-composite: destination-out;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
    mask-composite: exclude;
}

.timetable-box .accordion {
    margin-top: 16px;
}

.timetable-box .theme {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    text-align: justify;
    word-break: break-all;
}

.timetable-box.op .theme,
.timetable-box.end .theme {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

.timetable-box dl {
    margin-bottom: 24px;
}

.timetable-box .description {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
    border-top: 1px solid #cccccc;
    margin-top: 16px;
    padding-top: 16px;
    display: none;
    text-align: justify;
}

.timetable-box .accordion__buttonText {
    font-family: 'Roboto Condensed';
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0;
    color: var(--text_black);
    opacity: 0.8;
    cursor: pointer;
    transition: .3s;
}

.timetable-box .accordion__buttonText:hover {
    color: var(--red_1000);
}

.accordion__button {
    margin-top: 16px;
    display: flex;
    justify-content: flex-start;
}

.accordion__content.js-accordionMoreContent {
    display: none;
}

.accordion__buttonText.plus {
    display: inline-block;
}

.accordion__buttonText.minus {
    display: none;
}

.accordion__buttonText.plus.is-active {
    display: none;
}

.accordion__buttonText.minus.is-active {
    display: inline-block;
}



.speaker-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 16px;
    transition: .3s;
}

.speaker-wrap .speaker-img {
    position: relative;
    width: 112px;
    height: 112px;
    overflow: hidden;
    border-radius: 8px;
    transition: .3s;
}

.speaker-wrap .speaker-img .speaker-img-plus {
    font-family: 'Noto Sans JP';
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 0px;
    right: 0px;
    width: 24px;
    height: 24px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text_black);
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 6px 0 8px 0;
    cursor: pointer;
    transition: .3s;
}

.speaker-wrap .speaker-img img {
    width: 112px;
    transition: .3s;
}


.speaker-wrap .speaker-name-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 8px;
    transition: .3s;
}

.speaker-wrap .speaker-company {
    margin: 0;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.2;
    text-align: center;
}

.speaker-wrap .speaker-name {
    margin: 6px 0 0 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}

.annotation {
    font-size: 12px;
    color: var(--text_black);
    opacity: 0.8;
    text-align: center;
    margin-top: 24px;
}

/* モーダル */
/*モーダルを開くボタン*/
.modal-open {
    cursor: pointer;
}

.modal-open:hover .speaker-img {
    box-shadow: 0px 6px 15px 0px var(--shadow);
}

.modal-open:hover .speaker-img img {
    transform: scale(1.08);
}

.modal-open:hover .speaker-name-wrap {
    opacity: 0.5;
}

.modal-open:hover .speaker-img-plus {
    width: 26px;
    height: 26px;
    color: var(--text_black);
    background-color: rgba(255, 255, 255, 0.95);
}

/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 70%);
    padding: 40px 20px;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    box-sizing: border-box;
    z-index: 100;
}

/*モーダル本体の擬似要素の指定*/
.modal-container:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container.active {
    opacity: 1;
    visibility: visible;
}

/*モーダル枠の指定*/
.modal-body {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

/*モーダルを閉じるボタンの指定*/
.modal-close {
    font-family: 'Noto Sans JP';
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    cursor: pointer;
    transition: .3s;
}

.modal-close:hover {
    transform: scale(1.2);
    background-color: var(--text_black);
}

/*モーダル内のコンテンツの指定*/
.modal-content {
    background: var(--gradient_bg);
    text-align: left;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0px 6px 15px 0px rgba(0, 0, 0, 0.2);
}

.modal-title {
    display: flex;
    flex-direction: row;
    column-gap: 6px;
    margin-bottom: 32px;
    color: var(--text_black);
}

.modal-title .title-ja {
    font-size: 12px;
    padding-left: 0px;
}

.modal-title .title-en {
    font-size: 24px;
    font-weight: 500;
}

.modal-content-wrap {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.modal-left img {
    width: 152px;
}

.modal-right {
    width: 303px;
}

.modal-company {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--red_1000);
    margin-bottom: 12px;
}

.modal-name {
    font-size: 24px;
    font-weight: 650;
    line-height: 1;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.modal-description {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.8;
    text-align: justify;
}

/* OUTLINE */
.section-outline {
    background: #FFFFFF;
    transition: background-color 0.5s;
}

.section-outline.active {
    background-color: #042018;
}


.outline-card {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    width: 880px;
    border-radius: 0 20px 20px 20px;
    background: linear-gradient(-45deg, rgba(255, 255, 255, 0.7) 30%, rgba(255, 255, 255, 0.3) 100%);
    border: 1px solid var(--white);
    padding: 60px 80px;
    text-align: left;
    transition: 0.3s ease;
    box-shadow: 4px 12px 12px 0px var(--shadow);
}


.outline-list {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 24px 20px;
    margin: 0;
}

.outline-list dt {
    display: flex;
    align-items: center;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-color: var(--white);
    font-weight: bold;
    font-size: 18px;
}

.outline-list dd {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
}


/* PRIZE */
.section-prize .prize-img {
    width: 880px;
    margin: 0 auto;
}

.section-prize .prize-banner {
    width: 680px;
    margin: 0 auto;
}

.section-prize .prize-banne img {
    width: 100%;
}

.prize {
    margin-bottom: 48px;
    box-shadow: none;
}

.cauntion {
    width: 50%;
    margin: 0 auto;
}

.cauntion_text {
    color: #333;
    font-size: 12px !important;
}

/* ENTRY */
.section-entry .section-entry-text {
    text-align: center;
    margin-bottom: 48px;
}

.section-entry .information {
    width: 800px;
    margin: 0 auto;
}
.invoice-policy-sp{
    display:none;
}
.section-entry .inquiry {
    margin-top: 72px;
}

.section-entry .information h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #cccccc;
}

.section-entry .information p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 1.8em;
}

.section-entry .information ul li {
    list-style: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 2;
    word-break: break-all;
}

.section-entry .information ul li a {
    font-weight: 300;
    color: #0078F0;
    transition: 0.3s;
}

.section-entry .information ul li a:hover {
    opacity: 0.5;
}

.section-entry .information ul li a:visited {
    color: #0078F0;
}

.form {
    margin: 0 auto;
    margin-bottom: 72px;
    width: 800px;
    padding: 40px 40px;
    background-color: #F7F8FA;
    border-radius: 8px;
}

footer {
    background-color: var(--text_black);
    color: var(--white);
    display: flex;
    justify-content: center;
    font-size: 10px;
    padding: 16px 0;
}

/* ========== Timetable (new 2-page structure) ========== */

.timetable-wrap1.is-active {
    display: flex;
    display: flex;
}

/* Carry over container width/stacking from old .timetable-wrap */
.section-timetable .timetable-wrap1 {
    width: 100%;
    margin: 0 auto;
    /* display moved to .is-active to enable switching */
    flex-direction: column;
    row-gap: 24px;
}

/* Ensure layers below the tab buttons */
.timetable-wrap1 {
    display: none;
}


.timetable-2page-wrapper {
    padding: 50px 0;
    width: 100%;
    position: relative;
}

.timetable-wrap {
    display: none;

}

.timetable-wrap.is-active {
    display: block;

}

.timetable-switch-button-wrapper {
    position: relative;
    z-index: 10;
}

.switch-button::before {
    pointer-events: none;
}

#timetable-wrap-1 {
    z-index: 0;
}

/*------------respondsive--------------------*/
@media screen and (min-width:1700px) {
    .timetable-2page-wrapper {
        padding: 50px 300px;
    }
}

@media screen and (min-width:2400px) {
    .section-timetable {
        padding: 0 200px;
    }

}


@media screen and (min-width: 1500px) {

    .section-timetable .timetable-wrap {
        width: 960px;
    }

    .header .logo {
        width: 140px;
    }

    .section-message .message-wrap {
        width: 880px;
    }

    .button-small a {
        position: relative;
        display: inline-block;
        padding: 15px 60px;
        align-items: center;
        color: #ffffff;
        background: var(--gradient_2nd);
        width: 340px;
        height: 70px;
        border-radius: 100px;
        box-shadow: inset 0px 5px 5px 0px rgba(255, 255, 255, 0.5), inset 0px -5px 5px 0px rgba(0, 0, 0, 0.2);
        text-decoration: none;
        letter-spacing: 0.15em;
        font-size: 1.5em;
    }

    .button-small a::after {
        content: '';
        width: 15px;
        height: 15px;
        border-top: 3px solid #ffffff;
        border-right: 3px solid #ffffff;
        transform: rotate(45deg) translateY(-48%);
        position: absolute;
        top: 46%;
        right: 65px;
        border-radius: 1px;
    }

    .outline-card {
        width: 960px;
    }

    .section-prize .prize-img {
        width: 960px;
    }
}

@media screen and (max-width:1400px) {
    .timetable-2page-wrapper {
        padding: 50px 80px;
    }

    .timetable-box .theme {
        font-size: 16px;
    }

    .speaker-wrap .speaker-img {
        width: 94px;
        height: 94px;
        flex-shrink: 0;
    }

    .timetable-box .time {
        font-size: 16px;
    }

    .fv__scroll {
        padding: 30px;
        gap: 30px;
    }
}
@media screen and (max-width: 920px) {
    .pc {
        display: block;
    }

    .sp {
        display: none;
    }

    .section-message .message-wrap {
        width: 81.8%;
    }

    .section-timetable .timetable-wrap,
    .form,
    .section-entry .information,
    .section-prize .prize-img,
    .outline-card,
    .section-prize .prize-banner {
        width: 90%;
    }

    .section-prize {
        margin-bottom: 48px;
    }

    .section-message .message-wrap p {
        width: 100%;
        line-height: 1.6;
    }

    .modal-content-wrap {
        flex-direction: column;
        align-items: center;
    }

    .modal-title {
        justify-content: center;
    }

    .modal-content {
        text-align: center;
    }

    .timetable-side {
        display: none;
    }

    .timetable-sp-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height:fit-content;
        padding-right:calc(50vw/4.4);
        padding-left:calc(50vw/4.4);
    }

    .timetable-sp-title-day {
        font-family: 'Roboto Condensed';
        font-weight: 400;
        color: #0078F0;
        font-size: calc(40vw/4.4);
        margin:0;
    }

    .timetable-sp-title-day span{
        font-weight:600;
    }
    .timetable-sp-title-time{
        color:#0078F0;
        margin:0;
        font-size:calc(13vw/4.4);
    }
    .timetable-sp-title-right{
        display:flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content:center;
    }
    .timetable-sp-title-main{
        font-family: 'Noto Serif Jp';
        font-size:calc(20vw/4.4);
        font-weight:700;
        margin:0;
    }
    .timetable-sp-subtitle{
        display:block;
       background: linear-gradient(to right, #0080FF 0%, #0049A4 100%);
       color:#fff;
       font-size:calc(13vw/4.4);
       padding:4px 70px;
       margin:0;
    }
    .keynote-grid{
        align-items:center;
        justify-content:center;
    }
    .keynote-card{
        width:80%;
    }
}
@media screen and (max-width:600px){
    .timetable-sp-subtitle{
        padding:2px 30px;
    }
        .keynote-card{
        width:95%;
    }
}
@media screen and (max-width: 720px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    body {
        letter-spacing: 0.03em;
    }

    .title .title-en {
        font-size: 56px;
    }

    .modal-title .title-en {
        font-size: 24px;
    }

    main {
        margin-top: 82.703px;
    }

    .header__inner {
        padding: 16px;
    }

    .header .logo {
        width: 100px;
    }

    .fv__wrapper {
        height: calc(545vw / 5.2);
    }

    .fv__contents {
        height: calc(545vw / 5.1);
        row-gap: calc(24vw / 5.5);
        align-items: center;
        justify-content: flex-end;
        margin-left: 0;
    }

    .fv__contents .fv__title {
        width: calc(392VW / 4.9);
    }

    .fv__contents .fv__date {
        width: calc(247.29vw / 3.0);
    }

    .fv__contents .fv__speaker {
        position: static;
        order: 1;
        width: calc(392vw / 4.4);

    }

    .fv__speaker {
        margin-top: 0px;
    }

    .fv__scroll__contents {
        height: calc(480vw /40.4);
    }

    .fv__wrapper .fv__subtitle.sp {
        width: calc(392VW / 4.4);
        animation: fadeIn 0.8s ease-out 0.4s forwards;
        opacity: 0;
    }

    /* ヘッダーオレンジボタン */
    .button-small a {
        font-size: 16px;
        padding: 11px 27px;
        width: 200px;
        height: 50px;
    }

    .button-small a::after {
        width: 10px;
        height: 10px;
        right: 32px;
    }

    .button-large a {
        font-size: 18px;
        padding: 9px 32px;
        width: 250px;
        height: 50px;
    }

    .button-large a::after {
        width: 10px;
        height: 10px;
        right: 40px;
        top: 45%;
    }

    .section-button,
    .section-message,
    .section-timetable,
    .section-outline,
    .section-prize,
    .section-entry {
        padding: 64px 0;
    }


    .section-slider {
        padding: 16px 0;
    }

    .loopSlide ul li img {
        height: 40px;
    }

    .message-title {
        margin-bottom: 30px;
    }

    .message-title h3 {
        font-size: 16px;
        font-weight: 500;
        line-height: 1.4;
        letter-spacing: 0.1rem;
        margin-bottom: 5px;
    }

    .message-title h2 {
        font-size: 26px;
        letter-spacing: 0.15rem;
        line-height: 1.3;
    }

    .message-text {
        font-size: 14px;
        font-weight: 400;
        margin-bottom: 30px;
    }

    .message-text p {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .timetable-box {
        flex-direction: column;
        row-gap: 40px;
        padding: 32px 24px;
    }


    .timetable-box.op,
    .timetable-box.end {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 16px;
        padding: 24px 24px;
    }

    .timetable-box .theme-wrap,
    .timetable-box .speaker-wrap {
        width: 100%;
    }

    .timetable-box .theme-wrap {
        padding-left: 0;
        padding-right: 0;
    }

    .timetable-box .theme {
        font-size: 20px;
    }

    .speaker-wrap {
        flex-direction: row;
        column-gap: 16px;
    }

    .speaker-wrap .speaker-img {
        width: 96px;
        height: 96px;
        flex-shrink: 0;
    }

    .speaker-wrap .speaker-img img {
        width: 96px;
    }

    .speaker-wrap .speaker-company {
        text-align: left;
    }

    .speaker-wrap .speaker-name-wrap {
        align-items: flex-start;
    }

    .modal-body {
        width: 600px;
        max-width: 95%;
    }

    .modal-content-wrap {
        gap: 32px;
    }

    .modal-content {
        padding: 20px;
    }

    .modal-right {
        width: 100%;
    }

    .modal-title {
        justify-content: flex-start;
        margin-bottom: 16px;
    }

    .modalArchive-content-wrap {
        position: relative;
        width:calc(496vw/14.4);
        aspect-ratio:496 / 277;
        overflow: hidden;
    }

    .modalArchive-content-wrap iframe {
        position: absolute;
        top: 0;
        left: 0;
        width:calc(496vw/14.4);
        aspect-ratio:496 / 277;
    }
    /* OUTLINE */
    .outline-card {
        background-color: #ffffff;
        border-radius: 24px;
        padding: 40px 30px;
        box-sizing: border-box;
    }

    .outline-list {
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 0;
        gap: 0px 0px;
    }

    .outline-list dt {
        background: var(--gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-color: var(--white);
        font-weight: bold;
        font-size: 15px;
        line-height: 1.4;
        margin-bottom: 4px;
    }

    .outline-list dd {
        margin: 0;
        color: #111;
        font-size: 15px;
        font-weight: 500;
        line-height: 1.5;
        margin-bottom: 24px;
    }

    .outline-list dd:last-child {
        margin-bottom: 0;
    }

    /* PRIZE */
    .section-prize .prize-img {
        flex-direction: column;
        margin-bottom: 48px;
    }

    .section-prize .prize-img img {
        width: 100%;
    }

    .form {
        padding: 16px 16px;
    }

    .cauntion {
        width: 90%;
        margin: 0 auto;
    }

    .cauntion_text {
        color: #333;
        font-size: 12px !important;
    }
    .invoice-policy-sp{
        display:block;
    }
    .invoice-policy-pc{
        display:none;
    }
}

/* === Timetable: 2-column layout on desktop === */
@media screen and (min-width: 921px) {

    /* Grid container: two columns */
    .timetable-wrap1.is-active,
    .timetable-wrap2.is-active {
        display: grid;
        /* override previous flex */
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        /* both row/column gap */
    }

    /* Full-width rows */
    .timetable-wrap1 .timetable-box.op,
    .timetable-wrap1 .timetable-box.end,
    .timetable-wrap1 .annotation,
    .timetable-wrap2 .timetable-box.op,
    .timetable-wrap2 .timetable-box.end,
    .timetable-wrap2 .annotation {
        grid-column: 1 / -1;
    }
}


/* =========================================
   Timetable sticky left panel - final replace v4
========================================= */
.section-timetable {
    background: #EAF1F8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.timetable-sticky-layout {
    width: fit-content;
    display: grid;
    grid-template-columns: 303px minmax(0, 1fr);
    align-items: start;
}

.timetable-side {
    width: fit-content;
    position: sticky;
    top: 0;
    align-self: start;
    align-items: center;
    height: 100vh;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(-24px, 0, 0);
    transition:
        opacity 0.45s ease,
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.55s;
    pointer-events: none;
}

.timetable-side.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
    transition:
        opacity 0.45s ease,
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0s;
    pointer-events: auto;
}

.timetable-side__inner {
    width: calc(250vw/14.4);
    height: 100vh;
    padding-top: calc(150vh/10.24);
    padding-bottom: calc(120vh/10.24);
    background: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.timetable-side__head {
    position: relative;
    min-height: 190px;
    overflow: hidden;
}

.timetable-side__headCube {
    position: relative;
}

.timetable-side__headFace {
    width: fit-content;
}

.timetable-side__headFace--next {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(-28px);
    pointer-events: none;
}

.timetable-side__head.is-animating .timetable-side__headFace--current {
    animation: timetableHeadFadeOut 0.42s ease forwards;
}

.timetable-side__head.is-animating .timetable-side__headFace--next {
    animation: timetableHeadFadeInLeft 0.52s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes timetableHeadFadeOut {
    0% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-14px);
    }
}

@keyframes timetableHeadFadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-28px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.timetable-side__title {
    font-family: 'Noto Serif Jp';
    margin: 0;
    font-size: clamp(24px, calc(42vw/14.4), 64px);
    line-height: 1.35;
    font-weight: 900;
    color: #000;
    letter-spacing: 0.02em;
}

.timetable-side__subtitle {
    display: inline-block;
    padding: 5px 15px;
    background: linear-gradient(to right, #0080FF 0%, #0049A4 100%);
    margin-top: 16px;
    font-size: clamp(16px, calc(24vw/14.4), 32px);
    line-height: 1.6;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.04em;
    width: fit-content;
}

.timetable-side__foot {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.timetable-side__day {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 110px;
    line-height: 1;
    font-family: 'Roboto Condensed';
    font-weight: 200;
    color: #0165D2;
    letter-spacing: -0.05em;
}

.timetable-side__dayLabel {
    font-size: 110px;
    line-height: 1;
}

.timetable-side__date {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 32px;
    line-height: 1.4;
    font-weight: 700;
    color: #0165D2;

}

.timetable-side__dateWeek {
    display: inline-block;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.timetable-side__dateWeek.is-changing {
    opacity: 0;
    transform: translateY(-6px);
}

.split-flap {
    position: relative;
    display: inline-block;
    overflow: hidden;
    vertical-align: baseline;
    perspective: 1000px;
}

.split-flap--large {
    width: 0.9em;
    height: 1em;
}

.split-flap--small {
    width: 0.75em;
    height: 1em;
}

.split-flap__card {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    will-change: transform, opacity;
}

.split-flap__card--current {
    transform: translateY(0);
    opacity: 1;
}

.split-flap__card--next {
    transform: translateY(100%);
    opacity: 0.9;
}

.split-flap__digit {
    display: block;
    line-height: 1;
    font-weight: 600;
}

.split-flap.is-rolling .split-flap__card--current {
    animation: splitFlapCurrent 0.62s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.split-flap.is-rolling .split-flap__card--next {
    animation: splitFlapNext 0.62s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes splitFlapCurrent {
    0% {
        transform: translateY(0);
        opacity: 1;
        filter: blur(0px);
    }

    100% {
        transform: translateY(-100%);
        opacity: 0.25;
        filter: blur(1px);
    }
}

@keyframes splitFlapNext {
    0% {
        transform: translateY(100%);
        opacity: 0.25;
        filter: blur(1px);
    }

    100% {
        transform: translateY(0);
        opacity: 1;
        filter: blur(0px);
    }
}

.timetable-main {
    width: fit-content;
    min-width: 0;
}

.section-timetable .timetable-2page-wrapper {
    width: calc(1000vw/14.4);
    padding: 48px 0;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.timetable-page-1 {
    padding-top: 0;
}

.timetable-day-grid {
    width: 95%;
    max-width: 1800px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.timetable-day-grid .timetable-box.op,
.timetable-day-grid .timetable-box.end,
.timetable-day-grid .annotation {
    grid-column: 1 / -1;
}

.timetable-day-grid .timetable-box {
    min-height: 118px;
    padding: 20px;
    border-radius: 10px;
    background: linear-gradient(-45deg, rgba(255, 255, 255, 0.92) 15%, rgba(255, 255, 255, 0.72) 100%);
}

.timetable-day-grid .timetable-box:not(.op):not(.end) {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    column-gap: 16px;
}

.timetable-day-grid .timetable-box .theme-wrap {
    width: calc(100% - 112px);
    padding-right: 0;
}

.timetable-day-grid .timetable-box .speaker-wrap {
    width: 96px;
    flex-shrink: 0;
    row-gap: 8px;
}

.timetable-day-grid .speaker-wrap .speaker-img,
.timetable-day-grid .speaker-wrap .speaker-img img {
    width: 96px;
    height: 96px;
}

.timetable-day-grid .speaker-wrap .speaker-name-wrap {
    row-gap: 6px;
}

.timetable-day-grid .speaker-wrap .speaker-company {
    font-size: 10px;
    line-height: 1.35;
}

.timetable-day-grid .speaker-wrap .speaker-name {
    font-size: 13px;
    line-height: 1.3;
}

.timetable-day-grid .timetable-box .theme {
    font-size: 16px;
    line-height: 1.55;
}

.timetable-day-grid .timetable-box .description {
    font-size: 13px;
    line-height: 1.75;
}

.timetable-day-grid .timetable-box.op,
.timetable-day-grid .timetable-box.end {
    min-height: auto;
    padding: 20px 24px;
}

.timetable-day-grid .timetable-box.op .theme,
.timetable-day-grid .timetable-box.end .theme {
    font-size: 18px;
}

@media screen and (max-width: 1400px) {
    .timetable-sticky-layout {
        
        grid-template-columns: 250px minmax(0, 1fr);
    }

    .section-timetable .timetable-2page-wrapper {
        padding: 24px 28px 28px;
    }

    .timetable-side__subtitle {
        font-size: 18px;
    }

    .timetable-side__day,
    .timetable-side__dayLabel {
        font-size: 76px;
    }

    .timetable-side__date {
        font-size: 22px;
    }
}

@media screen and (max-width: 920px) {
    .timetable-sticky-layout {
        grid-template-columns: 1fr;
        width:100%;
    }

    .timetable-side {
        position: relative;
        top: auto;
        width: 100%;
        height: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }

    .timetable-side__inner {
        height: auto;
        min-height: auto;
    }

    .timetable-side__head {
        min-height: auto;
    }

    .timetable-side__subtitle {
        font-size: 16px;
    }

    .timetable-side__day,
    .timetable-side__dayLabel {
        font-size: 64px;
    }

    .timetable-side__date {
        font-size: 20px;
    }

    .section-timetable .timetable-2page-wrapper {
        padding: 20px;
    }

    .timetable-day-grid {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .timetable-day-grid .timetable-box.op,
    .timetable-day-grid .timetable-box.end,
    .timetable-day-grid .annotation {
        grid-column: auto;
    }

    .timetable-day-grid .timetable-box:not(.op):not(.end) {
        flex-direction: column;
        row-gap: 20px;
    }

    .timetable-day-grid .timetable-box .theme-wrap,
    .timetable-day-grid .timetable-box .speaker-wrap {
        width: 100%;
    }

    .timetable-day-grid .timetable-box .theme {
        font-size: 20px;
    }

    .timetable-day-grid .timetable-box .speaker-wrap {
        flex-direction: row;
        column-gap: 16px;
    }

    .timetable-day-grid .speaker-wrap .speaker-company {
        font-size: 12px;
    }

    .timetable-day-grid .speaker-wrap .speaker-name {
        font-size: 16px;
    }
    .timetable-main{
        width:100%;
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
    }
}

@media screen and (max-width: 920px) {
    .keynote-grid {
        width: 90%;
        grid-template-columns: 1fr;
    }
}

/* ===============================
   KEYNOTE MODAL FIXES
================================ */
body.no-scroll {
    overflow: hidden;
}

.modal-container {
    z-index: 2000;
}

.keynote-modal {
    width: 100%;
}

.keynote-modal .modal-body {
    width: min(918px, calc(100vw - 40px));
    max-width: 100%;
}

.key-modal-container {
    position: relative;
    width: 100%;
    max-width: 918px;
}

.keynote-modal-item .key-modal-container {
    padding: 46px 50px;
    box-shadow: 0px 6px 15px 0px rgba(0, 0, 0, 0.2);
}

.keynote-modal-item .modal-close {
    z-index: 5;
}

.keynote-card.modal-open {
    cursor: pointer;
}

@media screen and (max-width: 920px) {

    .keynote-modal-item .key-modal-container {
        flex-direction: column;
        align-items: flex-start;
        justify-content:center;
        gap: 24px;
        padding: 56px 20px 24px;
    }

    .keynote-modal-left-wrapper,
    .keynote-modal-right-wrapper {
        width: 100%;
    }

    .keynote-modal-right-wrapper {
        border-left: 0;
        border-top: 1px solid #C9C9C9;
        padding: 24px 0 0;
    }

    .keynote-modal-left-wrapper-title,
    .keynote-modal-right-wrapper-top {
        width: 100%;
        max-width: 100%;
    }

    .keynote-modal-text {
        padding: 0;
    }
}

/* === Keynote sticky background === */
.section-keynote-bg {
    position: fixed;
    inset: 0;
    background-image: url('../img/keynote_bg.png');
    background-size: contain;
    background-position: top left;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .55s ease, visibility 0s linear .55s;
    will-change: opacity;
}

body.keynote-active .section-keynote-bg {
    opacity: 1;
    visibility: visible;
    transition: opacity .55s ease, visibility 0s linear 0s;
}

body.keynote-active .section-keynote,
body.keynote-active .section-timetable {
    background-color: transparent;
}

body.keynote-active .section-keynote {
    background-image: none;
}

.section-keynote,
.section-timetable {
    position: relative;
    z-index: 1;
}

/* === Keynote fadeUp animation === */
.keynote-card {
    opacity: 0;
    transform: translate3d(0, 20px, 0) scale(0.985);
    will-change: opacity, transform;
}

.keynote-card.is-show {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    transition:
        opacity .9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {

    .keynote-card,
    .keynote-card.is-show {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===============================
   fv__scroll marquee (LEFT -> RIGHT)
   Fixes:
   - seamless loop (no early reset)
   - visible gap at the seam (first/second set)
   - slower, smoother speed
   - prevent image stretching from `.section-fv img { width:100%; }`
================================= */

/* prevent global FV img rule from stretching cards */
.section-fv .fv__scroll img.fv__scroll__contents {
  width: auto !important;
  max-width: none;
  object-fit: contain;
  flex: 0 0 auto;
}

/* keep your existing height rules (desktop / mobile) */
.section-fv .fv__scroll img.fv__scroll__contents {
  height: calc(480vw / 68.4);
}
@media screen and (max-width: 720px) {
  .section-fv .fv__scroll img.fv__scroll__contents {
    height: calc(480vw / 40.4);
  }
}

/* stop any per-image animation */
.fv__scroll .fv__scroll__contents {
  animation: none !important;
}

/* viewport behavior: keep original look but ensure the track can start from the left */
.fv__scroll {
  justify-content: flex-start;
}

/* moving track: IMPORTANT - no gap here, so 50% math stays exact */
.fv__scroll-track {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  width: max-content;
  will-change: transform;
  transform: translate3d(-50%, 0, 0);
  animation: fvScrollLTR 80s linear infinite;
}

/* Each set keeps your intended spacing.
   Add trailing padding so the seam has the same gap as internal spacing,
   and the loop seam is also separated (no "stick together"). */
.fv__scroll-set {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 40px;
  padding-right: 40px;
}

@media screen and (max-width: 1400px) {
  .fv__scroll-set {
    gap: 30px;
    padding-right: 30px;
  }
  .fv__scroll-track {
    animation-duration: 38s;
  }
}

@keyframes fvScrollLTR {
  0%   { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .fv__scroll-track {
    animation: none;
    transform: none;
  }
}


/* =========================================
   Responsive bug fixes (modal / timetable)
   ========================================= */

/* 1) Narrow-screen modal centering fix
   - Existing mobile modal uses inline-block + pseudo-element centering, which leaves .modal-body off-center on small screens.
   - Switch the overlay to flex centering on narrow screens and remove the pseudo-element.
*/
@media screen and (max-width: 920px) {
  .modal-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    text-align: left;
  }

  .modal-container:before {
    display: none;
  }

  .modal-body {
    display: block;
    margin: auto;
    max-width: 95vw;
  }
}

@media screen and (max-width: 720px) {
  .modal-body {
    width: min(95vw, 600px);
    max-width: 95vw;
  }
}

/* 2) Narrow-screen timetable wrapper width fix
   - Existing mobile rule only changes padding, while desktop width remains very wide.
   - Constrain wrapper to the phone width so cards occupy ~95% of the viewport.
*/
@media screen and (max-width: 920px) {
  .section-timetable .timetable-2page-wrapper {
    width: 95%;
    max-width: 95%;
    padding: 20px 0;
    margin: 0 auto;
    justify-content: center;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 600px) {
  .section-timetable .timetable-2page-wrapper {
    width: 92%;
    max-width: 92%;
  }
}

/* =========================================
   Keynote DAY2 modal adaptive fix (targeted)
   - Only apply to the long DAY2 modal
   - Keep the original DAY1 modal layout unchanged
   ========================================= */

/* Target ONLY the long keynote modal */
#keynote-modal-1.modal-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: left;
}

#keynote-modal-1.modal-container:before {
  display: none;
}

#keynote-modal-1 .modal-body {
  width: min(1280px, calc(100vw - 40px));
  max-width: 100%;
  margin: auto;
}

#keynote-modal-1 .key-modal-container {
  width: 100%;
  max-width: 1280px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  overflow-x: hidden;
  display: grid;
  grid-template-columns: minmax(300px, 360px) repeat(2, minmax(280px, 1fr));
  align-items: start;
  justify-content: stretch;
  gap: 32px;
  padding: 46px 50px;
  box-sizing: border-box;
}

#keynote-modal-1 .keynote-modal-left-wrapper,
#keynote-modal-1 .keynote-modal-right-wrapper {
  width: auto;
  min-width: 0;
}

#keynote-modal-1 .keynote-modal-left-wrapper-title,
#keynote-modal-1 .keynote-modal-right-wrapper-top {
  width: 100%;
  max-width: 100%;
  height: auto;
}

#keynote-modal-1 .keynote-modal-text {
  padding: 0;
}

@media screen and (max-width: 1200px) {
  #keynote-modal-1 .modal-body {
    width: min(980px, calc(100vw - 40px));
  }

  #keynote-modal-1 .key-modal-container {
    grid-template-columns: minmax(280px, 340px) minmax(280px, 1fr);
  }
}

@media screen and (max-width: 920px) {
  #keynote-modal-1 .modal-body {
    width: min(95vw, 720px);
    max-width: 95vw;
  }

  #keynote-modal-1 .key-modal-container {
    grid-template-columns: 1fr;
    gap: 24px;
    max-height: calc(100vh - 32px);
    padding: 56px 20px 24px;
  }

  #keynote-modal-1 .keynote-modal-right-wrapper {
    border-left: 0;
    border-top: 1px solid #C9C9C9;
    padding: 24px 0 0;
  }
}

/* =========================================
   Keynote section overall height final fix
   - keep existing keynote card component sizes
   - only rebalance section-level whitespace and overall height
   ========================================= */

.section-keynote {
  padding: clamp(72px, 7vw, 96px) 0 clamp(64px, 6vw, 80px);
  gap: clamp(24px, 3vw, 36px);
}

.keynote-grid {
  aspect-ratio: auto;
}

@media screen and (max-width: 720px) {
  .section-keynote {
    padding: 64px 0 56px;
    gap: 24px;
  }

}

/* =========================================
   FIX: modalArchive iframe sizing
   - Ensure .modalArchive-content-wrap and its iframe are not rendered at the default (300x150)
   - Works for both MT preview and Shared Preview
========================================= */
.modalArchive-content-wrap {
  position: relative;
  /* large, but keep inside viewport */
  width: min(960px, 90vw);
  aspect-ratio: 16 / 9;
  /* guard against being squeezed by parent */
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
}

.modalArchive-content-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media screen and (max-width: 720px) {
  .modalArchive-content-wrap {
    width: 92vw;
    max-width: 92vw;
  }
}

