/* ========================================
     header
 ========================================= */
/* ======================
    pc版 
   ===================== */
header {
    width: 100%;
    max-width: 1920px;
    top: 0;
    z-index: 10;
}

.header-top {
    width: 100%;
    background-color: #707e9a;
    height: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.header-top a {
    text-decoration: none;
}

.header-top h1 {
    color: #FFFFFF;
    font-size:clamp(1.8rem, 2.3vw, 3.0rem);
    /* font-size: min(2.3vw, 2.0rem); */
    font-weight: bold;
    padding: 20px;
    letter-spacing: 0.15rem;
    line-height: 1.2;
    text-align: center;
}

/* .title-span01 {
    font-size: 1.4rem;
    vertical-align: 10px;
} */

/* .title-span02 {
    font-size: 1.4rem;
} */

.title-span03 {
    /* font-size: 1.4rem; */
    font-size:clamp(1.4rem, 1.6vw, 2.0rem);
    display: block;
    text-align: center;
}

.header-top p {
    color: #FFFFFF;
    font-size: min(1.25vw, 1.6rem);
    /* padding: 0px 40px; */
}

.header-date-place{
    display: none;
}

.menu-message-wrapper{
    width: 40%;
}

/* ====== menu-listの記述 　======  */
.menu-list{
    display: flex;
    justify-content: space-between;
}
.menu-list li {
    list-style: none;
    margin-right: 10px;
}
.menu-list li span{
    display: none;
}

.menu-list li a{
    color: #FFFFFF;
    font-size: min(1.10vw, 1.6rem);
    font-weight: bold;
}
/* ====== menu-listの記述 ここまで　======  */

.menu-message-wrapper p{
    color: #FFFFFF;
    font-size: min(1.25vw, 1.2rem);
    margin-top: 5px;
}

/* ====== message-listの記述 　======  */
.message-list{
    display: flex;
    justify-content: space-between;
    color: #FFFFFF;
}

.message-list li {
    list-style: none;
}
.message-list li a{
    color: #FFFFFF;
    font-size: min(1.25vw, 1.4rem);
}
/* ====== message-listの記述 ここまで　======  */

/* ====== nav-snsの記述 　======  */
.nav-sns {
    display: flex;
    flex-wrap: wrap;
    justify-content: right;
    width: 50%;
    margin: 0;
    padding: 0;
    row-gap: 20px;

    position: fixed;
    z-index: 99999;
    bottom: 40px;
    right: 40px;
}

.nav-sns div {
    width: 40px;
    margin: 0 7px;
}

.nav-sns a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin: 0;
}

.nav-sns img {
    width: 25px;
}

.nav-sns div:nth-of-type(1) img {
    width: 20px;
}
.nav-sns div:nth-of-type(4) img {
    width: 40px;
}
.nav-sns div:nth-of-type(5) img {
    width: 30px;
}

.nav-sns div:nth-of-type(1) a {
    background-color: #000000;
    border-radius: 50%;
}

.nav-sns div:nth-of-type(2) a {
    background-color: #FFFFFF;
    border-radius: 50%;
}

.nav-sns div:nth-of-type(3) a {
    background-color: #1877f2;
    border-radius: 50%;
}
.nav-sns div:nth-of-type(5) a {
    background-color: #e52d27;
    border-radius: 50%;
}

.nav-sns div:nth-of-type(6) a {
    background-color: #A9C2CC;
    border-radius: 50%;
}
/* ====== nav-snsの記述 ここまで　======  */

/* ====== jp-en-switcher(Bogoプラグイン使用)の記述 ここまで　======  */
#jp-en-switcher{
    width: 100px;
}

#jp-en-switcher a{
    color: #FFF;
}

#jp-en-switcher ul{
    display: flex;
    width: 100px;
    text-align: center;
}

#jp-en-switcher ul li{
    width: 50px;
}
#jp-en-switcher ul li:nth-of-type(1){
    border-right: solid 0.5px #fff;
}

#jp-en-switcher ul li:nth-of-type(2){
    border-left: solid 0.5px #fff;
}
/* ====== jp-en-switcherの記述 ここまで　======  */

 /* ====== languageの記述 ======  */

.language-wrapper {
    position: relative;
    /* display: inline-block; */
  }
