﻿/* =========================================================
   基本設定
========================================================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Helvetica Neue",
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic",
        Meiryo,
        sans-serif;

    color: #333;
    line-height: 1.7;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

/* =========================================================
   ヘッダー
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.header-container {
    max-width: 1200px;
    height: 120px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/*.site-logo a {
    color: #003366;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
}*/

/* =========================================================
   ヘッダーロゴ
========================================================= */

.site-logo a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #003366;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.4rem;
}

.site-logo img {
    width: 222px;
    max-width: 90%;
    height: auto;
    display: block;
}

/* =========================================================
   PC：ヘッダータイトル
========================================================= */

@media (min-width: 769px) {

    .site-logo span {
        white-space: normal;
        line-height: 1.2;
    }

}

/* =========================================================
   PC：狭い画面のヘッダータイトル
========================================================= */

@media (min-width: 769px) and (max-width: 950px) {

    .site-logo a {
        font-size: 1.2rem;
    }

}

/* =========================================================
   PCナビ
========================================================= */

.pc-nav ul {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pc-nav a {
    display: block;
    padding: 10px 0;
    color: #003366;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.pc-nav a:hover {
    color: #0088aa;
}


/* =========================================================
   ハンバーガー
========================================================= */

.hamburger {
    display: none;
    width: 42px;
    height: 42px;
    padding: 7px;
    border: none;
    background: transparent;
    cursor: pointer;
}

/*.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px auto;
    background: #003366;
    border-radius: 2px;
}*/
.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px auto;
    background: #003366;
    border-radius: 2px;
}


/* =========================================================
   スマホメニュー
========================================================= */

#mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    padding: 80px 25px 30px;
    background: #fff;
    box-shadow: -5px 0 20px rgba(0,0,0,0.15);
    transition: right 0.3s ease;
    z-index: 2000;
}

#mobile-nav.active {
    right: 0;
}

#mobile-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#mobile-nav li {
    border-bottom: 1px solid #e5e7eb;
}

#mobile-nav a {
    display: block;
    padding: 16px 10px;
    color: #003366;
    text-decoration: none;
    font-weight: bold;
}

.menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #003366;
    font-size: 2rem;
    cursor: pointer;
}


/* =========================================================
   メインビジュアル
========================================================= */

.hero {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url("images/lecture-header_fontless.jpg");
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    max-width: 900px;
    /*margin: 20px;*/
    margin: 10px auto 20px;
    padding: 40px 50px;
    background: rgba(255,255,255,0.90);
    border-radius: 12px;
    border-left: 5px solid #003366;
    box-shadow: 0 8px 30px rgba(0, 51, 102, 0.15);
    /*box-shadow: 0 8px 30px rgba(0,0,0,0.15); */
    box-sizing: border-box;
}

.hero-subtitle {
    margin: 0 0 10px;
    color: #006b8f;
    font-size: 1.1rem;
    font-weight: bold;
}

.hero h1 {
    margin: 0;
    color: #003366;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.3;
}

/*.hero-date {
    margin: 25px 0 5px;
    font-size: 1.3rem;
    font-weight: bold;
}

.hero-place {
    margin: 0;
    color: #555;
}*/

.hero-date {
    font-size: 1.6rem;
    font-weight: bold;
    margin: 5px 0;
    letter-spacing: 0;
}

.hero-time {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 2px 0;
    letter-spacing: 0;
}

.hero-place {
    font-size: 1rem;
}
.hero-info p {
    margin: 2px 0;
    line-height: 1.3;
}


/* =========================================================
   セクション共通
========================================================= */

