@charset "UTF-8";
/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
    font-family: google-noto-sans-jp, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* ===== Color Palette ===== */
:root {
    --green-dark: #80a867;
    --green-mid: #5c8240;
    --green-light: #d6e9ca;
    --green-pale: #f0f7ea;
    --text-dark: #2c3e1f;
    --text-base: #333;
    --white: #fff;
    --border: #c8ddb8;
}

/* ===== Header / Nav ===== */
#site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 3px solid var(--green-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    max-width: 1008px;
    margin-left: auto;
    margin-right: auto;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.logo-badge {
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.logo-badge img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

/*スマホ用*/
@media (max-width: 768px) {
    .logo-badge img {
        width: 48px;
        height: 48px;
    }
}

.site-title-small {
    font-size: 26px;
    font-weight: 700;
    color: var(--green-mid);
    line-height: 1.3;
}

/* desktop nav */
nav#main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

nav#main-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 0;
    list-style: none;
    justify-content: flex-end;
}

nav#main-nav ul li a {
    display: block;
    padding: 6px 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    border-right: 1px solid var(--border);
    transition: color .2s, background .2s;
    white-space: nowrap;
}

nav#main-nav ul li:last-child a {
    border-right: none;
}

nav#main-nav ul li a:hover {
    color: var(--green-mid);
    background: var(--green-pale);
}

nav#main-nav ul li.nav-row-break {
    width: 100%;
    height: 0;
    padding: 0;
    border: none;
    pointer-events: none;
}

/* hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--green-mid);
    border-radius: 2px;
    transition: all .3s;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* mobile nav drawer */
#mobile-nav {
    display: none;
    background: var(--green-pale);
    border-top: 1px solid var(--border);
}

#mobile-nav ul {
    list-style: none;
}

#mobile-nav ul li a {
    display: block;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border);
}

#mobile-nav ul li a:hover {
    background: var(--green-light);
}

/* ===== Section Common ===== */
section {
    padding: 64px 24px;
}

.container {
    max-width: 960px;
    margin: 0 auto;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 36px;
}

.section-heading::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 1.5em;
    background: var(--green-dark);
    border-radius: 3px;
    margin-right: 14px;
    flex-shrink: 0;
}

.section-heading h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
}

/* ===== HERO ===== */
#top {
    padding: 0;
    position: relative;
    overflow: hidden;
    background: url('../images/main.jpg') center / contain no-repeat;
    min-height: auto;
    aspect-ratio: 1280 / 854;
    display: flex;
    flex-direction: column;
}

.hero-bg-pattern {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 32px 40px 0;
    max-width: 960px;
    margin: 0 auto;
    width: 100%;
}

.hero-en {
    font-style: italic;
    font-size: 20px;
    color: #010066;
    margin-bottom: 12px;
    font-weight: 500;
}

.hero-ja {
    font-size: clamp(35px, 6.25vw, 60px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 12px;
    text-shadow:
        -3px -3px 0 #f05000,
         3px -3px 0 #f05000,
        -3px  3px 0 #f05000,
         3px  3px 0 #f05000,
         0   -3px 0 #f05000,
         0    3px 0 #f05000,
        -3px  0   0 #f05000,
         3px  0   0 #f05000;
}

.hero-theme {
    font-size: clamp(20px, 3vw, 28px);
    color: var(--white);
    font-weight: 700;
    margin-bottom: 32px;
    text-shadow:
        -2px -2px 0 #f05000,
         2px -2px 0 #f05000,
        -2px  2px 0 #f05000,
         2px  2px 0 #f05000,
         0   -2px 0 #f05000,
         0    2px 0 #f05000,
        -2px  0   0 #f05000,
         2px  0   0 #f05000;
}

.hero-info-outer {
    background: var(--green-mid);
    padding: 16px 24px;
}

.hero-info-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--white);
}

.hero-info-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.hero-info-sub {
    font-size: 0.75em;
    opacity: .85;
}

.hero-info-break {
    width: 100%;
    height: 0;
}

.hero-info-label {
    font-size: 15px;
    font-weight: 700;
    background: rgba(255, 255, 255, .2);
    border-radius: 4px;
    padding: 2px 8px;
}

.hero-info-value {
    font-size: 20px;
    font-weight: 700;
}

.hero-info-value .large {
    font-size: 30px;
}

.badge-sat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #4a90e2;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin-left: 4px;
    vertical-align: middle;
}

.badge-sun {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e84545;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin-left: 4px;
    vertical-align: middle;
}

/* ===== NEWS ===== */
#news-bar {
    background: var(--green-pale);
    border-top: 2px solid var(--green-dark);
    padding: 40px 24px;
}

.news-list {
    list-style: none;
}

.news-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 17px;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-date {
    flex-shrink: 0;
    color: var(--green-mid);
    font-weight: 700;
    font-size: 15px;
    min-width: 90px;
}

.news-badge {
    display: inline-block;
    background: var(--green-dark);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    flex-shrink: 0;
}

/* ===== 会長挨拶 ===== */
#greeting {
    background: var(--white);
}

.greeting-layout {
    display: block;
}

.greeting-text {
    font-size: 17px;
}

.greeting-text::after {
    content: "";
    display: block;
    clear: both;
}

.greeting-text p {
    margin-bottom: 1em;
    font-size: 17px;
    text-align: justify;
}