.lang-img-and-text{
    display: flex;
    justify-content: left;
    align-items: center;
}
.lang-img-and-text figure{
    width: 25px;
    height: auto;
    margin-top: 5px;
}
.lang-img-and-text figure img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.language-toggle{
    color: #fff;
    padding: 0px 10px;
    font-size: min(1.10vw, 1.6rem);
}
  .language-wrapper #language-switcher {
    display: none;
  }
  
  #language-switcher {
    display: none; 
    position: absolute;
    top: 100%; 
    left: 0;
    /* color: #fff; */
    text-decoration: none;
    background-color: white;
    /* border: 1px solid #ccc; */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  #language-switcher ul {
    display: none;
    list-style: none;
    width: 125px;
    padding: 5px;
  }
  #language-switcher a{
    width: 100%;
    color: #000;
    text-align: left;
  }

  .language-wrapper:hover #language-switcher ul{
    display: block; 
  }
 /* ====== languageの記述 ここまで　======  */

/* ======================
    tb版 
   ===================== */
/* なし */
/* ======================
    sp版 
   ===================== */
@media screen and (max-width:767px) {
    .header-top {
        flex-flow: column;
        height: 140px;
        text-align: center;
        justify-content: space-evenly;
    }

    .header-top h1 {
        width: 100%;
        font-size: min(5.0vw, 2.0rem);
        padding: 5px;
    }

    .title-span01 {
        font-size: min(5.0vw, 2.0rem);
        vertical-align: 0px;
    }
    
    /* .title-span02 {
        font-size: 1.4rem;
    } */
    
    .title-span03 {
        font-size: 1.2rem;
        display: block;
        text-align: center;
    }

    .header-top p {
        width: 100%;
        font-size: min(3.0vw, 1.6rem);
    }

    .header-top form {
        display: none;
    }

    .header-top_language {
        padding: 5px;
    }

    .header-top_language a {
        font-size: min(3.0vw, 1.6rem);
        padding: 0px 5px;
    }

    .header-date-place{
        display: none;
    }

    .menu-message-wrapper, .nav-sns{
        display: none;
    }
    .language-toggle{
        font-size: min(3.5vw, 1.6rem);
    }

    .jp-en-switcher{
        font-size: min(3.5vw, 1.6rem);
    }

}

/* ======================
    pc版 
   ===================== */