.section {
    padding: 90px 20px;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 45px;
    background: rgba(255,255,255,0.94);
    border-radius: 14px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

/*.section h2 {
    margin: 0 0 35px;
    color: #003366;
    font-size: 2rem;
    border-left: 6px solid #00a6c7;
    padding-left: 15px;
}*/



.section h2,
.section h2 mark{
  font-family: ui-rounded, sans-serif;
}
.section h2 {
  clear: both;
    margin: 0 0 35px;
  padding-bottom: 0.2rem;
    font-size: 2rem;
    border-left: 6px solid #00a6c7;
    padding-left: 15px;
  font-weight: bold;
    color: #003366;
}

.section h2 mark {
  display: inline-block;
  position: relative;
  padding-bottom: 0.2rem;
  background-color: #fff;
  /* text-shadow: 0 0 10px #ffff93; */
  text-shadow: 0 0 10px #e6a04b;
}

.section h2  mark::after {
  display: block;
  position: absolute;
  width: 0;
  bottom: 0;
  left: 50%;
  height: 1px;
  background-color: #000;
  content: "";
  transition: .5s all;
}

.section h2  mark:hover::after {
  width: 100%;
  left: 0;
}



.section-lead {
    text-align: center;
    margin-bottom: 35px;
    color: #555;
}


/* =========================================================
   概要
========================================================= */

.overview-section {
    background-image:
        url("images/lecture-overview.jpg");
    background-size: cover;
    background-position: center;
}

.event-info {
    margin-top: 35px;
}

.event-info div {
    display: grid;
    grid-template-columns: 140px 1fr;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 0;
}

.event-info dt {
    font-weight: bold;
    color: #003366;
}

.event-info dd {
    margin: 0;
}


/* =========================================================
   プログラム
========================================================= */

.program-section {
    background-image:
        url("images/lecture-program.jpg");
    background-size: cover;
    background-position: center;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.program-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    /*box-shadow: 0 4px 12px rgba(0,0,0,0.08);*/
    box-shadow: 0 4px 14px rgba(0, 51, 102, 0.10);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.program-card:hover {
    /*transform:
        translateY(-5px);
    box-shadow:
        0 10px 25px rgba(0,0,0,0.15);*/
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 51, 102, 0.16);
}

.program-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.program-info {
    padding: 18px;
}

.program-time {
    /*margin: 0 0 5px;
    color: #0084a8;
    font-size: 0.85rem;
    font-weight: bold;*/
    margin: 0;
    color: #006699;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.program-info h3 {
    /*margin: 0 0 5px;
    color: #003366;
    font-size: 1.05rem;*/
    margin: 6px 0 8px;
    color: #003366;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.speaker-name {
    margin: 0;
    font-weight: bold;
}
.speaker-affiliation {
    margin: 4px 0 0;
    font-size: 0.9rem;
    color: #475569;
}


/* =========================================================
   会場
========================================================= */

.venue-section {
    background-image:
        url("images/lecture-access.jpg");
    background-size: cover;
    background-position: center;
}

.venue-content h3 {
    color: #003366;
    margin-top: 25px;
}

.map-wrapper {
    width: 100%;
    margin-top: 25px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


/* =========================================================
   お問い合わせ
========================================================= */

.contact-section {
    background-image:
        url("images/lecture-footer.jpg");

    background-size: cover;
    background-position: center;
}

.contact-box {
    padding: 25px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.contact-box h3 {
    margin-top: 0;
    color: #003366;
}


/* =========================================================
   主催・後援
========================================================= */

.organizer-section {
    background-image:
        url("images/lecture-organizer.jpg");

    background-size: cover;
    background-position: center;
}

.organizer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.organizer-block {
    padding: 25px;
    background: rgba(255,255,255,0.95);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.organizer-block h3 {
    margin-top: 0;
    color: #003366;
    font-size: 1.2rem;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 8px;
}

.organizer-block p {
    margin: 8px 0;
}


/* =========================================================
   ポップアップ
========================================================= */

.speaker-modal {
    width: min(700px, 90vw);
    max-height: 90vh;
    padding: 35px;
    border: none;
    border-radius: 14px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    overflow-y: auto;
}

.speaker-modal::backdrop {
    background:
        rgba(0,0,0,0.65);
}

.speaker-modal img {
    display: block;
    width: 220px;
    margin: 0 auto 25px;
    border-radius: 8px;
}

.speaker-modal h2 {
    margin-bottom: 5px;
    color: #003366;
    text-align: center;
}

.speaker-modal h3 {
    color: #003366;
    margin-top: 25px;
}

.modal-affiliation {
    text-align: center;
    color: #64748b;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #003366;
    font-size: 2rem;
    cursor: pointer;
}


/* =========================================================
   フッター
========================================================= */

.site-footer {
    padding: 45px 20px 25px;
    background: #003366;
    color: #fff;
    text-align: center;
}

.sns-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
}

.sns-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.official-site {
    margin-bottom: 25px;
}

.official-site a {
    color: #fff;
    text-decoration: none;
}

.copyright {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.8;
}


/* =========================================================
   スマホ
========================================================= */

@media (max-width: 768px) {

    .header-container {
        height: 70px;
        padding: 0 15px;
}

    /*.site-logo a {
        font-size: 1rem;
    }*/

    .pc-nav {
        display: none;
}

    .hamburger {
        /*display: block;*/
    display: flex !important;
        flex-direction: column;
}

    .section {
        padding: 55px 15px;
}

    .section-inner {
        padding: 25px 18px;
}

    .section h2 {
        font-size: 1.5rem;
}

    .hero {
        min-height: 500px;
        background-position: center center;
}

    .hero-overlay {
        padding: 25px 18px;
}

    .hero h1 {
        font-size: clamp(1.8rem, 8vw, 2.6rem);
}

    .hero-date {
        font-size: 1rem;
}

    .program-grid {
        grid-template-columns: 1fr;
}

    .event-info div {
        grid-template-columns: 1fr;
        gap: 4px;
}

    .speaker-modal {
        width: 90vw;
        padding: 30px 20px;
}

    .speaker-modal img {
        width: 180px;
}

    .sns-links {
        gap: 15px;
}

    .organizer-content {
        grid-template-columns: 1fr;
}
    /*.site-logo a {
        gap: 8px;
        font-size: 1rem;
}

    .site-logo img {
        width: 150px;
        height: auto;
    }*/

     .site-logo {
        min-width: 0;
        flex: 1;
}

    .site-logo a {
        min-width: 0;
        gap: 8px;
        font-size: 1rem;
}

    .site-logo img {
        width: 130px;
        height: auto;
        flex-shrink: 1;
}

    .hamburger {
        display: flex !important;
        flex-direction: column;
        flex-shrink: 0;
}    

}


/* =========================================================
   スマホ横向き対応
========================================================= */

@media (orientation: landscape) and (max-height: 600px) {

    .pc-nav {
        display: none;
}

    .hamburger {
    display: flex !important;
        flex-direction: column;
}
        #mobile-nav {
        max-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
}

}


/* =========================================================
ハンバーガー表示確認 
=========================================================*/
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
        flex-direction: column !important;
        width: 42px;
        height: 42px;
        flex-shrink: 0;
    }
}

