/* Font settings */
body {
    font-family: 'Noto Sans JP', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Noto Sans JP', sans-serif;
    font-family: 'Archivo Black', sans-serif;
}

a {
    color: #003A95;
    word-break: break-all;
}

.space15 {
    margin: 15px;
}

.space20 {
    margin: 20px;
}

.space30 {
    margin: 30px;
}

.space50 {
    margin: 50px;
}

/* Layout Styles */

.wrap {
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 100%;
    min-height: 100vh;
}

.fixed-menu {
    /* 
    position: absolute;
    top: 0;
    left: 0;
     */
    height: 100%;
    width: 250px;
    background-color: #003A95;
    padding: 10px;
    overflow-y: auto;
    float: left;
}

.fixed-menu img {
    width: 80%;
    margin: 20px auto;
    display: block;
}

.top-main-content {

    padding: 20px;
    /* 複数の背景画像を指定 */
    background-image: url('images/EM-NANO-2026.png'), url('images/footer-back.png');
    background-position: top, bottom;
    /* 1つ目はtopに、2つ目はbottomに配置 */
    background-size: 100%, 100%;
    background-repeat: no-repeat, no-repeat;
    /* 両方の画像は繰り返しなし */
}

@media (min-width:768px) {
    .top-main-content {
        margin-left: 250px;
    }

}

.blinking-text {
    color: rgb(255, 238, 0); 
    font-weight: bold;
    font-size: 31px; 
    text-align: right; 
    animation: blink-animation 1s step-start 0s infinite; 
    text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.4);
}

@keyframes blink-animation {
    0% { opacity: 1; } 
    80% { opacity: 1; } 
    90% { opacity: 0; } 
    100% { opacity: 1; } 
}

.top-main-content h2 {
    color: #003A95;
    border-left: 3px solid #003A95;
    padding-left: 10px;
}

.top-content-container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.top-content-container .news-container {
    height: 150px;
    overflow-y: scroll;
    width: 100%;
    margin-bottom: 30px;
}

.top-content-container .news-container dl {
    display: flex;
    align-items: baseline;
    padding-left: 1em;
}

.top-content-container .news-container dt {
    font-size: 1.2em;
    font-weight: 600;
    padding-right: 15px;
}

.title-container {
    max-width: 1000px;
    margin: 30px auto;
    color: #fff;
}

.title-container img {
    max-width: 150px;
}

.title-container h1 {
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    font-size: 4.5rem;
    text-align: right;
    margin-bottom: 0;
}

