/* ========================================
   IEEE RO-MAN 2026 - Vanilla CSS
   Figmaデザイン忠実実装
   ======================================== */

/* ========================================
   リセット & ベーススタイル
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Roboto Serif', serif;
    font-weight: 400;
    font-variation-settings: 'GRAD' 0, 'wdth' 100;
    background: #ffffff;
    color: #000000;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

/* ========================================
   Header - レスポンシブ対応
   ======================================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

/* Header Top */
.header-top {
    background: #ffffff;
}

.header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    height: 60px;
}

.header-logo {
    width: 160px;
    height: 39px;
}

.header-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0;
}

/* SP時はSNS・Divider・IEEEロゴを非表示 */
.header-sns {
    display: none;
}

.header-divider {
    display: none;
}

.header-ieee-logo {
    display: none;
}

/* ハンバーガーボタン（SP時のみ表示） */
.hamburger-btn {
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #136957;
    border-radius: 0;
    padding: 0;
    position: absolute;
    right: 0;
    z-index: 2001;
}

.hamburger-line {
    width: 24px;
    height: 1px;
    background: #ffffff;
    transition: all 0.3s ease;
    display: block;
}

/* メニューが開いた状態（バツ印） */
.hamburger-btn.active {
    background: #136957;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    transform: translateY(-5px) rotate(-45deg);
}

/* ========================================
   Global Navigation - レスポンシブ対応
   ======================================== */
.global-nav {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: #ffffff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 999;
}

.global-nav.active {
    transform: translateX(0);
}

.global-nav-list {
    display: flex;
    flex-direction: column;
}

/* SP時のナビゲーションアイテム */
.nav-item {
    border-top: 1px solid #d9ede9;
}

.nav-item:last-child {
    border-bottom: 1px solid #d9ede9;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 25px 20px;
    color: #136957;
    font-size: 15px;
    font-weight: 500;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

.nav-link-icon {
    width: 15px;
    height: 2px;
    background: #1B947A;
}

.global-nav.active .nav-link-icon::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 2px;
    background: #1B947A;
    transform: rotate(90deg);
}

.nav-item.active .nav-link-icon::before {
    visibility: hidden;
}

/* SP時のドロップダウン */
.sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #ffffff;
}

.nav-item.active .sub-menu {
    max-height: 300px;
}

.sub-menu li a {
    display: block;
    padding: 12px 40px;
    color: #136957;
    font-size: 14px;
}

/* ドロップダウンがない項目のシェブロンを非表示 */
.nav-item:not(.nav-item-dropdown) .nav-chevron {
    display: none;
}

/* ========================================
   Main Content
   ======================================== */
main {
    padding-top: 60px;
}

/* ========================================
   Slideshow
   スライドショースタイルは slideshow プラグインの
   assets/css/frontend.css で管理します。
   ======================================== */

/* ========================================
   Banner Section (PC & SP)
   ======================================== */
.banner-section-pc {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px 20px;
}

.banner-section-pc img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* ========================================
   Links Section
   ======================================== */
.links-section {
    border-top: 1px solid #bde0d9;
    border-bottom: 1px solid #bde0d9;
    margin: 0 20px;
}

.links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-left: 1px solid #bde0d9;
    border-right: 1px solid #bde0d9;
}

.link-item {
    padding: 20px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: background 0.3s ease;
}

