@charset "utf-8";

/* ---------------------------------------------------------
    カラー
----------------------------------------------------------*/
:root {
    /* Color Variables - MVの鮮やかなシアン/ターコイズブルーに合わせた色（彩度調整） */
    --primary-dark: #1a8fa3;
    --primary-main: #2db8cc;
    --primary-light: #6fd4e0;
    --secondary-blue: #1a9bb8;
    --secondary-light: #60d5e8;
    --secondary-lighter: #8fe0ed;
    --secondary-lightest: #70d8e6;

    --text-primary: #000;
    --text-muted: #6A6A6A;
    --text-placeholder: #999;

    --white: #fff;
    --background-light: #f0f0f0;
    --border-light: #ECECEC;

    /* MVのトーンに合わせたピンク系グラデーション */
    --button-gradient: linear-gradient(90deg, #ff4fa6 0%, #ff86c8 50%, #ffb38a 100%);
    --button-gradient-hover: linear-gradient(90deg, #ffb38a 0%, #ff86c8 50%, #ff4fa6 100%);
    --main_session_gradient: linear-gradient(90deg, var(--primary-main) 0%, var(--secondary-blue) 100%);

    /* フッター背景 - MVのトーンに合わせたピンク〜オレンジ〜パープル系（淡め） */
    --footer-gradient: linear-gradient(90deg, #ffb3d9 0%, #ffcc99 50%, #d4b3e8 100%);

    /* フッターのグラデーション - MVのトーンに合わせたピンク〜オレンジ系 */
    --footer-btn_gradient: linear-gradient(90deg, #ff86c8 0%, #ffb38a 50%);
    --footer-btn-hover-gradient: linear-gradient(90deg, #ffb38a 0%, #ff86c8 100%);
}


/* ---------------------------------------------------------
    基本設定
----------------------------------------------------------*/
* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    vertical-align: baseline;
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    font-weight: 400;
    font-style: normal;
    max-width: 1920px;
    background: var(--white) url('../images/bg.webp') no-repeat center center;
    background-attachment: fixed;
    background-size: cover;
    color: var(--text-primary);
    font-size: clamp(1.4rem, 2vw, 1.6rem);
    line-height: 1.6;
    margin: auto;
    overflow-x: hidden;
}

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


/* ---------------------------------------------------------
    汎用クラス
----------------------------------------------------------*/
.underline_link {
    color: #049CA9;
    border-bottom: 1px solid #049CA9;
    text-decoration: none;
}

/* --- レスポンシブ改行制御 --- */
/* PC（851px以上）のときだけ改行 */
.pc_only {
    display: none;
}

@media screen and (min-width: 851px) {
    .pc_only {
        display: block;
    }
}

/* PC〜タブレット（481px以上）のときだけ改行 */
.pc_tablet_only {
    display: none;
}

@media screen and (min-width: 481px) {
    .pc_tablet_only {
        display: block;
    }
}

/* タブレット〜スマホ（850px以下）のときだけ改行 */
.tablet_sp_only {
    display: none;
}

@media screen and (max-width: 850px) {
    .tablet_sp_only {
        display: block;
    }
}

/* スマホ（480px以下）のときだけ改行 */
.sp_only {
    display: none;
}

@media screen and (max-width: 480px) {
    .sp_only {
        display: block;
    }
}


/* ---------------------------------------------------------
    ボタン
----------------------------------------------------------*/
/* --- 通常のボタン --- */
.btn_cont {
    display: flex;
    justify-content: center;
}

.btn {
    background: var(--button-gradient);
    border-radius: 70px;
    padding: 16px 20px 16px 35px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 210px;
    font-weight: 700;
    font-size: clamp(1.4rem, 2vw, 1.6rem);
    color: var(--white);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    position: relative;
    text-decoration: none;
    border: none;
    cursor: pointer;
    line-height: 1.2;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
}

.btn::after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 700;
    font-size: 14px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

@media screen and (max-width: 480px) {
    .btn:hover {
        transform: none;
    }
}

/* --- グラデーションボタン --- */
.btn_gradient {
    background: transparent;
    border-radius: 70px;
    padding: 16px 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    width: 210px;
    font-weight: 700;
    font-size: clamp(1.4rem, 2vw, 1.6rem);
    color: var(--white);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    position: relative;
    text-decoration: none;
    border: none;
    cursor: pointer;
    line-height: 1.2;
    overflow: hidden;
}

.btn_gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--button-gradient);
    border-radius: 70px;
    z-index: -1;
    transition: opacity 0.8s ease;
}

.btn_gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--button-gradient-hover);
    border-radius: 70px;
    z-index: -2;
}

