body {
    font-family: YakuHanJP, "Noto Sans JP", sans-serif;
    background-color: rgb(229, 229, 229);
    color: rgb(0, 0, 0);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    height: auto;
}

/* フェードインアニメーション */

.scroll_fadein {
    opacity: 0;
    transform: translateY(20px);
}

.fadein_animation_start {
    animation-name: fadein_animation;
    animation-delay: 0.3s;
    animation-duration: 0.6s;
    animation-fill-mode: both;
    animation-timing-function: ease-out;
}

@keyframes fadein_animation {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ファーストビュー */

.first-view {
    position: relative;
    width: 100vw;
    height: auto;
    min-height: 10vh;
    overflow: hidden;
}

.first-view-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    opacity: 0;
    display: block;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.first-view-img.sp {
    display: none;
}

.first-view-img.active {
    opacity: 1;
    z-index: 1;
}

.first-view-img-caption {
    position: absolute;
    bottom: 25px;
    left: 25px;
    color: rgb(255, 255, 255);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.02rem;
    line-height: 1;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 2;
}
  
.first-view-img-caption.active {
    opacity: 1;
}

@media screen and (max-width: 767px) {
    .first-view {
        overflow: visible;
    }

    .first-view-img.pc {
        display: none;
    }
    
    .first-view-img.sp {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
        aspect-ratio: 9 / 16;
    }

    .first-view-img-caption {
        display: none;
    }
}

/* フレーム＆ロゴ */

.first-view-frame {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    width: 100vw;
    height: auto;
    pointer-events: none;
    z-index: 1;
}

.first-view-frame.sp {
    display: none;
}

.first-view-logo {
    position: absolute;
    top: 2vw;
    left: 2vw;
    z-index: 2;
}

.first-view-logo img {
    height: 3.5vw;
    width: auto;
    display: block;
}

@media screen and (max-width: 767px) {
    .first-view-frame.pc {
        display: none;
    }

    .first-view-frame.sp {
        display: block;
        width: 100vw;
        height: auto;
    }

    .first-view-logo {
        top: 15px;
        left: 15px;
    }
    
    .first-view-logo img {
        height: 35px;
    }
}

/* メニュー */

.first-view-menu {
    position: absolute;
    top: 2.3vw;
    left: calc(2vw + 18.727vw + 4vw);
    right: 15.414vw;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 3;
}

nav.first-view-menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.6vw 1.6vw;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav.first-view-menu li {
    font-size: clamp(0.875rem, 0.5rem + 0.78vw, 1.125rem);
    font-weight: 600;
    line-height: 1;
    color: rgba(255, 255, 255, 1.0);
    cursor: pointer;
    padding: 0;
}

nav.first-view-menu li, nav.first-view-menu li a {
    transition: color 0.2s ease-in-out;
}

.menu-toggle {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 100;
    cursor: pointer;
    display: none;
    align-items: center;
    gap: 10px;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background: rgb(255, 255, 255);
    margin-bottom: 5px;
}

.close-btn img {
    width: 30px;
    cursor: pointer;
}
  
@media screen and (max-width: 767px) {
    /* 初期状態：非表示 + 透明 + トランジション */
    nav.first-view-menu {
        display: none;
        opacity: 0;
        transition: opacity 0.5s ease;
        position: fixed;
        top: 0;
        width: 100vw;
        height: 65vh;
        background-image: url("../images/menu-sp.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 99;
        pointer-events: none; /* 非表示時にクリックできないように */
    }
    
    /* 表示状態：透明度を1にして表示 */
    nav.first-view-menu.active {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }
      
    .first-view-menu.active {
        transform: translateX(0);
    }
  
    nav.first-view-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-top: 40px;
    }
  
    nav.first-view-menu li {
        font-size: 22px;
    }

    .menu-toggle {
        display: flex;
    }
  
    .hamburger {
        width: 30px;
        height: 26px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
    }
  
    .hamburger span {
        display: block;
    }
  
    .close-btn {
        display: none;
    }

    .first-view-menu.active ~ .menu-toggle .hamburger {
        display: none;
    }
  
    .first-view-menu.active ~ .menu-toggle .close-btn {
        display: block;
    }
}

/* ファーストビュー 大会テーマ */

.first-view-theme.pc {
    position: absolute;
    top: 50%;
    left: 2vw;
    transform: translateY(-50%);
    z-index: 5;
    width: 33%;
    height: auto;
}

.first-view-theme.sp {
    display: none;
}

@media screen and (max-width: 767px) {
    .first-view-theme.pc {
        display: none;
    }

    .first-view-theme.sp {
        display: block;
        position: relative;
        top: 0;
        left: 15px;
        z-index: 5;
        width: 70%;
        height: auto;
        margin-top: 15px;
    }
}

/* 共通項目 */

.wrapper {
    position: relative;
    z-index: 0;
    padding-top: 1vh;
}

.bg-arrow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
    pointer-events: none;
}