.link-item a {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.link-item:nth-child(3),
.link-item:nth-child(2),
.link-item:first-child {
    border-bottom: 1px solid #bde0d9;
}

.link-item:hover {
    background: #f5f5f5;
}

.link-item-title {
    color: #136957;
    font-size: 18px;
}

.link-item-arrow {
    display: flex;
    justify-content: flex-end;
}

.link-item-arrow .links-arrow {
    width: 20px;
    height: 20px;
}

/* ========================================
   Latest Update
   ======================================== */
.update-section {
    padding: 50px 20px;
    border-bottom: 1px solid #bde0d9;
}

.update-section h2 {
    color: #1b947a;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 30px;
}

.update-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.update-item a {
    padding: 26px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.update-item a:hover {
    opacity: 0.7;
}

.update-item:nth-child(odd) {
    background: #d9ede9;
}

.update-item:nth-child(even) {
    background: #eef7f5;
}

.update-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.update-date {
    color: #000000;
    font-size: 11px;
}

.update-text {
    color: #000000;
    font-size: 14px;
    font-weight: 500;
}

.update-text:hover {
    opacity: 0.7;
}

.update-arrow {
    display: none;
}

/* 添付ファイルリンク（PDF / WORD / Excel など）
 * .update-item aの flexが継承されないよう display を明示上書き */
.update-attachment-link {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.6;
    color: #136957;
    background: #d9ede9;
    border: 1px solid #1b947a;
    border-radius: 2px;
    text-decoration: none;
    vertical-align: middle;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.update-attachment-link:hover {
    background: #136957;
    color: #ffffff;
    opacity: 1; /* 親 a:hover の opacity 上書き */
}

.update-new {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.6;
    color: #eb73a5;
    border: 1px solid #eb73a5;
    border-radius: 2px;
    vertical-align: middle;
    white-space: nowrap;
}

/* ========================================
   Important Dates
   ======================================== */
.dates-section {
    padding: 50px 20px;
}

.dates-section h2 {
    color: #1b947a;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 30px;
}

.dates-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
}

.wp-block-table .has-fixed-layout,
.dates-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    table-layout: auto;
}

.is-front-page .wp-block-table .has-fixed-layout,
.is-front-page .dates-table {
    min-width: 700px;
}

.wp-block-table .has-fixed-layout th,
.wp-block-table .has-fixed-layout td,
.dates-table th,
.dates-table td {
    padding: 14px 10px;
    text-align: left;
    font-size: 14px;
    border: 3px solid #ffffff;
}

.wp-block-table .has-fixed-layout th,
.wp-block-table .has-fixed-layout td {
    word-break: keep-all;
}

.wp-block-table .has-fixed-layout thead th,
.dates-table thead th {
    background: #136957;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
}

.wp-block-table .has-fixed-layout tbody tr td:first-child,
.dates-table tbody tr td:first-child {
    background: #1b947a;
    color: #ffffff;
}

.wp-block-table .has-fixed-layout tbody tr td:not(:first-child),
.dates-table tbody tr td:not(:first-child) {
    background: #d9ede9;
    color: #000000;
}

.wp-block-table .has-fixed-layout .strikethrough,
.dates-table .strikethrough {
    text-decoration: line-through;
}

.dates-note {
    color: #000000;
    font-size: 12px;
}

/* ========================================
   Countdown
   ======================================== */
.countdown-section {
    background: #1b947a;
    padding: 50px 20px;
    border: 1px solid #000000;
    text-align: center;
}

.countdown-section h2 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 20px;
}

.countdown-container {
    max-width: 720px;
    margin: 0 auto;
    overflow: hidden;
}

.countdown-subtitle {
    color: #ffffff;
    font-size: 15px;
    padding-bottom: 20px;
}