@media (orientation: landscape) and (max-height: 600px) {
    .hamburger {
        display: flex !important;
        flex-direction: column !important;
        width: 42px;
        height: 42px;
        flex-shrink: 0;
    }
}


/* =========================================================
   TOPへ戻るボタン
========================================================= */

.to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 70px;
    height: 50px;
    border: none;
    border-radius: 50% 50% 45% 45%;
    background: #e0f2fe;
    color: #003366;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    z-index: 900;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

/* 雲らしいふくらみ */
.to-top::before,
.to-top::after {
    content: "";
    position: absolute;
    background: #e0f2fe;
    border-radius: 50%;
    z-index: -1;
}

.to-top::before {
    width: 32px;
    height: 32px;
    left: 10px;
    top: -10px;
}

.to-top::after {
    width: 25px;
    height: 25px;
    right: 10px;
    top: -7px;
}

.to-top:hover {
    transform: translateY(-4px);
    box-shadow:
        0 6px 14px rgba(0,0,0,0.2);
}

/* スマホ */
@media (max-width: 768px) {

    .to-top {
        right: 12px;
        bottom: 15px;

        width: 60px;
        height: 44px;

        font-size: 0.75rem;
}

}
/* ロゴマーク */
.sns-links img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 7px;
    box-sizing: border-box;
}

.official-site img {
    width: 220px;
    height: auto;
}