.header-sponsor {
    width: 100%;
    background-color: #CAD2C7;
    height: 70px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.header-sponsor h2 {
    display: inline;
    font-size: 1.6rem;
}

.header-sponsor div:nth-of-type(1) {
    width: 15%;
    text-align: center;
}

.header-sponsor div:nth-of-type(2) {
    width: 85%;
    overflow: hidden;
    display: flex;
}

.header-sponsor ul {
    display: flex;
    justify-content: space-around;
    padding: 0px 40px;
    gap: 0px 80px;
    animation: loop-slide 30s infinite linear 0.5s both;
}

@keyframes loop-slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.header-sponsor li {
    list-style: none;
}

.header-sponsor img {
    height: 40px;
    width: auto;
}

.header-sponsor li:nth-of-type(6) {
    background-color: #FFFFFF;
}

.bottom-nav {
    display: none;
}

/* ======================
    sp版 tb版
   ===================== */
@media screen and (max-width:1024px) {
    .header-sponsor {
        height: 50px;
    }

    .header-sponsor h2 {
        font-size: 1.2rem;
    }

    .header-sponsor ul {
        padding: 0px 12px;
        gap: 0px 24px;
    }

    .header-sponsor img {
        height: 30px;
    }

    .bottom-nav {
        display: flex;
        justify-content: space-around;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 56px;
        background-color: #707e9a;
        z-index: 10;
    }

    .bottom-nav a {
        text-decoration: none;
    }

    .bottom-nav ul {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .bottom-nav li {
        list-style: none;
        width: 20%;
        text-align: center;
    }

    .bottom-nav figure {
        display: table;
        width: 100%;
    }

    .bottom-nav figure div {
        height: 32px;
    }

    .bottom-nav figure img {
        width: 24px;
        margin-top: 6px;
    }

    .bottom-nav figcaption {
        font-size: 12px;
        color: #FFFFFF;
        display: table-caption;
        caption-side: bottom;
    }

    /* ハンバーガーメニュー */
    .openbtn1 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
        cursor: pointer;
        z-index: 9999;
        width: 75px;
        padding-top: 14px;
        margin: auto;
    }

    .openbtn1 div {
        height: 2px;
        width: 30px;
        background: #fff;
        margin: 3px;
        z-index: 10000;
        transition: all .4s;
    }

    .openbtn1 span {
        z-index: 10000;
    }

    .openbtn1 span::after {
        color: #fff;
        font-size: 1.2rem;
        width: 100%;
    }

    .openbtn1.active div:nth-of-type(1) {
        transform: translateY(6px) rotate(-45deg);
        width: 30px;
    }

    .openbtn1.active div:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn1.active div:nth-of-type(3) {
        transform: translateY(-9px) rotate(45deg);
        width: 30px;
    }

    .openbtn1.active span::after {
        /* content: "閉じる"; */
        color: #fff;
        z-index: 10000;
    }

    /*========= ナビゲーションのためのCSS ===============*/

    /*アクティブになったエリア*/
    #g-nav.panelactive {
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position: fixed;
        z-index: 999;
        top: 0;
        width: 100%;
        height: 100vh;
        background: #c9cacd;
    }

    /*ナビゲーションの縦スクロール*/
    #g-nav-list {
        display: none;
        /*はじめは表示なし*/
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    #g-nav.panelactive #g-nav-list {
        display: block;
        /*クラスが付与されたら出現*/
    }

    /*ナビゲーション*/
    #g-nav ul {
        opacity: 0;
        /* ;はじめは透過0 */
        /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
        z-index: 999;
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        margin: 0;
        gap: 10px;
        /* アイテム間の隙間を追加 */
    }

    #g-nav ul:nth-of-type(1) {
        padding: 40px 0px 30px 0px;
    }

    #g-nav ul:nth-of-type(2) {
        padding: 0px 0px 20px 0px;
    }

    /*背景が出現後にナビゲーションを表示*/
    #g-nav.panelactive ul {
        width: 100%;
        opacity: 1;
    }

    /* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
    #g-nav.panelactive ul li {
        animation-name: gnaviAnime;
        animation-duration: 1s;
        animation-delay: .2s;
        /*0.2 秒遅らせて出現*/
        animation-fill-mode: forwards;
        opacity: 0;
        text-align: center;
        flex: 1 1 calc(50% - 10px);
        /* 各アイテムの幅を設定し、隙間を考慮 */
        box-sizing: border-box;
    }

    .bottom-nav_language {
        display: flex;
        justify-content: center;
        animation-name: gnaviAnime;
        animation-duration: 1s;
        animation-delay: .2s;
        /*0.2 秒遅らせて出現*/
        animation-fill-mode: forwards;
        opacity: 0
    }

    .bottom-nav_language a {
        font-size: 2.0rem;
        text-decoration: none;
        color: #FFFFFF;
        padding: 0px 10px;
    }

    .bottom-nav_sns {
        display: flex;
        flex-wrap: wrap;
        justify-content: left;
        width: 90%;
        margin: 0 auto;
        padding: 40px 0px 40px 0px;
        animation-name: gnaviAnime;
        animation-duration: 1s;
        animation-delay: .2s;
        /*0.2 秒遅らせて出現*/
        animation-fill-mode: forwards;
        opacity: 0;
        
    }

    .bottom-nav_sns div {
        width: 25%;
        padding: 0;
        margin: 0 0 20px;
    }

    .bottom-nav_sns a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50px;
        height: 50px;
        margin: 0;
        /* display: block;
        width: 40px;
        height: 40px;
        margin: 0 auto; */
    }

    .bottom-nav_sns img {
        width: 30px;
        margin: 0 auto;
        /* padding: 5px; */
        /* display: block;
        margin: auto; */
    }
    
    .bottom-nav_sns div:nth-of-type(1) img{
        width: 25px;
    }
    .bottom-nav_sns div:nth-of-type(4) img{
        width: 45px;
    }
    .bottom-nav_sns div:nth-of-type(5) img{
        width: 35px;
    }


    .bottom-nav_sns div:nth-of-type(1) a {
        background-color: #000000;
        border-radius: 50%;
    }

    .bottom-nav_sns div:nth-of-type(2) a {
        background-color: #FFFFFF;
        border-radius: 50%;
    }

    .bottom-nav_sns div:nth-of-type(3) a {
        background-color: #1877f2;
        border-radius: 50%;
    }

    /* .bottom-nav_sns div:nth-of-type(4) a {
        background-color: #CAD2C7;
        border-radius: 50%;
    } */
    .bottom-nav_sns div:nth-of-type(5) a {
        background-color: #e52d27;
        border-radius: 50%;
    }
    
    .bottom-nav_sns div:nth-of-type(6) a {
        background-color: #A9C2CC;
        border-radius: 50%;
    }


    @keyframes gnaviAnime {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }

    #g-nav li {
        text-align: center;
        list-style: none;
    }

    #g-nav p {
        color: #FFF;
        font-size: 2.0rem;
        text-align: center;
        animation-name: gnaviAnime;
        animation-duration: 1s;
        animation-delay: .2s;
        /*0.2 秒遅らせて出現*/
        animation-fill-mode: forwards;
        opacity: 0
    }

    #g-nav li a {
        color: #FFF;
        text-decoration: none;
        padding: 10px;
        display: block;
        letter-spacing: 0.1em;
        font-weight: bold;
    }
}