.countdown-divider {
    width: 40px;
    height: 40px;
    margin: 0 auto 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown-divider span {
    display: block;
    width: 40px;
    height: 1px;
    background: #ffffff;
    transform: rotate(90deg);
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 260px;
    margin: 0 auto;
}

.countdown-box {
    background: #136957;
    border-radius: 10px;
    padding: 18px;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.countdown-number {
    color: #ffffff;
    font-size: 46px;
}

.countdown-label {
    color: #ffffff;
    font-size: 12px;
}

/* ========================================
   Sponsors
   ======================================== */
.sponsors-section {
    padding: 50px 20px;
}

.sponsors-section h2 {
    color: #1b947a;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 40px;
}

.sponsors-section p:nth-of-type(1) {
    color: #000000;
    font-size: 18px;
    margin-bottom: 40px;
}

.sponsors-section p:nth-of-type(2) {
    color: #000000;
    font-size: 14px;
}

/* sponsors-content (Coming Soon テキスト) */
.sponsors-content {
    color: #000000;
    font-size: 14px;
    margin-top: 20px;
}

/* ========================================
   Bottom Banner
   ======================================== */
.bottom-banner-section {
    padding: 50px 20px;
    display: flex;
    justify-content: center;
}

.bottom-banner-link {
    display: block;
    width: 250px;
    height: 64px;
}

.bottom-banner-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.bottom-banner-link:hover img {
    opacity: 0.8;
}

/* ========================================
   Bottom Photo
   ======================================== */
.photo-section {
    width: 100%;
    height: 180px;
}

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

/* ========================================
   Footer
   ======================================== */
.footer-container {
    background: #1b947a;
    padding: 40px 20px;
}

.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.footer-logo {
    width: 220px;
    height: 54px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-item-list {
    display: none;
}

.footer-item a,
.footer-nav-sp a {
    color: #ffffff;
    font-size: 13px;
}

.footer-nav-sp a:hover {
    opacity: 0.7;
}

/* Footer Bottom */
.footer-content-btm {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    flex-direction: column-reverse;
}

.footer-copyright {
    color: #ffffff;
    font-size: 10px;
    text-align: center;
    line-height: normal;
}

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

.footer-sns a {
    color: #ffffff;
    font-size: 28px;
    line-height: normal;
}

.footer-sns a:hover {
    opacity: 0.7;
}

.footer-sns img {
    width: 32px;
    height: 32px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(2%) hue-rotate(323deg) brightness(102%) contrast(101%);
}

/* ========================================
   PC版スタイル (768px以上)
   ======================================== */
@media screen and (min-width: 768px) {
    /* Header Top */
    .header-top-inner {
        padding: 18px 20px;
        margin: 0 auto;
        height: 90px;
        max-width: 1140px;
    }
    
    .header-logo {
        width: 220px;
        height: 54px;
    }
    
    .header-right {
        gap: 30px;
    }
    
    /* SNS、Divider、IEEEロゴを表示 */
    .header-sns {
        display: flex;
        align-items: center;
        gap: 20px;
    }
    
    .header-sns a {
        display: block;
        color: #136957;
        width: 20px;
        height: 20px;
    }
    
    .header-sns a:first-child {
        width: 26px;
        height: 26px;
    }

    .header-sns img {
        filter: brightness(0) saturate(100%) invert(34%) sepia(13%) saturate(2584%) hue-rotate(118deg) brightness(86%) contrast(86%);
    }

    .header-sns a:hover {
        opacity: 0.7;
    }
    
    .header-divider {
        color: #136957;
        font-size: 20px;
    }
    
    .header-divider {
        display: block;
        width: 1px;
        height: 26px;
        background: #d9d9d9;
    }
    
    .header-ieee-logo {
        display: block;
        width: 80px;
        height: 26px;
    }
    
    .header-ieee-logo img {
        width: 100%;
        height: 100%;
    }
    
    /* ハンバーガーボタンを非表示 */
    .hamburger-btn {
        display: none;
    }
    
    /* Global Navigation - PC版 */
    .global-nav {
        position: static;
        height: auto;
        background: #136957;
        transform: translateX(0);
        overflow-y: visible;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .global-nav-list {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        width: 1140px;
    }
    
    .nav-item {
        position: relative;
        width: 190px;
        height: 50px;
        border: none;
    }

    .nav-item:last-child {
        border: none;
    }
    
    .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        color: #ffffff;
        font-size: 14px;
        padding: 17px 0;
        text-align: center;
        line-height: normal;
        font-weight: 400;
    }
    
    /* 各メニュー項目のpadding調整（Figma通り） */
    .nav-item:nth-child(1) .nav-link {
        padding-left: 60px;
        padding-right: 60px;
    }
    
    .nav-item:nth-child(2) .nav-link {
        padding-left: 53px;
        padding-right: 53px;
    }
    
    .nav-item:nth-child(3) .nav-link {
        padding-left: 64px;
        padding-right: 64px;
    }
    
    .nav-item:nth-child(4) .nav-link {
        padding-left: 53px;
        padding-right: 53px;
    }
    
    .nav-item:nth-child(5) .nav-link {
        padding-left: 46px;
        padding-right: 46px;
    }
    
    .nav-item:nth-child(6) .nav-link {
        padding-left: 80px;
        padding-right: 80px;
    }
    
    .nav-link:hover {
        background: #1b947a;
    }
    
    /* シェブロンを非表示 */
    .nav-chevron {
        display: none;
    }
    
    /* PC版のドロップダウン */
    .sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: #1b947a;
        width: 240px;
        padding: 0;
        max-height: none;
        overflow: visible;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 100;
    }
    
    .nav-item-dropdown:hover .sub-menu {
        opacity: 1;
        visibility: visible;
    }
    
    .sub-menu li a {
        padding: 20px;
        color: #ffffff;
        font-size: 13px;
        line-height: 14px;
    }
    
    .sub-menu li a:hover {
        background: #136957;
    }
    
    main {
        padding-top: 140px;
    }
    
    /* Slideshow: PC版スタイルは slideshow プラグインの assets/css/frontend.css で管理 */

    main > [class$="-section"]:not(.photo-section) {
        padding-inline: 20px;
    }

    /* Banner */
    .banner-section-pc {
        height: 349px;
        max-width: 1140px;
        padding: 100px 0;
        margin: 6vw auto;
    }
    
    .banner-section-pc img {
        width: 100%;
        height: auto;
    }
    
    /* Links */
    .links-section {
        padding: 0;
        margin: 0;
    }
    
    .links-container {
        max-width: 1140px;
        margin: 0 auto;
    }
    
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .link-item {
        padding: 40px;
        height: 200px;
    }
    
    .link-item:first-child {
        border-right: 1px solid #bde0d9;
    }

    .link-item:nth-child(3) {
        border: 0;
        border-right: 1px solid #bde0d9;
    }

    .link-item:last-child {
    }

    .link-item-title {
        font-size: 24px;
    }
    
    .link-item-arrow .links-arrow {
        width: 28px;
        height: 28px;
    }
    
    /* Update */
    .update-section {
        padding: 100px 0;
    }
    
    .update-container {
        max-width: 1140px;
        margin: 0 auto;
    }
    
    .update-section h2 {
        font-size: 38px;
        margin-bottom: 46px;
    }
    
    .update-content {
        flex-direction: row;
        align-items: center;
        gap: 70px;
    }
    
    .update-date {
        font-size: 16px;
    }
    
    .update-text {
        font-size: 16px;
    }
    
    .update-arrow {
        display: block;
    }
    
    /* Dates */
    .dates-section {
        padding: 100px 0;
    }
    
    .dates-container {
        max-width: 1140px;
        margin: 0 auto;
    }
    
    .dates-section h2 {
        font-size: 38px;
        margin-bottom: 50px;
    }
    
    .dates-table-wrapper {
        overflow-x: visible;
    }
    
    .wp-block-table .has-fixed-layout,
    .dates-table {
        min-width: 0;
    }

    .dates-table-wrapper .wp-block-table .has-fixed-layout,
    .dates-table-wrapper .dates-table {
        table-layout: fixed;
    }    

    .dates-table-wrapper .wp-block-table .has-fixed-layout th,
    .dates-table-wrapper .wp-block-table .has-fixed-layout td,
    .dates-table-wrapper .dates-table thead th,
    .dates-table-wrapper .dates-table td {
        padding: 25px;
        font-size: 16px;
    }    

    .dates-note {
        font-size: 13px;
        margin-top: 20px;
        text-align: right;
    }
    
    /* Countdown */
    .countdown-section {
        padding: 70px 0;
    }
    
    .countdown-section h2 {
        font-size: 38px;
        margin-bottom: 30px;
    }
    
    .countdown-subtitle {
        font-size: 20px;
        padding-bottom: 30px;
    }
    
    .countdown-divider {
        width: 50px;
        height: 50px;
        margin-bottom: 40px;
    }
    
    .countdown-divider span {
        width: 50px;
    }

    .countdown-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
        max-width: 720px;
    }
    
    .countdown-box {
        width: 150px;
        height: 150px;
    }
    
    .countdown-number {
        font-size: 64px;
    }
    
    .countdown-label {
        font-size: 14px;
    }
    
    /* Sponsors */
    .sponsors-section {
        padding: 100px 0;
    }
    
    .sponsors-container {
        max-width: 1140px;
        margin: 0 auto;
    }

    .sponsors-section h2 {
        font-size: 38px;
        margin-bottom: 60px;
    }
    
    .sponsors-section p:nth-of-type(1) {
        font-size: 24px;
        margin-bottom: 60px;
    }
    
    .sponsors-content {
        font-size: 14px;
        margin-top: 0;
    }
    
    /* Bottom Banner */
    .bottom-banner-section {
        padding: 100px 0;
    }

    .bottom-banner-container {
        max-width: 1140px;
        margin: 0 auto;
    }

    .bottom-banner-link {
        width: 355px;
        height: 90px;
    }
    
    /* Photo */
    .photo-section {
        height: 400px;
    }
    
    /* Footer */
    .footer-container {
        padding: 50px 20px 40px;
        margin: 0 auto;
    }
    
    .footer-inner {
        gap: 70px;
        height: auto;
    }
    
    .footer-logo {
        justify-content: flex-start;
        margin: 0;
    }
    
    /* Footer Content - PC版 */
    .footer-content {
        display: flex;
        gap: 20px;
        align-items: flex-start;
        text-align: left;
        flex-direction: row;
    }
    
    .footer-item {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .footer-item-title {
        color: #ffffff;
        font-size: 12px;
        font-weight: 500;
        line-height: normal;
        margin: 0 0 31px 0;
    }
    
    .footer-item:first-child .footer-item-title {
        font-weight: 500;
    }
    
    .footer-item-list {
        display: flex;
        flex-direction: column;
        gap:16px;
    }
    
    .footer-item-link {
        display: flex;
        gap: 6px;
    }
    
    .footer-item-link a {
        color: #ffffff;
        font-size: 11px;
        line-height: 14px;
        white-space: normal;
        word-wrap: break-word;
        max-width: 160px;
    }

    .footer-item-link::before {
        content: '';
        width: 5px;
        height: 1px;
        flex-shrink: 0;
        background: #ffffff;
        margin-top: 6px;
    }

    /* Conference, Program, Submission, Sponsorshipsは12px */
    .footer-item:not(:first-child) .footer-item-link a {
        font-size: 12px;
        line-height: normal;
    }
    
    .footer-item-link a:hover {
        opacity: 0.7;
    }
    
    /* 幅の指定 */
    .footer-item:nth-child(1) {
        width: 170px;
    }
    
    .footer-item:nth-child(2) {
        width: 170px;
    }
    
    .footer-item:nth-child(3) {
        width: 170px;
    }
    
    .footer-item:nth-child(4) {
        width: 170px;
    }
    
    .footer-item:nth-child(5) {
        width: 170px;
    }
    
    .footer-item:nth-child(6) {
        width: 180px;
    }
    
    .footer-nav-sp {
        display: none;
    }
    
    .footer-content-btm {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
        flex-direction: row;
    }
    
    .footer-copyright {
        font-size: 11px;
        text-align: left;
    }
    
    .footer-sns {
        gap: 16px;
        justify-content: space-between;
    }
    
    .footer-sns a {
        font-size: 32px;
    }
}

/* ========================================
   アニメーション
   ======================================== */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

#seconds {
    animation: pulse 1s ease-in-out infinite;
}

/* ========================================
   Sponsors ロゴグリッド
   ======================================== */
.sponsors-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.sponsors-logos img {
    max-width: 200px;
    height: auto;
    object-fit: contain;
}

/* ========================================
   印刷用スタイル
   ======================================== */
@media print {
    header,
    footer,
    .mobile-menu {
        display: none;
    }
    
    main {
        padding-top: 0;
    }
}

/* ========================================
   Page Header (下層ページ用)
   ======================================== */
.page-header {
    background: #ffffff;
    border-top: 1px solid #bde0d9;
    border-bottom: 1px solid #bde0d9;
    padding: 0 20px;
    height: 120px;
    display: flex;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
}

.page-header-inner {
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
}

.page-title {
    color: #136957;
    font-size: 24px;
    font-weight: 500;
    line-height: normal;
}

/* ========================================
   Page Content (下層ページ本文)
   ======================================== */
.page-content {
    padding: 40px 20px;
    max-width: 1140px;
    margin: 0 auto;
}

.page-content-inner {
    max-width: 1140px;
    margin: 0 auto;
}

.page-content p:not(:last-child) {
    margin-bottom: 1em;
}

/* Lead text (導入文) */
.lead-text {
    color: #000000;
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 60px;
}

/* Content subtitle (緑の見出し) */
.content-subtitle {
    font-size: 24px;
    font-weight: 500;
    line-height: 36px;
    margin-bottom: 30px;
}

/* Content text (本文) */
.content-text {
    color: #000000;
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 60px;
}

/* Content heading (セクション見出し) */
.content-heading {
    color: #000000;
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
    margin-bottom: 48px;
    padding-top: 60px;
    border-top: 1px solid #bde0d9;
}

/* Session types */
.session-type {
    margin-bottom: 48px;
}

.session-title {
    color: #000000;
    font-size: 26px;
    font-weight: 500;
    line-height: 30px;
    margin-top: 50px;
    margin-bottom: 20px;
}

.session-description {
    color: #000000;
    font-size: 18px;
    line-height: 30px;
}

/* Note text */
.note-text {
    color: #000000;
    font-size: 16px;
    line-height: 28px;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid #bde0d9;
}

.page-content a {
    text-decoration: underline;
    transition: 0.4s ease;
}

.page-content a:hover {
    text-decoration: none;
}

.page-content * + .has-x-large-font-size {
	margin-top: 80px;
}

.wp-block-separator {
    border-top: 1px solid #bde0d9;
    margin: 2em 0;
}

.wp-block-list {
    list-style-type: disc;
    margin-left: 20px;
}

.wp-block-list li + li {
    margin-top: 8px;
}

/* ========================================
   PC版 - Page Styles
   ======================================== */
@media screen and (min-width: 768px) {
    /* Page Header */
    .page-header {
        padding: 0 20px;
        height: 220px;
    }
    
    .page-title {
        font-size: 38px;
    }
    
    /* Page Content */
    .page-content {
        padding: 100px 20px;
    }
    
    .lead-text {
        font-size: 18px;
        line-height: 30px;
    }
    
    .content-subtitle {
        font-size: 24px;
        line-height: 36px;
    }
    
    .content-text {
        font-size: 18px;
        line-height: 30px;
    }
    
    .content-heading {
        font-size: 18px;
        line-height: 30px;
    }
    
    .session-title {
        font-size: 26px;
        line-height: 30px;
    }
    
    .session-description {
        font-size: 18px;
        line-height: 30px;
    }
}

@media screen and (min-width: 1160px) {
    main > section,
    .header-top-inner,
    .page-header,
    .page-content,
    .footer-container {
        padding-inline: 0;
    }

}

/* ========================================
   Single Post - 投稿個別ページ
   ======================================== */

/* 日付エリア：上に隔間、右寄せ */
.post-meta-area {
    padding: 20px 20px 0;
    max-width: 1140px;
    margin: 0 auto;
}

.post-meta-inner {
    display: flex;
    justify-content: flex-end;
}

.post-date {
    color: #666666;
    font-size: 13px;
}

/* 添付ファイルエリア */
.post-attachment-area {
    padding: 0 20px 40px;
    max-width: 1140px;
    margin: 0 auto;
}

.post-attachment-inner {
    border-top: 1px solid #bde0d9;
    padding-top: 30px;
}

.post-attachment-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #136957;
    font-size: 14px;
    word-break: break-all;
    transition: opacity 0.2s ease;
}

