@charset "utf-8";
/* 下階層ページ用CSS */

/* ヘッダーロゴリンク */
.logo a {
    color: white;
    text-decoration: none;
}

.logo a:hover {
    opacity: 0.8;
}

/* パンくずリスト */
.breadcrumb {
    margin: 20px 20px 0 20px;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #2c5aa0;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    font-size: 14px;
    color: #6c757d;
}

.breadcrumb-item:not(:last-child)::after {
    content: '>';
    margin-left: 8px;
    color: #adb5bd;
}

.breadcrumb-item a {
    color: #2c5aa0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #1e3f73;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #495057;
    font-weight: 600;
}

/* タイトルバナー */
.page-title-banner {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3f73 100%);
    color: white;
    padding: 10px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
	max-width: 300px;
	margin: 0 auto;
}

.page-title-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: url('../img/title-pattern.png') repeat;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.page-title-content {
    position: relative;
    z-index: 2;
}

.page-title-ja {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-title-en {
    font-size: 18px;
    opacity: 0.9;
    font-style: italic;
    font-weight: 300;
    letter-spacing: 1px;
}

/* メインコンテンツ */
.main-content {
    flex: 1;
    background-color: transparent;
    width: 1000px;
    position: relative;
    padding-bottom: 50px;
    padding-top: 30px;
    height: auto;
}

.content-wrapper {
    background-color: white;
    margin: 0 20px 30px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.page-content {
    padding: 40px;
}

/* ========== 共通コンテンツスタイル ========== */

/* コンテンツエリア共通 */
.greeting-content,
.sammary-content,
.program-content,
.presenters-content,
.participants-content,
.abstracts-content,
.sponsorship-content,
.news-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* 共通見出しスタイル */
.page-content h2,
.greeting-content h2,
.sammary-content h2,
.program-content h2,
.presenters-content h2,
.participants-content h2,
.abstracts-content h2,
.sponsorship-content h2,
.news-content h2 {
    font-size: 24px;
    color: #2c5aa0;
    margin: 50px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    position: relative;
    scroll-margin-top: 120px;
}

.page-content h2::after,
.greeting-content h2::after,
.sammary-content h2::after,
.program-content h2::after,
.presenters-content h2::after,
.participants-content h2::after,
.abstracts-content h2::after,
.sponsorship-content h2::after,
.news-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #2c5aa0;
}

/* 最初のh2調整 */
.page-content h2:first-of-type,
.greeting-content h2:first-of-type,
.sammary-content h2:first-of-type,
.program-content h2:first-of-type,
.presenters-content h2:first-of-type,
.participants-content h2:first-of-type,
.abstracts-content h2:first-of-type,
.sponsorship-content h2:first-of-type,
.news-content h2:first-of-type {
    margin-top: 0;
}

/* 共通h3スタイル */
.page-content h3,
.greeting-content h3,
.sammary-content h3,
.program-content h3,
.presenters-content h3,
.participants-content h3,
.abstracts-content h3,
.sponsorship-content h3,
.news-content h3 {
    font-size: 18px;
    color: #495057;
    margin: 20px 0 15px 0;
    font-weight: 600;
    padding: 15px 20px;
    background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #2c5aa0;
    border-radius: 0 8px 8px 0;
}

/* 共通pタグスタイル */
.page-content p,
.greeting-content p,
.sammary-content p,
.program-content p,
.presenters-content p,
.participants-content p,
.abstracts-content p,
.sponsorship-content p,
.news-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 20px;
}

/* ========== 共通ボタンスタイル ========== */

/* ページ内リンクボタンエリア */
.btn-area {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0 50px 0;
    flex-wrap: wrap;
}

.btn-area div {
    flex: 1;
    min-width: 180px;
    max-width: 250px;
}

.btn-area a {
    display: block;
    padding: 15px 25px;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3f73 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-area a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-area a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.4);
    background: linear-gradient(135deg, #1e3f73 0%, #2c5aa0 100%);
}