.btn_gradient:hover::before {
    opacity: 0;
}

.btn_gradient_icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    color: var(--white);
    font-family: 'Font Awesome 5 Free';
    font-weight: 700;
    font-size: 14px;
    pointer-events: none;
}

.btn_gradient_icon::after {
    content: '\f054';
}

@media screen and (max-width: 480px) {
    .btn_gradient:hover::before {
        opacity: 1;
    }
}


/* ---------------------------------------------------------
    共通レイアウト
----------------------------------------------------------*/
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.section_header {
    text-align: center;
    margin-bottom: 40px;
}

.section_title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.title_en {
    font-family: 'Figtree', sans-serif;
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1;
    color: #000;
    text-transform: uppercase;
    letter-spacing: .2rem;
}

.title_ja {
    font-weight: 700;
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    line-height: 1;
    color: #049CA9;
}



/* ---------------------------------------------------------
    ヘッダー
----------------------------------------------------------*/
.header {
    background-color: #fff;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* --- ヘッダー縮小時のスタイル --- */
.header--compact {
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.15);
}

.header--compact .logo_image {
    height: clamp(60px, 8vw, 100px);
    transition: height 0.3s ease;
}

.header--compact .header_container {
    transition: padding 0.3s ease;
}

.header--compact .hamburger_btn span {
    width: 26px;
}

/* --- 固定ヘッダーの高さでコンテンツが隠れないように調整 --- */
.program,
.sponsors,
.overview {
    scroll-margin-top: clamp(80px, 12vw, 120px);
}

.header_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo_image {
    height: clamp(70px, 12vw, 120px);
    transition: height 0.3s ease;
}

.logo_text {
    font-family: 'Figtree', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 3vw, 2.4rem);
    line-height: 1.8;
    color: #000;
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav_menu {
    display: flex;
    gap: 40px;
}

.nav_menu a {
    font-weight: 700;
    font-size: clamp(1.4rem, 2vw, 1.6rem);
    line-height: 1.2;
    color: #000;
    text-decoration: none;
    position: relative;
    transition: opacity 0.3s ease;
}

.nav_menu a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-main);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.nav_menu a:hover {
    opacity: 0.7;
}

.nav_menu a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav_menu a:not(:hover)::before {
    transform: scaleX(0);
    transform-origin: right;
}

/* --- ハンバーガーメニュー --- */
.hamburger_btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.hamburger_btn span {
    display: block;
    width: 30px;
    height: 3px;
    background: #000;
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger_btn.active span {
    background: #fff;
}

.hamburger_btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger_btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger_btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.hamburger_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: scale(0);
    transform-origin: top right;
}

.hamburger_overlay.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    border-radius: 0;
}

.hamburger_nav {
    text-align: center;
}