.bg-arrow2 {
    top: 180vh;
}

.main {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding: 80px 0 0;
    width: calc(100% - 16vw);
    max-width: 1160px;
}

.container {
    display: flex;
    align-items: start;
    margin-top: 100px;
}

.title {
    flex: 0 0 15vw;
    display: block;
    align-self: flex-start;
    margin-right: 2vw;
}

.title-svg {
    height: 4.8vw;
    max-height: 70px;
}

.title-talk-session-svg {
    height: 9.8vw;
    max-height: 114px;
}

.content {
    flex-grow: 1;
}

a {
    color: rgb(0, 0, 0);
}

@media screen and (max-width: 1079px) {
    .bg-arrow {
        display: none;
    }

    .main {
        width: calc(100% - 70px);
        margin: 0 auto;
        padding: 40px 0 0;
    }

    .container {
        display: block;
        flex-direction: column;
        margin-top: 140px;
    }

    .title {
        width: 100%;
        height: auto;
        margin: 0;
    }

    .title-svg {
        height: 60px;
    }

    .title-talk-session-svg {
        height: 140px;
    }

    .content {
        margin-top: 50px;
    }
}

/* ボタン */

@keyframes pop-right {
    0%   { transform: translateX(0); }
    30%  { transform: translateX(6px); }
    60%  { transform: translateX(-2px); }
    100% { transform: translateX(0); }
}

@keyframes pop-left {
    0%   { transform: translateX(0); }
    30%  { transform: translateX(-6px); }
    60%  { transform: translateX(2px); }
    100% { transform: translateX(0); }
}

.btn-right {
    display: block;
    width: 280px;
    margin-top: 30px;
    transition: background 0.3s ease;
}

.btn-right.second {
    margin-top: 20px;   
}

.btn-right:hover {
    animation: pop-right 0.4s ease;
}

.btn-left:hover {
    animation: pop-left 0.4s ease;
}

@media screen and (max-width: 767px) {
    .btn-right {
        width: 280px;
        margin-top: 30px;
    }

    .btn-right.second {
        margin-top: 15px;   
    }
}

/* Info 基本情報 */

.convention-title {
    display: inline-block;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    padding: 0;
    transform: translateY(-0.3em);
}

.info-item {
    display: flex;
    align-items: start;
    font-size: 18px;
    font-weight: 500;
    margin-top: 10px;
}

.info-item.interval  {
    margin-top: 8px;
}

.info-title {
    display: inline-block;
    flex: 0 0 120px;
    margin: 0;
}

.info-body {
    flex-grow: 1;
    margin: 0;
}

.info-txt {
    margin: 0;
}

.info-note {
    font-size: 12px;
    font-weight: 500;
    margin: 4px 0 0 0;
}

@media screen and (max-width: 1079px) {
    .convention-title {
        font-size: 24px;
        transform: translateY(0);
    }

    .info-item {
        display: flex;
        align-items: start;
        font-size: 15px;
        font-weight: 500;
        margin-top: 20px;
    }
    
    .info-item.interval  {
        margin-top: 8px;
    }

    .info-title {
        flex: 0 0 95px;
        margin: 0;
    }
    
    .info-note {
        font-size: 11px;
        margin: 4px 0 0 0;
    }
}

/* Theme 大会テーマ */

.theme-jp {
    width: 30%;
    max-width: 300px;
}

.subtheme-jp {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    margin-top: 12px;
}