.btn-area a:hover::before {
    left: 100%;
}

.btn-area a:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(44, 90, 160, 0.3);
}

.btn-area a:focus {
    outline: 3px solid #ffc107;
    outline-offset: 2px;
}

/* ========== ページ固有スタイル ========== */

/* 開催概要ページ - テーブル */
.sammary-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0 50px 0;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.sammary-content table th {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3f73 100%);
    color: white;
    padding: 20px 25px;
    text-align: left;
    font-weight: 700;
    font-size: 16px;
    width: 180px;
    vertical-align: top;
}

.sammary-content table td {
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
    font-size: 16px;
    line-height: 1.6;
    color: #495057;
    background-color: #fafbfc;
}

.sammary-content table tr:last-child td {
    border-bottom: none;
}

.sammary-content table tr:hover td {
    background-color: #f1f3f4;
    transition: background-color 0.3s ease;
}

/* 大会長挨拶ページ */
.greeting-content {
    max-width: 800px;
}

.president-info {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 15px;
    align-items: center;
}

.president-photo {
    flex-shrink: 0;
}

.president-photo img {
    width: 150px;
    height: auto;
}

.president-details {
    text-align: left;
	transform: translateY(-10px);
}

.president-details p{
	margin-bottom: 0;
}
.president-name {
    font-size: 16px;
    color: #495057;
    font-weight: 600;
}

.president-title {
    font-size: 14px;
    color: #495057;
    font-weight: 600;
}

.greeting-text {
    line-height: 1.8;
    font-size: 16px;
    color: #495057;
	text-align: justify;
}
.president-wrap {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    border-bottom: dotted 3px #2c5aa0;
    margin-bottom: 20px;
    padding-bottom: 20px;
}



/* 更新日時の注記 */
.program-content > p:first-child,
.presenters-content > p:first-child,
.participants-content > p:first-child,
.abstracts-content > p:first-child,
.sponsorship-content > p:first-child,
.news-content > p:first-child {
    text-align: right;
    font-size: 14px;
    color: #6c757d;
    font-style: italic;
    margin-bottom: 30px;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #ffc107;
}

/* 演題登録期間表示用h3 */
.presenters-content h3 {
    background: linear-gradient(90deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 4px solid #ffc107;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
}

/* ========== 共通機能 ========== */

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}

/* ページ内リンクのハイライト */
h2:target {
    animation: highlight 2s ease-in-out;
}

@keyframes highlight {
    0% {
        background-color: rgba(44, 90, 160, 0.1);
        transform: scale(1.02);
    }
    50% {
        background-color: rgba(44, 90, 160, 0.05);
    }
    100% {
        background-color: transparent;
        transform: scale(1);
    }
}

/* ========== レスポンシブ対応 ========== */

@media (max-width: 1320px) {
    .main-content {
        max-width: calc(100vw - 300px);
        width: auto;
    }
}

@media (max-width: 1024px) {
    .main-content {
        margin-left: 250px;
        max-width: calc(100vw - 270px);
        width: auto;
    }
    
    .content-wrapper {
        margin: 0 15px 25px 15px;
    }
}