.hamburger_menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hamburger_menu li {
    margin: 30px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.hamburger_overlay.active .hamburger_menu li {
    opacity: 1;
    transform: translateY(0);
}

.hamburger_overlay.active .hamburger_menu li:nth-child(1) {
    transition-delay: 0.1s;
}

.hamburger_overlay.active .hamburger_menu li:nth-child(2) {
    transition-delay: 0.2s;
}

.hamburger_overlay.active .hamburger_menu li:nth-child(3) {
    transition-delay: 0.3s;
}

.hamburger_overlay.active .hamburger_menu li:nth-child(4) {
    transition-delay: 0.4s;
}

.hamburger_menu a {
    padding: 15px 50px;
    position: relative;
    color: var(--white);
    text-decoration: none;
    font-size: clamp(1.6rem, 1.2vw, 2rem);
    font-weight: 700;
    transition: color 0.3s ease;
}

.hamburger_menu a:hover {
    color: var(--primary-main);
}

.hamburger_btn_gradient {
    background: var(--button-gradient);
    border-radius: 50px;
    padding: 15px 0;
    display: inline-block;
    margin-top: 20px;
}

.hamburger_btn_gradient:hover {
    background: var(--primary-main);
}

/* メニューが開いている時のbody固定 */
body.menu_open {
    overflow: hidden;
}

/* タブレット以下でハンバーガーメニューを表示 */
@media screen and (max-width: 850px) {
    .nav {
        display: none;
    }

    .hamburger_btn {
        display: flex;
    }
}


/* ---------------------------------------------------------
    MV
----------------------------------------------------------*/
.mv {
    margin-top: clamp(70px, 12vw, 120px);
    width: 100%;
    display: block;
}

.mv_image {
    width: 100%;
    height: auto;
    display: block;
}


/* ---------------------------------------------------------
    ページ概要テキスト
----------------------------------------------------------*/
.overview_text {
    padding: 60px 0 0;
}

.overview_description {
    color: #000;
    text-align: center;
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    line-height: 2;
}

@media screen and (max-width: 480px) {
    .overview_text {
        padding: 40px 0 0;
    }

    .overview_description {
        text-align: justify;
    }
}


/* ---------------------------------------------------------
    プログラム
----------------------------------------------------------*/
.program {
    padding: 60px 0 clamp(60px, 10vw, 100px) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.program .container {
    max-width: 1240px;
    width: 100%;
    padding: 0 20px;
}

.program_schedule {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.schedule_item {
    box-shadow: 1px 1px 30px 0px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* Program CTA */
.program_cta {
    margin-top: 40px;
}

.program_cta .btn_gradient {
    width: 330px;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    padding: 20px 0;
}

.program_cta .btn_gradient::after {
    font-size: 18px;
}

/* Simple time badges (Door Open, Break, Finish) */
.schedule_item.simple {
    width: 100%;
}

.time_badge.simple {
    box-shadow: 1px 1px 30px 0px rgba(0, 0, 0, 0.1);
    background: var(--white);
    border-radius: 10px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.time_badge.simple .time {
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.2;
    color: #08425D;
}

.time_badge.simple .label {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    line-height: 1.2;
    color: #08425D;
}

/* Main session */
.schedule_item.main_session {
    width: 100%;
}

.time_badge.main {
    background: var(--main_session_gradient);
    border-radius: 10px 10px 0px 0px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 1px 1px 30px 0px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.time_badge.main:hover {
    opacity: 0.9;
}

/* disabled のときは hover で薄くしない */
.schedule_item.disabled .time_badge.main:hover,
.schedule_item.disabled .session_header:hover {
    opacity: 1;
}

/* disabled内でもスピーカーリンクはクリック可能に見せる */
.schedule_item.disabled .speaker_info {
    pointer-events: auto;
    cursor: pointer;
}

.schedule_item.disabled .speaker_info:hover {
    opacity: 0.7;
}

.time_badge.main .time {
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.2;
    color: var(--white);
}

.time_badge.main .label {
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.2;
    color: var(--white);
}

.session_content {
    background: var(--white);
    border-radius: 0px 0px 10px 10px;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.session_header {
    display: flex;
    align-items: center;
    gap: 30px;
}

.session_header:hover {
    opacity: 0.8;
}

.session_header::after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 14px;
    color: #049CA9;
}

/* disabled のときは右矢印（疑似要素）を表示しない */
.schedule_item.disabled .session_header::after {
    content: none;
}

.session_title {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    line-height: 1.4;
    color: #000;
}

.session_description {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    line-height: 2;
    color: #000;
}

/* TOP（プログラム一覧）では2行で丸める */
.program_schedule .session_description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media screen and (max-width: 480px) {
    .time_badge.main {
        padding: 20px 20px 18px;
    }

    .time_badge.simple {
        padding: 20px 20px 18px;
    }
}

/* --- スピーカー --- */
.speakers_row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.speaker_item {
    display: flex;
    align-self: flex-end;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
    min-width: 0;
}

.speaker_tag {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0px 10px;
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    font-size: clamp(1.4rem, 2vw, 1.6rem);
    line-height: 1.2;
    color: #000;
    width: fit-content;
}

.speaker_tag.speaker {
    border-left: 4px solid #6AD3D9;
}

.speaker_tag.moderator {
    border-left: 4px solid var(--secondary-blue);
}

.speaker_info {
    display: flex;
    align-items: center;
    gap: 11px;
    flex: 1;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
    min-width: 0;
}

.speaker_info:hover {
    opacity: 0.8;
}

.speaker_avatar {
    width: clamp(80px, 15vw, 120px);
    height: clamp(80px, 15vw, 120px);
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.speaker_avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker_details {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 2vw, 15px);
    flex: 1;
    min-width: 0;
    /* テキストの折り返しを許可 */
}

.speaker_name {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: clamp(1.4rem, 2vw, 1.6rem);
    line-height: 1;
    color: #000;
    margin: 0;
}

.speaker_company {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: clamp(1.2rem, 1.8vw, 1.4rem);
    line-height: 1.4;
    color: #000;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .speakers_row {
        flex-direction: column;
        gap: 30px;
    }

    .speaker_item {
        flex: none;
        max-width: 100%;
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .speakers_row {
        margin-top: 10px;
        gap: 25px;
    }

    .session_content {
        padding: 20px;
    }
}


/* ---------------------------------------------------------
    協賛社
----------------------------------------------------------*/
.sponsors {
    padding: clamp(60px, 10vw, 100px) 0;
    background: var(--white);
}

.sponsors .container {
    max-width: 1000px;
}

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

.sponsor_item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sponsor_item:hover {
    opacity: 0.7;
}

/* disabled のときは hover で薄くしない */
.sponsors_grid.disabled .sponsor_item:hover,
.sponsors_grid.disabled .sponsor_logo:hover,
.sponsor_item.disabled:hover,
.sponsor_item.disabled .sponsor_logo:hover {
    opacity: 1;
    cursor: default;
}

.sponsor_logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.sponsor_name {
    text-align: center;
    font-size: clamp(1.2rem, 2.2vw, 1.8rem);
    line-height: 1.2;
    color: #000;
}

.logo_placeholder {
    width: 100%;
    height: 100%;
    background: var(--background-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-placeholder);
    font-size: 1.4rem;
}

@media screen and (max-width: 480px) {
    .sponsors .section_header {
        margin-bottom: 20px;
    }

    .sponsors_grid {
        flex-direction: column;
    }

    .sponsor_logo img {
        width: 80%;
    }
}


/* ---------------------------------------------------------
    イベント概要
----------------------------------------------------------*/
.overview {
    padding: clamp(60px, 10vw, 100px) 0;
}

.overview .btn_cont {
    justify-content: flex-start;
}

.overview .btn_gradient {
    width: 330px;
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    padding: 20px 0;
}

.overview_table {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 300px 1fr;
}

.overview_table dt,
.overview_table dd {
    border-top: 2px solid var(--border-light);
}

.overview_table dt:last-of-type,
.overview_table dd:last-of-type {
    border-bottom: 2px solid var(--border-light);
}

.table_header {
    padding: 30px;
    font-weight: 700;
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.table_content {
    padding: 30px;
    font-weight: 700;
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    line-height: 1.6;
}

.small_text {
    font-size: clamp(1.2rem, 1.8vw, 1.4rem);
    color: var(--text-muted);
    font-weight: 400;
}

/* イベント概要テーブルのレスポンシブ対応 */
@media screen and (max-width: 768px) {
    .overview_table {
        display: block;
        grid-template-columns: none;
    }

    .overview_table dt,
    .overview_table dd {
        display: block;
        border-top: none;
        border-bottom: 1px solid var(--border-light);
    }

    .overview_table dt {
        border-bottom: none;
    }

    .overview_table dt:first-of-type {
        border-top: 1px solid var(--border-light);
    }

    .overview_table dt:last-of-type {
        border-bottom: none;
    }

    .overview_table dd:last-of-type {
        border-bottom: 1px solid var(--border-light);
    }

    .table_header {
        justify-content: flex-start;
        padding: 20px 20px 0 20px;
        margin-bottom: 0;
    }

    .table_content {
        padding: 20px;
        margin-top: 0;
    }

    .overview .btn_cont {
        justify-content: center;
    }

    .overview .btn_gradient {
        padding: 20px 0;
    }
}


/* ---------------------------------------------------------
    フッター
----------------------------------------------------------*/
.footer {
    background: var(--footer-gradient);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 40px;
    padding: 0 0 30px 0;
}

.footer_container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 40px;
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.footer_main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer_logo_text {
    font-family: 'Figtree', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 3vw, 2.4rem);
    line-height: 1.8;
    color: var(--text-primary);
}

.footer_copyright {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.2;
    color: var(--text-primary);
    text-align: center;
}

.footer .nav_menu a {
    color: var(--text-primary);
}

.footer .nav_menu a::before {
    background: var(--text-primary);
}

/* --- フッターのボタンの調整 --- */
.footer .btn_gradient {
    background: transparent;
    padding: 16px 0;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.footer .btn_gradient::before {
    background: var(--button-gradient);
    opacity: 1;
    z-index: -1;
}

.footer .btn_gradient::after {
    background: var(--button-gradient-hover);
    z-index: -2;
}

.footer .btn_gradient:hover::before {
    opacity: 0;
}

.footer .btn_gradient_icon {
    color: var(--white);
    z-index: 2;
}

@media screen and (max-width: 480px) {
    .footer_container {
        gap: 0;
    }

    .footer .btn_gradient:hover::before {
        opacity: 1;
    }
}



/* ---------------------------------------------------------
    プログラム詳細モーダル
----------------------------------------------------------*/
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal[open] {
    display: block;
    opacity: 1;
}

.modal_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal_content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: var(--white);
    border-radius: 0;
    border: none;
    box-shadow: 1px 1px 30px 0px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-sizing: border-box;
}

.modal[open] .modal_content {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* モーダルヘッダー */
.modal_header {
    background: linear-gradient(90deg, var(--primary-main) 0%, var(--secondary-blue) 100%);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    border: none;
    box-sizing: border-box;
}

.modal_header_left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.modal_time {
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    line-height: 1.2;
    color: var(--white);
}

.modal_label {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 2.3rem;
    line-height: 1.2;
    color: var(--white);
}

.modal_header_right {
    display: flex;
    align-items: center;
}

.social_icons {
    display: flex;
    gap: 30px;
}

.social_icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
}

.social_icon::before {
    font-family: 'Font Awesome 6 Brands';
    font-weight: 400;
    font-size: 40px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social_icon.facebook::before {
    content: '\f09a';
}

.social_icon.twitter::before {
    content: '\e61b';
}

@media screen and (max-width: 480px) {
    .program-detail-modal .modal_header_right {
        align-self: flex-end;
    }

    .social_icons {
        gap: 10px;
    }

    .social_icon {
        width: 30px;
        height: 30px;
    }

    .social_icon::before {
        font-size: 28px;
    }
}

/* モーダルボディ */
.modal_body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px 30px 60px;
    margin: 0 auto;
}

/* ボタンセクション */
.modal_buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 0 30px;
}

.btn_apply:hover {
    background: var(--button-gradient-hover);
    transform: translateY(-2px);
}

.btn_close {
    background: transparent;
    border: 1px solid #000;
    color: #000;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 1;
    text-decoration: none;
    padding: 10px 20px 10px 50px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    width: 160px;
    position: relative;
    transition: all 0.3s ease;
}

.btn_close::after {
    content: '\f00d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.btn_close:hover {
    background: #000;
    color: var(--white);
}

/*----------------------------------------------------------
    スピーカー詳細モーダル
----------------------------------------------------------*/
.speaker_detail_modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.speaker_detail_modal[open] {
    display: block;
    opacity: 1;
}


.speaker_detail_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 60px 0;
}

.speaker_detail_main {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 30px;
    padding: 0 100px;
    width: 100%;
    max-width: 1200px;
}

.speaker_content {
    display: flex;
    gap: 40px;
}

.speaker_avatar_large {
    flex-shrink: 0;
    width: 210px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.speaker_avatar_large img {
    border-radius: 50%;
    object-fit: cover;
}

.speaker_logo {
    width: 100%;
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.speaker_logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.speaker_detail_info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.speaker_name_section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #049CA9;
}

.speaker_name_large {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 1;
    color: #000;
    margin: 0;
}

.speaker_company_large {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.4;
    color: #000;
    margin: 0;
}

.speaker_bio {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    line-height: 1.8;
    color: #000;
}

.speaker_bio p {
    margin: 0 0 1em 0;
}

.speaker_bio p:last-child {
    margin-bottom: 0;
}

.speaker_social_icons {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 108px;
}

.speaker_detail_modal .social_icon::before {
    color: var(--primary-main);
}

/*----------------------------------------------------------
    協賛社詳細モーダル
----------------------------------------------------------*/
.sponsor_detail_modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sponsor_detail_modal[open] {
    display: block;
    opacity: 1;
}


.sponsor_detail_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 60px 100px;
}

.sponsor_detail_main {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    position: relative;
}

.sponsor_content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.sponsor_logo_large {
    flex-shrink: 0;
    width: 450px;
    height: 225px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
}

.sponsor_logo_large img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sponsor_detail_info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sponsor_name_section {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 2vw, 20px);
}

.sponsor_name_large {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: clamp(1.4rem, 2vw, 2rem);
    line-height: 1;
    color: #000;
    margin: 0;
}

.sponsor_description {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    line-height: 1.8;
    color: #000;
    margin: 0;
}

.sponsor_url_section {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 2vw, 20px);
}

.sponsor_url_label {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: clamp(1.4rem, 2vw, 2rem);
    line-height: 1;
    color: #000;
    margin: 0;
}

.sponsor_url {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1;
    color: var(--primary-main);
    text-decoration: none;
}

.sponsor_url:hover {
    text-decoration: underline;
}

.sponsor_social_icons {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 108px;
}

.sponsor_detail_modal .social_icon::before {
    color: var(--primary-main);
}


/* レスポンシブ対応 */
@media screen and (max-width: 850px) {

    /* スピーカー詳細モーダル - タブレット */
    .speaker_detail_main {
        padding: 0 40px;
    }

    .speaker_content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .speaker_avatar_large {
        width: 180px;
        align-self: center;
        gap: 20px;
    }

    .speaker_name_large {
        font-size: 1.6rem;
    }

    .speaker_company_large {
        font-size: 1.3rem;
    }

    /* 協賛社詳細モーダル - タブレット */
    .sponsor_detail_container {
        padding: 40px 40px;
    }

    .sponsor_content {
        gap: 20px;
    }

    .sponsor_logo_large {
        width: 300px;
        height: 175px;
    }

    .sponsor_url {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 480px) {
    .modal_content {
        width: 90%;
        max-height: 80vh;
        margin: 20px auto;
    }

    .modal_header {
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .modal_time {
        font-size: 2rem;
    }

    .modal_label {
        font-size: 2rem;
    }

    .modal_body {
        padding: 20px 20px 30px;
    }

    .btn_apply {
        padding: 15px 40px 17px 40px;
        font-size: 1.8rem;
    }

    .modal_time {
        font-size: 1.8rem;
    }

    .modal_label {
        font-size: 1.8rem;
    }

    .modal_buttons {
        gap: 20px;
    }

    .program-detail-modal .modal_buttons {
        margin-top: 20px;
    }

    /* スピーカー詳細モーダル - スマホ */
    .speaker_detail_container {
        padding: 30px 0;
        gap: 30px;
    }

    .speaker_detail_main {
        padding: 0 20px;
        gap: 10px;
    }

    .speaker_content {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .speaker_avatar_large {
        width: 150px;
        align-self: center;
        gap: 5px;
    }

    .speaker_name_large {
        font-size: 1.4rem;
    }

    .speaker_company_large {
        font-size: 1.2rem;
        line-height: 1.5;
    }

    .speaker_bio {
        text-align: left;
    }

    .speaker_social_icons {
        gap: 10px;
        justify-content: center;
        width: auto;
    }

    /* 協賛社詳細モーダル - スマホ */
    .sponsor_detail_container {
        padding: 30px 20px;
        gap: 30px;
    }

    .sponsor_content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .sponsor_logo_large {
        width: 280px;
        height: 140px;
        align-self: center;
    }

    .sponsor_name_large {
        text-align: left;
    }

    .sponsor_description {
        text-align: left;
    }

    .sponsor_url_section {
        text-align: left;
    }

    .sponsor_url {
        font-size: 1.4rem;
        word-break: break-all;
    }


    .btn_close {
        padding: 10px 20px 10px 55px;
        font-size: 1.4rem;
    }
}

/* ==========================================================================
   詳細ページ共通スタイル
   ========================================================================== */

/* 
 * 詳細ページはモーダルのスタイルを再利用
 * body.detail-page で詳細ページ固有のスタイルをオーバーライド可能
 * body.detail-page--session / --speaker / --sponsor で各ページ固有のスタイル
 */

/* 詳細ページ共通レイアウト */
body.detail-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.detail-page__main {
    padding-top: 120px;
    flex: 1 0 auto;
}

body.detail-page .footer {
    flex-shrink: 0;
}

.detail-page__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 100px;
}

/* 詳細ページでは .modal_content を通常表示（モーダル用のスタイルを上書き） */
body.detail-page .program-detail-modal {
    display: block !important;
    position: static;
    opacity: 1;
    width: auto;
    height: auto;
    z-index: auto;
}

body.detail-page .program-detail-modal .modal_content {
    position: static;
    transform: none;
    opacity: 1;
    max-height: none;
    overflow: visible;
    background: var(--white);
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    top: auto;
    left: auto;
}

.btn_back:hover {
    color: var(--primary-main);
}

/* スピーカー詳細ページ（モーダルのスタイルを再利用） */
body.detail-page--speaker .speaker_detail_modal {
    display: block !important;
    position: static;
    opacity: 1;
    width: auto;
    height: auto;
    z-index: auto;
}

body.detail-page--speaker .speaker_detail_modal .modal_content {
    position: static;
    transform: none;
    opacity: 1;
    max-height: none;
    overflow: visible;
    background: var(--white);
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    top: auto;
    left: auto;
}

/* 共催社詳細ページ（モーダルのスタイルを再利用） */
body.detail-page--sponsor .sponsor_detail_modal {
    display: block !important;
    position: static;
    opacity: 1;
    width: auto;
    height: auto;
    z-index: auto;
}

body.detail-page--sponsor .sponsor_detail_modal .modal_content {
    position: static;
    transform: none;
    opacity: 1;
    max-height: none;
    overflow: visible;
    background: var(--white);
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    top: auto;
    left: auto;
}

/* 詳細ページ共通ボタンスタイル */
.detail-page .page_buttons {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

/* 詳細ページのボタン修正（z-index問題対応） */
.detail-page .modal_buttons .btn_gradient,
.detail-page .page_buttons .btn_gradient {
    z-index: 0;
    isolation: isolate;
}

/* 詳細ページ レスポンシブ */
@media screen and (max-width: 768px) {
    .detail-page__main {
        padding-top: 80px;
    }

    .detail-page__container {
        padding: 30px 15px 60px;
    }

}