.title-container .name-full {
    font-size: 1rem;
    text-align: right;
    display: block;
    font-family: 'Archivo Black', sans-serif;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.title-container .name-full span {
    font-size: 2em;
}

.menu-item {
    color: white;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    padding: 5px 10px;
    align-items: center;

    font-size: 0.9em;
}

.menu-item .arrow {
    transition: transform 0.3s ease;
    display: inline-block;
    font-size: 1em;
}

.menu-item:hover .arrow {
    transform: translateX(10px);
}

.menu-item:hover {
    background-color: #0055a5;
}



/* サイドバー */

.nav-container {
    width: 90%;
    margin: 0 auto;
}

.nav-container h1 {
    color: #fff;
    font-size: 2em;
    padding: 50px 10px 10px 10px;
}

.nav-container h2 {
    color: #fff;
    font-size: 1.5rem;
    padding: 0 10px 5px 10px;
    border-bottom: 1px solid #fff;
}

.navbar-nav {
    margin-top: 15px;
}

.greeting-title {
    color: #fff;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}


/* Hamburger Menu for smaller screens */

@media (min-width:1500px) {
    .greeting-article {
        color: #fff;
        text-shadow: 0px 1px 4px rgba(0, 0, 0, 1);
    }
}

@media (max-width: 820px) {

    .greeting-title {
        color: #000;
    }

    .title-container h1 {
        text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
        font-size: 3.5rem;
        text-align: right;
        margin-bottom: 0;
    }
}


@media (max-width: 768px) {

    .title-container {
        color: #003A95;
    }

    .title-container img {
        max-width: 100px;
        margin-left: auto;
        display: block;
        margin-top: 45px;
    }

    .title-container h1 {
        text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
        font-size: 3.5rem;
        text-align: right;
        margin-bottom: 0;
        line-height: 1;
        margin-top: 20px;
    }

    .title-container .name-full {
        line-height: 1;
        margin-top: 20px;
    }

    .title-container .name-full span {
        font-size: 2em;
        padding-top: 20px;
        display: block;
    }


    .main-content {
        margin-left: 0;
    }

    .collapse:not(.show) {
        display: none;
    }

    .navbar-toggler {
        display: block;
        margin-bottom: 10px;
        margin-left: auto;
    }

    .navbar-toggler-icon {
        display: inline-block;
        width: 30px;
        height: 3px;
        background-color: #fff;
        position: relative;
    }

    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after {
        content: '';
        display: block;
        width: 100%;
        height: 3px;
        background-color: #fff;
        position: absolute;
        right: 0;
        transition: all 0.3s;
    }

    .navbar-toggler-icon::before {
        top: -8px;
    }

    .navbar-toggler-icon::after {
        top: 8px;
    }

    .navbar-collapse {
        max-height: 80vh;
        /* 画面の70%をメニューの最大高さとする */
        overflow-y: auto;
        /* メニューが画面外に出た場合スクロールできるようにする */
    }

    .nav-container h1 {
        padding: 0;
    }

    .navbar-nav {
        padding-left: 0;
    }

    .nav-item {
        font-size: 0.9em;
    }

}

@media screen and (min-width:768px) and (max-width:820px) {
    .title-container .name-full {
        line-height: 1;
        margin-top: 20px;
        color: #003A95;
    }

    .title-container .name-full span {
        font-size: 2em;
        padding-top: 20px;
        display: block;
    }

}


@media (max-width: 767px) {

    .fixed-menu {
        width: 100%;
        height: auto;
        position: fixed;
        z-index: 2000;
    }
}

@media (max-width: 400px) {

    .title-container h1 {
        font-size: 2.8rem;
    }
}



/* スポンサーバナーコンテナ */



.sponsor-container {
    min-height: 800px;
    background-color: #fff;
    padding: 10px 20px 0 20px;
    border-bottom: 1px solid #003A95;
    margin-top: 10px;
    width: 330px;
}

.sponsor-container h4 {
    color: #003A95;
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 20px;
}

.sponsor-foundations {
    padding-bottom: 20px;
    border-bottom: 1px solid #003A95;
}

.sponsor-foundations a {
    display: block;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    text-align: center;
    padding: 10px;
}


.sponsor-platinum {
    padding-bottom: 20px;
    border-bottom: 1px solid #003A95;
}

.sponsor-platinum a {
    display: block;
    border: 1px solid #ccc;
    max-width: 100%;
    margin-bottom: 10px;
    margin-top: 10px;
    text-align: center;
    padding: 10px;
}


.sponsor-gold {
    padding-bottom: 20px;
    border-bottom: 1px solid #003A95;
}

.sponsor-gold a {
    display: block;
    border: 1px solid #ccc;
    max-width: 90%;
    margin-bottom: 10px;
    text-align: center;
    padding: 20px;
}

.sponsor-silver {
    padding-bottom: 20px;
    border-bottom: 1px solid #003A95;
}

.sponsor-silver a {
    display: block;
    max-width: 70%;
    margin: 0 auto;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    text-align: center;
    padding: 20px;
}

.sponsor-silver {
    padding-bottom: 20px;
    border-bottom: 1px solid #003A95;
}

.sponsor-silver a {
    display: block;
    max-width: 70%;
    margin: 0 auto;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    text-align: center;
    padding: 20px;
}

.sponsor-bronze {
    padding-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 18px;
}

.sponsor-bronze a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40%;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    text-align: center;
    padding: 5px;
    height: 60px;
}


.corporate-donors {
    padding-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.corporate-donors a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    text-align: center;
    padding: 5px;
    height: 60px;
}


@media (min-width:1028px) {

    .sponsor-container h4 {
        margin-top: 0px;
    }

    .sponsor-container-height {
        min-height: 1000px;
    }
}


footer {
    background-color: #003A95;

}

.footer-container {
    position: relative;
    z-index: 500;
    color: #fff;
    padding: 20px;
}

.footer-container p {
    font-family: 'Archivo Black', sans-serif;
    margin-bottom: 0;
}

.footer-container p span {
    font-size: 1.5em;
}

.footer-container img {
    max-width: 150px;
    margin-left: 20px;
    margin-right: 50px;
}

@media (max-width:600px) {
    .footer-container {
        text-align: center;
    }

    .footer-container img {
        max-width: 150px;
        margin: 20px 0;
    }
}

/* 下層ページ */

.under-header {
    display: flex;
    font-family: 'Archivo Black', sans-serif;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px 0;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

.under-header h1 {
    font-size: 2rem;
    margin-bottom: 0;
}

.under-header p {
    font-size: 0.8rem;
    line-height: 1.2;
    margin-bottom: 0;
}

.under-header img {
    max-height: 80px;
    margin-right: 15px;
}

/* アクセスページ */

.under-content {
    padding: 20px;
    margin: 30px 0;
}

.under-content .container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.under-content h2 {
    margin-top: 15px;
    margin-bottom: 15px;
}

.under-content h3 {
    font-size: 1.5rem;
    color: #003A95;
    margin-bottom: 15px;
}

.access-fukui-container {
    width: 100%;
    margin: 0 auto;
    overflow-x: auto !important;
}

.access-fukui {
    min-width: 1200px;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1.4fr 1fr;
    grid-template-rows: 0.2fr 1fr 1.3fr 1fr;
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    margin: 0 auto;
}

.access-fukui a {
    font-size: 0.8em;
}

.access-fukui p {
    margin-bottom: 0;
}

.access-fukui img {
    width: 100%;
}

.div1 {
    grid-area: 1 / 1 / 2 / 2;
    background-color: #28519b;
    border: 1px solid #000;
    font-size: 1rem;
    width: 200px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    text-align: center;
    font-weight: 600;
    padding: 15px;
    color: #fff;
}

.div2 {
    grid-area: 2 / 1 / 3 / 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.div3 {
    grid-area: 3 / 1 / 4 / 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.div4 {
    grid-area: 4 / 1 / 5 / 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.div5 {
    grid-area: 2 / 3 / 4 / 4;
}

.div6 {
    grid-area: 4 / 3 / 5 / 4;
}

.div7 {
    grid-area: 2 / 4 / 4 / 5;
}

.div8 {
    grid-area: 4 / 4 / 5 / 5;
}

.div9 {
    grid-area: 1 / 5 / 2 / 6;
    border: 1px solid #000;
    background-color: rgb(255 152 42);
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    padding: 15px;
    justify-content: center;
}

.div10 {
    grid-area: 2 / 5 / 5 / 6;
}

.airport-box {
    width: 200px;
    height: 250px;
    margin-right: 20px;
    background-color: cornflowerblue;
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 0.9em;
    font-weight: 600;
    padding: 15px;
    justify-content: center;
}

.airport-box img {
    max-width: 250px;
}

.airport-box span {
    font-size: 0.8em;
}

.station-box {
    background-color: rgb(255, 232, 98);
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 0.9em;
    font-weight: 600;
    padding: 15px;
    justify-content: center;
}

.access-box {
    max-width: 350px;
    padding: 10px;
}

.access-box img {
    max-width: 350px;
}

@media (min-width:768px) {
    .under-content {
        margin-left: 250px;
    }

}

/* Committee */

.committee-list-container table {
    width: 100%;
}

.committee-list-container table tr:nth-child(odd) {
    background-color: aliceblue;
}

.committee-list-container table th {
    width: 30%;
    vertical-align: top;
    font-family: 'Archivo Black', sans-serif;
}

.committee-list-container table td span {
    font-size: 0.8em;
}

.committee-list-container table th,
td {
    padding: 20px;
    border: 1px solid gray;
}

/* Registration */

.registration-table {
    width: 100%;
}

.registration-table th,
.registration-table td {
    border: 1px solid #000;
    padding: 10px;
    text-align: center;
}

.registration-table th {
    background-color: aliceblue;
    font-family: 'Archivo Black', sans-serif;

}

/* Scope */
.history-table tr td {
    margin: 0;
    padding: 0 12px 4px 0;
    border: none;
    text-align: left;
}

.history-year {
    font-weight: bold;
}



/* Speakers */
.under-container {
    display: flex;
    margin-bottom: 32px;
}

.under-container div {
    width: 100%;
    margin-left: 16px;
}

.under-container img {
    display: block;
    object-fit: cover;
}

.under-container div h4 {
    font-size: 1.3rem;
    border-bottom: 1px solid #003A95;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.under-container div span {
    font-size: 1.2rem;
    font-weight: 700;
}

@media screen and (min-width:768px) {
    .under-content {
        margin-left: 250px;
    }
}

@media screen and (max-width:768px) {
    .under-content .container {
        width: 100%;
    }

    .under-container img {
        height: 100%;
        object-fit: cover;
    }
}

/* Accomodation */
.kenmin-hall {
    display: flex;
    box-sizing: border-box;
    border-bottom: 2.5px solid #003A95;
    padding-bottom: 38px;
    margin-bottom: 24px;
}

.kenmin-hall img {
    display: block;
    width: 40%;
    object-fit: cover;
}

.kenmin-hall div {
    margin-left: 24px;
    width: 50%;
}

.kenmin-hall div h4 a {
    color: #000;
    font-size: 1.4rem;
    font-weight: 400;
}

.kenmin-hall div h4 a:hover {
    color: #0055a5;
}

.kenmin-hall div p {
    margin-top: 0;
    padding-top: 0;
    line-height: 1;
}

.cv-container .H3HotelsAround {
    margin-bottom: 10px;
}

.hotels-contents {
    border-bottom: 1px solid #0055a5;
    padding-bottom: 32px;
    margin-bottom: 28px;
    width: 100%;
}

.hotels-contents:last-child {
    border: 0px;
    margin-bottom: 0;
}

.hotels-contents h4 {
    margin-bottom: 16px;
}

.hotels-contents h4 a {
    color: #000;
    font-size: 1.2rem;
    font-weight: 400;
}

.hotels-contents h4 a:hover {
    color: #0055a5;
}

.hotels-contents div dl {
    display: flex;
    color: #000;
}

.hotels-contents div dl:first-child {
    margin-bottom: 16px;
}

.hotels-contents div dl dt {
    display: block;
    width: 8%;
}

.hotels-contents div dl dd {
    margin: 0 0 0 14px;
    width: 100%;
}

.hotels-contents div dd address {
    margin: 0;
}

.hotels-contents div dl dd a {
    text-decoration: none;
    color: #000;
}

.hotels-contents div dl dd a:hover {
    color: #0055a5;
}

.hotels-contents div p {
    margin: 24px 0 0;
}

.hotels-contents div p a {
    box-sizing: border-box;
    display: inline-block;
    text-decoration: none;
    background-color: #003A95;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    padding: 8px 12px;
}

.hotels-contents div p a:hover {
    background-color: #0055a5;
    color: rgba(244, 244, 244, 0.7);
}

.maps-container {
    border-top: 2.5px solid #003A95;
    padding-top: 38px;
    width: 100%;
}

.maps-container .google-map-venue iframe {
    width: 100%;
}

@media screen and (min-width:768px) {
    .under-content {
        margin-left: 250px;
    }
}

@media screen and (max-width:768px) {
    .kenmin-hall {
        display: block;
        box-sizing: border-box;
        border-bottom: 2.5px solid #003A95;
        padding-bottom: 16px;
        margin-bottom: 24px;
    }

    .kenmin-hall img {
        display: block;
        width: 100%;
        object-fit: cover;
        margin-bottom: 16px;
    }

    .kenmin-hall div {
        width: 100%;
        margin: 0;
    }

    .kenmin-hall div h4 a {
        font-size: 1.3rem;
    }

    .hotels-contents div dl {
        display: block;
    }

    .hotels-contents div dl dd {
        margin: 0;
        width: 100%;
    }
}

/* sponsorship */
.sponsorship h3 {
    font-weight: 800;
}

.sponsorship button a {
    font-weight: 600;
    text-decoration: none;
    color: #fff;
}

.sponsorship button {
    background-color: orange;
    border: none;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    margin: 30px auto;
    display: block;
    transition: 0.5s;
}

.sponsorship button:hover {
    background-color: #003A95;
    color: #fff;
}



.sponsorship ol li {
    margin-bottom: 10px;
}

.sponsorship .table-container {
    overflow-x: auto;
}

.sponsorship table {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    min-width: 500px;
}

.sponsorship table thead th {
    text-align: center;
}

.sponsorship table th,
td {
    border: 1px solid gray;
    text-align: center;
    padding: 10px;
}

.sponsorship table tr td:first-child {
    text-align: left;
    font-weight: 600;
}

/* call for paper */

.callfor-button-01 {
    display: inline-block;
    text-align: center;
    width: 100%;
    max-width: 350px;
    padding: 15px;
    background-color: #FF7F32;
    color: white;
    text-decoration: none;
    font-size: 16px;
    border-radius: 8px;
    font-weight: bold;
    margin-bottom: 10px;
}

.callfor-button-02 {
    padding: 20px 40px;
    background-color: #003A95;
    width: 100%;
    max-width: 350px;
    color: white;
    font-size: 18px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    display: block;
    text-align: center;
    margin: 0 auto;
}

@media (min-width:768px) {

    .callfor-button-container {
        display: flex;
        justify-content: center;
        gap: 40px;
        margin-top: 30px;
    }

}

/* jjap */

.jjap-button-container {
    margin-bottom: 20px;
    text-align: center;
}

.jjap-button-container a {
    display: block;
    background-color: #FF8C00;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    width: 100%;
    max-width: 280px;
    margin: 10px auto;
}

.manuscript-button {
    display: block;
    text-align: center;
    background-color: #27408B;
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    border-radius: 4px;
    max-width: 280px;
    margin: 20px auto;
}