.theme-en {
    font-style: italic;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.02rem;
    line-height: 1.3;
    margin-top: 4px;
}

.subtheme-en {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.02rem;
    line-height: 1.3;
    margin-top: 4px;
}

.convention-theme-txt {
    width: 85%;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    text-align: justify;
    margin-top: 40px;
}

.first-paragraph {
    margin: 0;
}

.paragraph {
    margin: 10px 0 0 0;
}

@media screen and (max-width: 1079px) {
    .theme-jp {
        width: 63%;
    }
    
    .subtheme-jp {
        font-size: 15px;
        font-weight: 500;
        line-height: 1.3;
        margin: 10px 0 0 0;
    }
    
    .theme-en {
        font-size: 15px;
        margin: 5px 0 0 0;
    }
    
    .subtheme-en {
        font-size: 15px;
    }

    .convention-theme-txt {
        width: 100%;
    }
}

/* Message ごあいさつ */

.rep-list-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.rep-list-item {
    width: calc((100% - 60px) / 4);
    transition: 0.2s;
    font-weight: 500;
}

.rep-list-item:hover {
    transform: scale(1.04);
}

.rep-portrait {
    width: 100%;
}

.rep-name {
    font-size: 18px;
    line-height: 1;
    margin: 15px 0 0 0;
}

.rep-desc {
    text-align: left;
    font-size: 12px;
    line-height: 1.3;
    margin: 6px 0 0 0;
}

span {
    font-size: 9px;
    margin: 0 0 0 2px;
}

.rep-message {
    font-size: 11px;
    line-height: 1.6;
    margin: 10px 0 0 0;
    text-align: left;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media screen and (max-width: 767px) {
    .rep-list-item {
        width: calc((100% - 20px) / 2);
        margin-bottom: 20px;
    } 
}  

/* Message ごあいさつ ポップアップ */

.rep-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rep-modal.active {
    display: flex;
    opacity: 1;
}

body.modal-open {
    overflow: hidden;
    height: 100vh;
}

.rep-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    padding: 30px;
    overflow-y: auto;
    box-sizing: border-box;
}

#repModalClose {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    font-weight: 500;
    cursor: pointer;
}

.rep-modal-body {
    font-size: 14px;
    font-weight: 500;
}

#modalPortrait {
    width: 18%;
    min-width: 120px;
}

#modalName {
    font-size: 20px;
    font-weight: 500;
    margin: 10px 0 0 0;
}

#modalDesc {
    font-size: 14px;
    margin: 4px 0 0 0;
}

#modalTitle {
    font-size: 18px;
    margin: 40px 0 0 0;
}

/* modalMessage からスクロール・高さ制限を削除 */
#modalMessage {
    font-size: 14px;
    line-height: 1.6;
    text-align: justify;
    margin: 20px 0 0 0;

    /* 以下を削除またはコメントアウト */
    /* max-height: 60vh; */
    /* overflow-y: auto; */
}


#modalMessage p {
    margin-bottom: 0.8em;
}

@media screen and (max-width: 767px) {
    #modalPortrait {
        width: 30%;
    }

    #modalName {
        margin: 10px 0 0 0;
    }
    
    #modalDesc {
        margin: 2px 0 0 0;
    }
}

/* Talk Session トークセッション */

.session-list-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }
  