.greeting-sig {
    margin-top: 24px;
    text-align: right;
    font-size: 16px;
    line-height: 1.8;
}

.greeting-sig p {
    text-align: right;
}

.greeting-photo-box {
    float: right;
    width: clamp(200px, 27vw, 260px);
    margin: 0 0 20px 32px;
}

.greeting-photo-box img {
    width: 100%;
    margin: 0 auto 10px;
    display: block;
    object-fit: cover;
}

.greeting-photo-caption {
    font-size: 13px;
    color: #555;
}

/* ===== 開催概要 ===== */
#overview {
    background: var(--green-pale);
}

.overview-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 17px;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

.overview-table th {
    background: var(--green-dark);
    color: var(--white);
    font-weight: 700;
    padding: 14px 20px;
    text-align: left;
    width: 160px;
    vertical-align: top;
}

.overview-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--green-light);
    vertical-align: top;
}

.overview-table tr:last-child td {
    border-bottom: none;
}

.committee-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
}

.committee-list li {
    font-size: 16px;
}

.committee-list li strong {
    color: var(--green-mid);
    margin-right: 4px;
}

/* ===== 準備中セクション共通 ===== */
.preparing-box {
    background: var(--white);
    border: 2px dashed var(--border);
    border-radius: 12px;
    text-align: center;
    padding: 60px 24px;
}

.preparing-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.preparing-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--green-mid);
    margin-bottom: 8px;
}

.preparing-text {
    font-size: 16px;
    color: #666;
}

/* ===== プログラム ===== */
#program {
    background: var(--white);
}

/* ===== 参加登録 ===== */
#registration {
    background: var(--green-pale);
}

/* ===== 演題募集 ===== */
#abstract {
    background: var(--white);
}

/* ===== 座長・講演者・発表者 ===== */
#presenters {
    background: var(--green-pale);
}

/* ===== ご寄付・協賛 ===== */
#sponsorship {
    background: var(--white);
}

.sponsorship-content {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 32px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #c0392b;
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 8px;
    transition: background .2s, transform .15s;
    box-shadow: 0 3px 10px rgba(192, 57, 43, .4);
}

.download-btn:hover {
    background: #a93226;
    transform: translateY(-2px);
}

.download-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.sponsorship-contact {
    margin-top: 28px;
    padding: 20px 24px;
    background: var(--green-pale);
    border-radius: 8px;
    border-left: 4px solid var(--green-dark);
    font-size: 16px;
}

.sponsorship-contact strong {
    color: var(--green-mid);
}

/* ===== アクセス ===== */
#access {
    background: var(--green-pale);
}

.access-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.access-info h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--green-light);
}

.access-info p {
    font-size: 17px;
    margin-bottom: 16px;
}

.access-info address {
    font-style: normal;
    font-size: 17px;
    margin-bottom: 24px;
}

.campus-photo-box {
    background: var(--green-light);
    border: 2px solid var(--border);
    border-radius: 8px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-mid);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding: 16px;
}

.map-embed {
    margin-top: 32px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border);
}

.map-embed iframe {
    width: 100%;
    height: 320px;
    border: none;
    display: block;
}

.transport-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    margin-top: 12px;
}

.transport-table th {
    background: var(--green-dark);
    color: #fff;
    padding: 10px 14px;
    text-align: left;
    white-space: nowrap;
}

.transport-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--green-light);
    background: var(--white);
}

.transport-table tr:last-child td {
    border-bottom: none;
}

/* ===== Footer ===== */
footer {
    background: var(--green-mid);
    color: var(--white);
    padding: 36px 24px;
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-badge {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, .2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 12px;
    border: 2px solid rgba(255, 255, 255, .4);
}

.footer-brand-name {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.footer-contact {
    font-size: 18px;
    line-height: 1.8;
}

.footer-contact a {
    color: var(--green-light);
    text-decoration: underline;
}

.footer-copy {
    width: 100%;
    text-align: center;
    font-size: 14px;
    opacity: .7;
    border-top: 1px solid rgba(255, 255, 255, .25);
    padding-top: 20px;
    margin-top: 8px;
}

/* ===== Back to top ===== */
#back-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
    width: 46px;
    height: 46px;
    background: var(--green-dark);
    color: var(--white);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .25);
    border: none;
    transition: background .2s;
}

#back-top:hover {
    background: var(--green-mid);
}

#back-top.visible {
    display: flex;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .site-title-small {
        font-size: 14px;
    }

    nav#main-nav {
        display: none;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .greeting-layout {
        display: block;
    }

    .greeting-photo-box {
        float: none;
        width: min(100%, 220px);
        margin: 0 auto 20px;
    }

    .committee-list {
        grid-template-columns: 1fr;
    }

    .overview-table th {
        width: 110px;
        font-size: 13.5px;
    }

    .overview-table td {
        font-size: 13.5px;
    }

    .access-layout {
        grid-template-columns: 1fr;
    }

    .hero-info-bar {
        flex-direction: column;
        gap: 12px;
    }

    section {
        padding: 48px 16px;
    }

    #top {
        aspect-ratio: 1280 / 854;
    }

    .hero-content {
        padding-left: 1em;
    }

    .hero-en {
        font-size: 16px;
    }

    .hero-ja {
        font-size: clamp(28px, 5vw, 48px);
    }
}