@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
        max-width: 100%;
        width: 100%;
        padding-bottom: 30px;
        padding-top: 20px;
    }
    
    .breadcrumb {
        margin: 15px 10px 0 10px;
        padding: 10px 15px;
    }
    
    .breadcrumb-item {
        font-size: 12px;
    }
    
    .page-title-banner {
        padding: 25px 20px;
		margin-top: 20px;
    }
    
    .page-title-ja {
        font-size: 24px;
    }
    
    .page-title-en {
        font-size: 14px;
    }
    
    .content-wrapper {
        margin: 0 10px 20px 10px;
        border-radius: 10px;
    }
    
    .page-content {
        padding: 25px 20px;
    }
    
    /* 共通見出し */
    .page-content h2,
    .greeting-content h2,
    .sammary-content h2,
    .program-content h2,
    .presenters-content h2 {
        font-size: 20px;
        margin: 30px 0 15px 0;
        scroll-margin-top: 100px;
    }
    
    .page-content h3,
    .greeting-content h3,
    .sammary-content h3,
    .program-content h3,
    .presenters-content h3 {
        font-size: 16px;
        padding: 12px 15px;
        margin: 15px 0 12px 0;
    }
    
    .page-content p,
    .greeting-content p,
    .sammary-content p,
    .program-content p,
    .presenters-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    /* ボタンエリア */
    .btn-area {
        flex-direction: column;
        gap: 10px;
        margin: 30px 0 40px 0;
    }
    
    .btn-area div {
        min-width: auto;
        max-width: none;
    }
    
    .btn-area a {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* ページ固有 */
    .sammary-content table {
        margin: 20px 0 30px 0;
        font-size: 14px;
    }
    
    .sammary-content table th,
    .sammary-content table td {
        padding: 15px 12px;
        font-size: 14px;
    }
    
    .president-info {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }
    
    .president-photo img {
        width: 120px;
        height: 144px;
    }
    

    
    .program-content > p:first-child,
    .presenters-content > p:first-child {
        font-size: 12px;
        padding: 8px 12px;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        margin: 10px 5px 0 5px;
        padding: 8px 12px;
    }
    
    .page-title-banner {
        padding: 20px 15px;
		margin-top: 20px;
    }
    
    .page-title-ja {
        font-size: 20px;
    }
    
    .page-title-en {
        font-size: 12px;
    }
    
    .content-wrapper {
        margin: 0 5px 15px 5px;
    }
    
    .page-content {
        padding: 20px 15px;
    }
    
    /* 共通見出し */
    .page-content h2,
    .greeting-content h2,
    .sammary-content h2,
    .program-content h2,
    .presenters-content h2 {
        font-size: 18px;
        margin: 25px 0 12px 0;
        scroll-margin-top: 90px;
    }
    
    .page-content h3,
    .greeting-content h3,
    .sammary-content h3,
    .program-content h3,
    .presenters-content h3 {
        font-size: 14px;
        padding: 10px 12px;
        margin: 12px 0 10px 0;
    }
    
    .page-content p,
    .greeting-content p,
    .sammary-content p,
    .program-content p,
    .presenters-content p {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    /* ボタンエリア */
    .btn-area {
        margin: 20px 0 30px 0;
        gap: 8px;
    }
    
    .btn-area a {
        padding: 10px 15px;
        font-size: 13px;
        border-radius: 6px;
    }
    
    /* ページ固有 */
    .sammary-content table th {
        width: 100px;
        padding: 12px 8px;
        font-size: 12px;
    }
    
    .sammary-content table td {
        padding: 12px 8px;
        font-size: 12px;
        min-width: 200px;
    }
    
    .president-info {
        padding: 15px;
    }
    
    .greeting-text {
        font-size: 13px;
        line-height: 1.7;
    }
    
    .program-content > p:first-child,
    .presenters-content > p:first-child {
        font-size: 11px;
        padding: 6px 10px;
    }
}

/* 印刷用スタイル */
@media print {
    .sidebar,
    .breadcrumb,
    .page-title-banner,
    .btn-area {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .page-content {
        padding: 0;
    }
    
    .sammary-content table {
        box-shadow: none;
        border: 2px solid #333;
    }
    
    .sammary-content table th {
        background: #f0f0f0 !important;
        color: #333 !important;
        border: 1px solid #333;
    }
    
    .sammary-content table td {
        border: 1px solid #333;
        background: white !important;
    }
    
    h2 {
        color: #333;
        border-bottom: 2px solid #333;
        page-break-after: avoid;
    }
}

@media (max-width: 768px) {
    /* 共通見出し */
    .page-content h2,
    .greeting-content h2,
    .sammary-content h2,
    .program-content h2,
    .presenters-content h2,
    .participants-content h2,
    .abstracts-content h2,
    .sponsorship-content h2,
    .news-content h2 {
        font-size: 20px;
        margin: 30px 0 15px 0;
        scroll-margin-top: 100px;
    }
    
    .page-content h3,
    .greeting-content h3,
    .sammary-content h3,
    .program-content h3,
    .presenters-content h3,
    .participants-content h3,
    .abstracts-content h3,
    .sponsorship-content h3,
    .news-content h3 {
        font-size: 16px;
        padding: 12px 15px;
        margin: 15px 0 12px 0;
    }
    
    .page-content p,
    .greeting-content p,
    .sammary-content p,
    .program-content p,
    .presenters-content p,
    .participants-content p,
    .abstracts-content p,
    .sponsorship-content p,
    .news-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .program-content > p:first-child,
    .presenters-content > p:first-child,
    .participants-content > p:first-child,
    .abstracts-content > p:first-child,
    .sponsorship-content > p:first-child,
    .news-content > p:first-child {
        font-size: 12px;
        padding: 8px 12px;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    /* 共通見出し */
    .page-content h2,
    .greeting-content h2,
    .sammary-content h2,
    .program-content h2,
    .presenters-content h2,
    .participants-content h2,
    .abstracts-content h2,
    .sponsorship-content h2,
    .news-content h2 {
        font-size: 18px;
        margin: 25px 0 12px 0;
        scroll-margin-top: 90px;
    }
    
    .page-content h3,
    .greeting-content h3,
    .sammary-content h3,
    .program-content h3,
    .presenters-content h3,
    .participants-content h3,
    .abstracts-content h3,
    .sponsorship-content h3,
    .news-content h3 {
        font-size: 14px;
        padding: 10px 12px;
        margin: 12px 0 10px 0;
    }
    
    .page-content p,
    .greeting-content p,
    .sammary-content p,
    .program-content p,
    .presenters-content p,
    .participants-content p,
    .abstracts-content p,
    .sponsorship-content p,
    .news-content p {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .program-content > p:first-child,
    .presenters-content > p:first-child,
    .participants-content > p:first-child,
    .abstracts-content > p:first-child,
    .sponsorship-content > p:first-child,
    .news-content > p:first-child {
        font-size: 11px;
        padding: 6px 10px;
    }
}

/* 講演情報のレイアウト */
#lecture {
    margin-top: 40px;
}

#lecture h3 {
    background: #f8f9fa;
    padding: 12px 20px;
    margin: 30px 0 20px 0;
    border-left: 4px solid #007bff;
    font-size: 1.2em;
    font-weight: bold;
}

#lecture dl {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* デスクトップ時：横並びレイアウト */
@media (min-width: 769px) {
    #lecture dl {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 15px 20px;
        align-items: start;
    }
    
    #lecture dt {
        background: #f1f3f4;
        color: #333;
        font-weight: bold;
        padding: 8px 12px;
        border-radius: 4px;
        font-size: 0.95em;
        text-align: center;
        min-width: 80px;
        margin: 0;
    }
    
    #lecture dd {
        margin: 0;
        padding: 8px 0;
        line-height: 1.6;
        color: #555;
    }
}

/* モバイル時：縦並びレイアウト */
@media (max-width: 768px) {
    #lecture dt {
        background: #f1f3f4;
        color: #333;
        font-weight: bold;
        padding: 8px 12px;
        margin: 0 0 8px 0;
        border-radius: 4px;
        font-size: 0.95em;
        display: inline-block;
        min-width: 60px;
        text-align: center;
    }
    
    #lecture dd {
        margin: 0 0 15px 0;
        padding: 5px 0;
        line-height: 1.6;
        color: #555;
    }
    
    #lecture dd:last-child {
        margin-bottom: 0;
    }
}