@charset "utf-8";

/* ==========================================================================
   SGEPSS専用スタイル
   ========================================================================== */

/* カラーパレット */
:root {
    --sgepss-green: #3F7A36;
    --sgepss-blue: #4b64b0;
    --sgepss-navy: #003366;
    --sgepss-red: #C33;
    --sgepss-yellow: #FFD412;
    --sgepss-light-blue: #6c8ffc;
    --sgepss-light-green: #549A62;
    --sgepss-gradient-start: #CDE7C9;
    --sgepss-gradient-end: #FFF;
    --sgepss-border-light: #84aed2;
    --sgepss-border-dark: #2c5170;
}

/* ==========================================================================
   SGEPSSヘッダー
   ========================================================================== */

#header {
    border-top: 15px solid var(--sgepss-green);
    border-bottom: 2px solid var(--sgepss-green);
}

#header h1 {
    font-size: 170%;
    color: var(--sgepss-navy);
    background: linear-gradient(var(--sgepss-gradient-start), var(--sgepss-gradient-end));
    line-height: 1.5em;
}

.header-logo p {
    margin: 10px auto 30px auto;
}

.header-info p {
    margin: 10px 0;
    line-height: 0.5em;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}

/* ==========================================================================
   SGEPSSコンテンツ
   ========================================================================== */

.announce-date {
    font-size: 140%;
    color: var(--sgepss-red);
    text-align: center;
    font-weight: bold;
    line-height: 150%;
}

.announce-detail {
    font-size: 110%;
    text-align: center;
    line-height: 120%;
    padding: 20px 0;
}

.txtb_navyblue {
    color: #006;
    font-weight: bold;
    display: block;
}

/* ==========================================================================
   SGEPSSフッター
   ========================================================================== */

#footer {
    border-bottom: 10px solid var(--sgepss-green);
    background: var(--sgepss-blue);
    color: #fff;
}

footer {
    background: var(--sgepss-blue);
    color: #fff;
}

/* ==========================================================================
   SGEPSSナビゲーション
   ========================================================================== */

.nav {
    margin: 20px auto;
    background: var(--sgepss-blue);
    border-top: 2px solid var(--sgepss-border-light);
    border-bottom: 2px solid var(--sgepss-border-dark);
    border-radius: 5px;
    overflow: hidden;
}

.nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-list li {
    flex: 1;
    min-width: 80px;
}

.nav-list li a {
    display: block;
    padding: 12px 8px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    text-align: center;
    border-right: 1px solid var(--sgepss-border-dark);
    transition: background-color 0.3s ease;
}

.nav-list li:last-child a {
    border-right: none;
}

.nav-list li a:hover {
    background-color: #5e91bd;
    color: var(--sgepss-yellow);
}

.navigation {

  padding: 0 10px; /* 内側の余白 */
  text-align: right;
}

.back-link {
  text-align: right;
}

.top-link {
  text-align: right;
}



/* ==========================================================================
   SGEPSSセッション詳細
   ========================================================================== */