/* =========================================================
   プログラム追加レイアウト
========================================================= */

/* オープニング・挨拶 */
.program-single {
    margin-bottom: 20px;
}

/* 講演1・講演2を横並び */
.program-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /*gap: 20px;*/
    gap: 8px;
    margin-bottom: 20px;
}

/* 写真なしカード 
.program-card-text {
    cursor: default;
}*/
/* 写真なしカード 質疑応答 */
.program-card-text {
    border: 1px solid rgba(0, 51, 102, 0.15);
    border-left: 5px solid #006699;
    background: #f8fafc;
    box-shadow: none;
}

.program-card-text .program-info {
    padding: 18px 22px;
}

.program-card-text h3 {
    margin: 0;
    color: #003366;
}

/* Break Time */
.program-break {
    /*border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    color: #003366;*/
    margin: 25px 0;
    padding: 14px 20px;
    text-align: center;
    border-top: 1px dashed rgba(0, 51, 102, 0.25);
    border-bottom: 1px dashed rgba(0, 51, 102, 0.25);
    color: #64748b;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
}

/* 出演者 */
.program-label {
    margin: 10px 0 5px;
    font-weight: bold;
    color: #003366;
}


/* =========================================================
   スマホ
========================================================= */

@media (max-width: 768px) {

    .program-row {
        grid-template-columns: 1fr;
        gap: 15px;
}

}


/* =========================================================
   講演写真のサイズ調整
========================================================= */

.program-row .program-image {
    text-align: center;
}

.program-row .program-image img {
    /*width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 70%; 丸*/
    width: 250px;
    height: 290px;
    object-fit: cover;
    border-radius: 8px;
}


/* =========================================================
   スマホ縦画面：人物写真の切れ防止
========================================================= */

@media (max-width: 768px) {

    .program-row .program-image img {
        width: 250px;
        height: auto;
        object-fit: contain;
}

}


/* =========================================================
   講演カード：写真の下に情報
========================================================= */

.program-row .program-card {
    display: block;
}

.program-row .program-image {
    text-align: center;
}

.program-row .program-image img {
    display: block;
    margin: 0 auto;
}

.program-row .program-info {
    margin-top: 2px;
    text-align: left;
}

/* =========================================================
   PC：顔写真付きカードを横長にする
========================================================= */

@media (min-width: 769px) {

    .program-row {
        grid-template-columns: 1fr;
    }

    .program-row .program-card {
        display: grid;
        grid-template-columns: 175px 1fr;
        align-items: center;
        gap: 20px;
        padding: 8px 15px;
    }

    .program-row .program-image {
        text-align: center;
    }

    .program-row .program-image img {
        width: 150px;
        height: auto;
        max-width: 100%;
        object-fit: contain;
        border-radius: 8px;
    }

    .program-row .program-info {
        text-align: left;
    }

}


/* =========================================================
   PC画面を左右分割したとき
========================================================= */

@media (min-width: 600px) and (max-width: 768px) and (min-height: 700px) {

    .program-row .program-card {
        grid-template-columns: 115px 1fr;
    }

    .program-row .program-image img {
        width: 95px;
    }

}
/* =========================================================
   狭いPC画面（697px前後）
========================================================= */

@media (min-width: 500px) and (max-width: 768px) {

    .program-row {
        grid-template-columns: 1fr;
    }

    .program-row .program-card {
        display: grid;
        grid-template-columns: 115px 1fr;
        align-items: center;
        gap: 14px;
        padding: 8px 15px;
    }

    .program-row .program-image {
        text-align: center;
    }

    .program-row .program-image img {
        width: 95px;
        height: auto;
        max-width: 100%;
        object-fit: contain;
        border-radius: 8px;
    }

    .program-row .program-info {
        text-align: left;
    }

}
/* =========================================================
   タイトルとメニューを調整
========================================================= */
@media (min-width: 769px) and (max-width: 950px) {

    .header-container {
        align-items: flex-start;
    }

    .site-logo {
        padding-top: 10px;
    }

    .pc-nav {
        padding-top: 59px;
    }

}