.session-list-item {
    cursor: pointer;
    transition: 0.2s;
    width: calc(33.333% - 10px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: auto;
    flex-grow: 1;
}
  
.session-list-item a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.session-list-item.dummy {
    pointer-events: none;
}
  
.session-list-item:hover {
    transform: scale(1.04);
}
  
.top-half {
    aspect-ratio: 4 / 3;
    width: 100%;
    position: relative;
    overflow: hidden;
}
  
.session-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.number {
    position: absolute;
    top: 0;
    left: 0;
    width: 38%;
}
  
.label {
    position: absolute;
    top: 0;
    right: 0;
    height: 13%;
}
  
.bottom-half {
    background: #a8b9ff;
    height: auto;
    min-height: 140px;
    margin: 0px;
    padding: 12px;
    margin-bottom: auto;
    flex-grow: 1; /* 残りのスペースを埋める */
    display: flex;
    flex-direction: column;
}

.bottom-half.innovation {
    background: #ebaec8;
}

.bottom-half.community {
    background: #ff9095;
}

.bottom-half.architect {
    background: #60d884;
}

.bottom-half.education {
    background: #cfd55f;
}

.bottom-half.conclusion {
    background: #ffffff;
}
  
.session-title {
    font-size: clamp(0.75rem, 0.7rem + 0.25vw, 1rem);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.004em;
    margin: 0;
}

.session-subtitle {
    font-size: clamp(0.625rem, 0.575rem + 0.25vw, 0.875rem);
    font-weight: 500;
    line-height: 1.5;
    margin: 4px 0 0 0;
}

.session-speakers {
    font-size: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
    font-weight: 500;
    margin: 8px 0 0 0;
}

@media screen and (max-width: 767px) {
    .session-list-container {
        gap: 30px;
        margin: 0;
    }

    .session-list-item {
        width: 100%;
    }

    .number {
        width: 33%;
    }
      
    .label {
        height: 13%;
    }
    
    .bottom-half {
        background: #a8b9ff;
        height: auto;
        min-height: 140px;
        margin: 0px;
        padding: 12px;
    }
      
    .session-title {
        font-size: 16px;
    }
    
    .session-subtitle {
        font-size: 14px;
        margin: 2px 0 0 0;
    }
    
    .session-speakers {
        font-size: 11px;
        font-weight: 500;
        margin: 8px 0 0 0;
    }
}

/* Event イベント */

/*
.events {
    display: flex;
    justify-content: center;
    gap: 20px;        
}

.events img {
    width: calc((100% - 40px) / 3);
}
*/

/* News ニュース */

/*
.news {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}
*/

/* Access アクセス */

.access-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 35px;
    margin: 0;
}

.access-wrapper:nth-of-type(2) {
    margin-top: 60px;
}

#access-map1, #access-map2 {
    flex: 1 1 0;
    max-width: 400px;
    aspect-ratio: 4 / 3;
}

.access-txt {
    flex: 2 1 0; /* 地図:テキスト = 1:2 の比率 */
    min-width: 0;
    font-weight: 500;
    line-height: 1;
    margin: 0;
}

.access-subtitle {
    font-size: 14px;
    letter-spacing: 0.02rem;
    margin: 0;
}

.access-title {
    font-size: 22px;
    letter-spacing: 0.02rem;
    margin-top: 20px;
}

.access-address {
    font-size: 14px;
    margin-top: 12px;
}

.access-item {
    display: flex;
    align-items: start;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 20px;
}

.access-item.interval  {
    margin-top: 2px;
}

.access-dot {
    width: 11px;
    height: 11px;
    background-color: rgb(202, 207, 112);
    border-radius: 50%;
    margin: 6px 6px 0 0;
    flex-shrink: 0;
}

.access-dot.dot2 {
    background-color: rgb(126, 187, 129);
}

.access-body {
    flex-grow: 1;
    margin: 0;
    padding: 0;
}

.access-note {
    display: flex;
    align-items: start;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    margin-top: 40px;
}

.access-note-body {
    margin-left: 2px;
}

@media screen and (min-width: 1080px) and (max-width: 1180px) {
    #access-map1, #access-map2 {
        aspect-ratio: 4 / 3.3;
    }
}

@media screen and (max-width: 1079px) {
    .access-wrapper {
        flex-direction: column;
        align-items: start;
        margin-top: 60px;
    }

    #access-map1, #access-map2 {
        width: 100%;
        max-width: 1079px;
    }

    .access-txt {
        width: 100%;
        max-width: 1079px;
    }

    .access-note {
        font-size: 14px;
        margin-top: 40px;
    }

    .access-note-body {
        margin-left: 2px;
    }
}

/* News お知らせ */

.news-item {
    display: flex;
    align-items: start;
    margin: 0;
}

.news-item.interval  {
    margin-top: 2px;
}

.news-item a .news-body::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background: rgb(0, 0, 0);
    transform: scaleX(0);
    transform-origin: left top;
    transition: transform 0.3s;
}

.news-item a:hover .news-body::after {
    transform: scaleX(1);
}