.post-attachment-link:hover {
    opacity: 0.7;
}

.post-attachment-badge {
    display: inline-block;
    flex-shrink: 0;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.6;
    color: #136957;
    background: #d9ede9;
    border: 1px solid #1b947a;
    border-radius: 2px;
    white-space: nowrap;
}

/* 投稿ナビゲーション：PREV/NEXT 横並び */
.post-navigation {
    padding: 0 20px 60px;
    max-width: 1140px;
    margin: 0 auto;
}

.post-nav-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #bde0d9;
    padding-top: 30px;
}

.post-nav-prev,
.post-nav-next {
    flex: 0 1 auto;
    max-width: 48%;
}

.post-nav-next {
    text-align: right;
    margin-left: auto;
}

.post-nav-link {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    color: #136957;
    transition: opacity 0.2s ease;
}

.post-nav-link:hover {
    opacity: 0.7;
}

.post-nav-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #1b947a;
}

.post-nav-title {
    font-size: 14px;
    color: #000000;
    line-height: 1.5;
}

/* ========================================
   Single Post - PC版 (768px以上)
   ======================================== */
@media screen and (min-width: 768px) {
    .post-meta-area {
        padding: 30px 20px 0;
    }

    .post-date {
        font-size: 14px;
    }

    .post-attachment-area {
        padding: 0 20px 60px;
    }

    .post-attachment-link {
        font-size: 15px;
    }

    .post-navigation {
        padding: 0 20px 80px;
    }

    .post-nav-title {
        font-size: 15px;
    }
}

@media screen and (min-width: 1160px) {
    .post-meta-area,
    .post-attachment-area,
    .post-navigation {
        padding-inline: 0;
    }
}