/* ======================
    sp版 横向き
   ===================== */
@media (max-height: 430px) and (max-width: 932px) {
    .header-top {
        display: none;
    }

    .header-sponsor {
        display: none;
    }
}

/* ========================================
     sidebar 無しにしたのでコメントアウトで消している(念の為残しておく)
 ========================================= */
/* ======================
    pc版 only
   ===================== */
/* sidebar 開閉 */
/* #toggleButton {
    height: 200px;
    width: 30px;
    margin: 10px;
    padding: 20px 5px;
    background-color: #c9cacd;
    color: #333;
    cursor: pointer;
    position: absolute;
    z-index: 2;
    top: 30%;
    left: -10px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

#toggleButton img{
    margin-top: 10px;
    width: 100%;
}

#toggleButton::before{
    content:"▶︎"
}
#toggleButton:hover {
    background-color: #707e9a;
}
.header-sidebar {
    display: none;
    position: relative;
    transition: transform 0.3s ease;
}

.header-sidebar.open {
    display: block;
    transition: transform 0.3s ease;
}
#toggleButton.open{
    left: 190px;
}
#toggleButton.open::before{
    content:"◀︎"
} */
/* sidebar 開閉 end */

/* .header-sidebar {
    background-color: #c9cacd;
    width: 160px;
    height: calc(100vh - 70px);
    overflow-y: scroll;
    padding: 0px 20px;
}

.header-sidebar::-webkit-scrollbar {
    display: none;
}

.header-sidebar li {
    list-style: none;
    padding: 20px 0px;
}

.header-sidebar a {
    display: block;
    text-decoration: none;
    color: #333333;
    width: 100%;
}

.aside-nav {
    padding: 40px 0px;
    border-bottom: 1px solid #999999;
}

.header-sidebar p {
    padding: 60px 20px 20px 0px;
    font-weight: 600;
}

.header-sidebar ul:nth-of-type(2) {
    padding: 0px 10px;
}

.nav-sns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    padding: 40px 0px 40px 0px;
    row-gap: 20px;
}

.nav-sns div {
    width: 50%;
}

.nav-sns a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin: auto;
}

.nav-sns img {
    width: 30px;
}

.nav-sns div:nth-of-type(1) img {
    width: 28px;
}

.nav-sns div:nth-of-type(1) a {
    background-color: #000000;
}

.nav-sns div:nth-of-type(2) a {
    background-color: #FFFFFF;
}

.nav-sns div:nth-of-type(3) a {
    background-color: #1877f2;
}

.nav-sns div:nth-of-type(4) a {
    background-color: #A9C2CC;
} */

/* ======================
    tb版、sp版
   ===================== */
@media screen and (max-width:1024px) {
    .header-sidebar {
        display: none;
    }
    .header-sidebar.open {
        display: none;
    }
    #toggleButton {
        display: none;
    }
    #toggleButton_menu {
        display: none;
    }
    #toggleButton_menu img{
        display: none;
    }
}