.news-dot {
    width: 14px;
    height: 14px;
    background-color: rgb(226, 145, 144);
    border-radius: 50%;
    margin: 6px 10px 0 0;
    flex-shrink: 0;
}

.news-date {
    position: relative;
    display: inline-block;
    flex-grow: 1;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.news-body {
    position: relative;
    display: inline-block;
    flex-grow: 1;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0 0 0 10px;
    padding: 0;
}

@media screen and (max-width: 767px) {
    .news-date {
        font-size: 14px;
    }

    .news-body {
        font-size: 14px;
        margin: 2px 0 0 10px;
    }

}

/* フッター */

.site-footer {
    background-image: url('../images/footer-bg.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
    color: rgb(255, 255, 255);
    margin-top: 200px;
    padding: 60px 0;
    box-sizing: border-box;
}

.footer-inner {
    width: calc(100% - 16vw);
    max-width: 1160px;
}

.footer-logo {
    z-index: 2;
}

.footer-logo img {
    display: block;
    width: 180px;
    height: auto;
}

.footer-credit {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.75;
    margin-top: 30px;
}

.footer-sns {
    display: flex;
    margin-top: 20px;
}
  
.footer-sns a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    letter-spacing: 0.02rem;
}
  
.footer-sns img {
    margin-right: 8px;   
    height: 20px;
}

.footer-sns a span {
    position: relative;
    color: rgb(255, 255, 255);
    font-size: 13px;
}

.footer-data {
    align-items: center;
    margin-top: 20px;
}

.footer-data-item {
    align-items: center;
    margin-top: 0px;
}

.footer-data-item:nth-of-type(2) {
    margin-top: 4px;
}  

.footer-data a {
    display: inline-flex;
    align-items: center;
    position: relative;
    text-decoration: none;
}

.footer-data span {
    color: rgb(255, 255, 255);
    font-size: 13px;
}

.footer-data a span {
    position: relative;
}

.footer-data img {
    height: 16px;
    margin: 2px 0 0 8px;
}

.footer-contact {
    display: inline-flex;
    margin-top: 30px;
    padding: 16px 20px;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 6px;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.footer-contact a span {
    position: relative;
    display: inline-block;
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.footer-contact img {
    width: 20px;
    height: auto;
    display: inline-block;
}

.footer-banner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0 0 0;
}

.footer-copyright {
    font-size: 13px;
    font-weight: 400;
    margin-top: 15px;
}

@media screen and (max-width: 767px) {
    .site-footer {
        margin-top: 160px;
        padding: 30px 0;
    }

    .footer-logo img {
        width: 140px;
    }
    
    .footer-credit {
        font-size: 12px;
        font-weight: 500;
        line-height: 1.75;
        margin-top: 20px;
    }
    
    .footer-sns {
        margin-top: 20px;
    }
      
    .footer-sns img {
        margin-right: 8px;   
        height: 20px;
    }
    
    .footer-sns a span {
        position: relative;
        color: rgb(255, 255, 255);
        font-size: 12px;
    }
    
    .footer-data {
        align-items: center;
        margin-top: 20px;
    }
    
    .footer-data-item {
        align-items: center;
        margin-top: 0px;
    }
    
    .footer-data-item:nth-of-type(2) {
        margin-top: 0px;
    }
    
    .footer-data span {
        font-size: 12px;
        font-weight: 500;
    }

    .footer-data img {
        height: 16px;
        margin: 2px 0 0 8px;
    }
    
    .footer-contact {
        display: inline-flex;
        margin-top: 20px;
        padding: 16px 20px;
        border: 1px solid rgb(255, 255, 255);
        border-radius: 6px;
    }
    
    .footer-copyright {
        font-size: 13px;
        font-weight: 500;
    }
}

/* アンダーラインアニメーション */

.footer-sns a span::after, .footer-data a span::after, .footer-contact a span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background: rgb(255, 255, 255);
    transform: scaleX(0);
    transform-origin: left top;
    transition: transform 0.3s;
}

.footer-sns a:hover span::after, .footer-data a:hover span::after, .footer-contact a:hover span::after {
    transform: scaleX(1);
}