.session-details {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

.session-details th {
    background-color: var(--sgepss-blue);
    color: #fff;
    padding: 12px;
    border: 1px solid #ccc;
    font-weight: bold;
    text-align: left;
    width: 20%;
}

.session-details td {
    padding: 12px;
    border: 1px solid #ccc;
    vertical-align: top;
    line-height: 1.6;
    text-align: left;
}

.session-number {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
	    text-align: left;

}

.session-info {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
	    text-align: left;

}

.session-title {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
	    text-align: left;

}

/* ==========================================================================
   SGEPSSプレゼンテーションテーブル
   ========================================================================== */

.oral-presentations {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
	    text-align: left;
}

.presentation-notes {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
	    text-align: right;
}

.poster-presentations {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
	    text-align: left;
}

.presentation-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.presentation-table th {
    background-color: #f5f5f5;
    padding: 10px;
    border: 1px solid #ccc;
    font-weight: bold;
    text-align: center;
}

.presentation-table td {
    padding: 8px;
    border: 1px solid #ccc;
    vertical-align: top;
}

.presentation-table caption {
    font-weight: bold;
    margin-bottom: 10px;
    padding: 5px;
    background-color: #f0f0f0;
    text-align: left;
}

/* 口頭発表テーブル */
.oral-table {
    background-color: #f8f9ff;
}

/* ポスター発表テーブル */
.poster-table {
    background-color: #fff8f0;
}

/* カラム幅設定 */
.presentation-table .number-col {
    width: 6%;
}

.presentation-table .time-col {
    width: 12%;
}



.presentation-table .author-col {
    width: 20%;
}

.presentation-table .pdf-col {
    width: 6%;
}

/* セル内容スタイル */
.presentation-table .number {
    text-align: center;
}

.presentation-table .time {
    text-align: center;
    font-size: 0.9rem;
}

.presentation-table .title {
    text-align: left;
    line-height: 1.4;
}

.presentation-table .author {
    text-align: left;
    font-size: 0.9rem;
}

.presentation-table .pdf {
    text-align: center;
}

.presentation-table .pdf a {
    color: var(--sgepss-blue);
    text-decoration: none;
    font-size: 0.9rem;
}

.presentation-table .pdf a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   SGEPSSセッション見出しカスタマイズ
   ========================================================================== */

.session-title {
    color: var(--sgepss-navy);
}

/* h5とh6のSGEPSS色調整 */
h5 {
    border-color: var(--sgepss-blue);
}

h5:before {
    background: var(--sgepss-blue);
}

h6 {
    border-color: var(--sgepss-light-green);
}

h6:before {
    background: var(--sgepss-light-green);
}

/* ==========================================================================
   SGEPSSテーブル色調整
   ========================================================================== */

/* t3テーブルのSGEPSS色 */
table.t3 tr th {
    background-color: var(--sgepss-blue);
}

/* t4テーブルのSGEPSS色 */
table.t4 tr th {
    background-color: var(--sgepss-light-green);
}

/* ==========================================================================
   SGEPSSリンク色
   ========================================================================== */

.organizers a {
    color: var(--sgepss-blue);
}

.top-link a {
    color: var(--sgepss-blue);
}

/* ==========================================================================
   SGEPSS背景グラデーション
   ========================================================================== */

.bg-gradient {
    background: linear-gradient(var(--sgepss-gradient-start), var(--sgepss-gradient-end));
}

/* ==========================================================================
   SGEPSSレスポンシブ調整
   ========================================================================== */

@media screen and (max-width: 768px) {
    .announce-date {
        font-size: 120%;
        line-height: 150%;
    }
    
    .announce-detail {
        font-size: 100%;
        padding: 15px 0;
    }
    
    .session-details {
        font-size: 0.9rem;
    }
    
    .session-details th {
        width: 25%;
        padding: 8px;
    }
    
    .session-details td {
        padding: 8px;
    }
    
    .presentation-table .number-col {
        width: 10%;
    }
    
    .presentation-table .time-col {
        width: 15%;
    }
    
    .presentation-table .title-col {
        width: 45%;
    }
    
    .presentation-table .author-col {
        width: 25%;
    }
    
    .presentation-table .pdf-col {
        width: 5%;
    }
    
    .nav-list {
        flex-direction: column;
    }
    
    .nav-list li {
        flex: none;
    }
    
    .nav-list li a {
        border-right: none;
        border-bottom: 1px solid var(--sgepss-border-dark);
    }
    
    .nav-list li:last-child a {
        border-bottom: none;
    }
}

@media screen and (max-width: 480px) {
    .announce-date {
        font-size: 110%;
    }
    
    .session-details th {
        width: 30%;
        padding: 6px;
        font-size: 0.85rem;
    }
    
    .session-details td {
        padding: 6px;
    }
    
    .nav-list li a {
        padding: 10px 6px;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 320px) {
    .announce-date {
        font-size: 105%;
    }
    
    .nav-list li a {
        padding: 8px 4px;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   SGEPSS印刷用スタイル
   ========================================================================== */

@media print {
    #header {
        border-top: 5px solid #000 !important;
        border-bottom: 1px solid #000 !important;
    }
    
    #footer {
        border-bottom: 5px solid #000 !important;
        background: #f0f0f0 !important;
        color: #000 !important;
    }
    
    .announce-date {
        color: #000 !important;
    }
    
    .txtb_navyblue {
        color: #000 !important;
        font-weight: bold;
    }
    
    .session-details th {
        background: #f0f0f0 !important;
        color: #000 !important;
    }
    
    .presentation-table th {
        background: #f0f0f0 !important;
        color: #000 !important;
    }
    
    .oral-table,
    .poster-table {
        background: #fff !important;
    }
}