@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.8;
    font-family: "M PLUS 1", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #333;
}

p {
    text-align: justify;
}

body {
    background-color: #f3f2e9;
}

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

section {
    margin-left: 20px;
    margin-right: 20px;
}

.inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* h3 */
h3 {
    margin: 20px auto 20px auto;
    text-align: center;
    font-size: 1.5em;
    font-weight: 600;
    color: #333;
}

/* h4 */
h4 {
    margin: 20px auto 25px auto;
    text-align: center;
    font-size: 1.2em;
    font-weight: 500;
    color: #fff;
}

/* h4のセンターライン */
/* h4 {
    display: flex;
    margin: 20px auto 25px auto;
    align-items: center;
    font-size: 1.2em;
    font-weight: 500;
    background-color: #333;
    color: #fff;
}
h4:before,
h4:after {
    content: "";
    height: 0px;
    flex-grow: 1;
    background-color: #fff;
}
h4:before {
    margin-left: 10px;
    margin-right: 15px;

}
h4:after {
    margin-left: 15px;
    margin-right: 10px;
} */

h5 {
    margin: 20px auto 25px auto;
    align-items: center;
    font-weight: 500;
    color: #333;
    background-color: #fff;
    border: #333 1px solid;
    text-align: center;
}


/* h6 */
h6 {
    margin: 25px auto -5px auto;
    text-align: center;
    font-size: 1.2em;
    font-weight: 500;
    color: #333;
}


/* ページリンク画像のキャプション */
.headline {
    background-color: #39B54A;
    color: #fff;
    text-align: center;
}

/* キービジュアル HOME */
#keyvisual {
    background-color: black;
}

#keyvisual img {
    display: block;
    margin: 0 auto;
}

/* キービジュアル その他のページ */
#keyvisual {
    border-top: 2px solid #fff;
}

#keyvisual p {
    color: #fff;
    text-align: center;
    font-size: 2em;
    font-family: "Marcellus SC", serif;
    font-weight: 400;
    font-style: normal;
}

/*リンクメニュー画像 */
.link_img {
    display: flex;
    justify-content: center;
}

.link_img li {
    width: 32%;
    margin-top: 30px;
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 10px;
}

.link_text {
    font-size: 0.9em;
    text-align: right;
}


/* ヘッダーPC */
#pc {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

#pc_header {
    display: flex;
    width: 100%;
    margin: 0 auto;
    background-color: #006837;
}


#pc_header a {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

#pc_header .title_1 {
    font-size: 2.4em;
    font-family: "Marcellus SC", serif;
    font-weight: 400;
    font-style: normal;
    color: #fff;
}

#pc_header .title_2 {
    font-size: 1.4em;
    font-family: "Sawarabi Mincho";
    margin-bottom: 10px;
    color: #fff;
    align-items: center;
}


/* ナビゲーションメニュー */

/* .nav-menu-main {
  color: #fff;
} */
/* メニューテキストの色 */

/* .nav-menu-main{
  margin-left: auto;
  margin-right:auto;
} */

#pc .nav-menu-list {
    border-top: 2px solid #fff;
    border-bottom: 2px, solid, #fff;
    background-color: #39B54A;
    display: flex;
    justify-content: center;
    /* メニューアイテムを中央揃えに */
}

#pc .nav-menu-item {
    position: relative;
    transition: background-color .3s;
    /* 背景色の変化をアニメーション化 */
}

/* メニューアイテムのホバースタイル */
#pc .nav-menu-item:hover .nav-drop-menu-list {
    transform: scaleY(1);
    /* ドロップダウンメニューの表示 */
}

#pc .nav-menu-item:hover {
    background-color: #006837;

    /* メニューアイテムのホバー時の背景色 */
    transition: background-color .3s;
    /* 背景色の変化をアニメーション化 */
}


#pc .nav-menu-item li:nth-child(1) {
    background-color: #006837;
}


#pc .nav-drop-menu-item:hover {
    opacity: .8;
    /* ドロップダウンメニューアイテムのホバー時の不透明度 */
    transition: opacity .3s;
    /* 不透明度の変化をアニメーション化 */
}

#pc .nav-menu-item a {
    align-items: center;
    color: #fff;
    display: flex;
    height: 45px;
    justify-content: center;
    width: 130px;
    font-size: 0.85em;
    text-align: center;
    font-weight: 400;
    line-height: 1.2em;
}

#pc .nav-drop-menu-item a {
    border-top: 1px dotted #fff;
}

#pc .nav-drop-menu-ite a :first-of-type {
    border-top: none;
}

/* ドロップダウンメニュー */
#pc .nav-drop-menu {
    position: relative;
}

#pc .nav-drop-menu-list {
    left: 0;
    position: absolute;
    top: 100%;
    transform: scaleY(0);
    /* ドロップダウンメニューの非表示 */
    transform-origin: center top;
    /* 変形を適応する基準を設定 */
    transition: transform .3s;
    /* 表示の変化をアニメーション化 */
    width: max-content;
    z-index: 100;
}

#pc .nav-drop-menu-item {
    background-color: #006837;
    /* ドロップダウンメニューの背景色 */
    transition: opacity .3s;
    /* 不透明度の変化をアニメーション化 */
}

/* ヘッダーPC　ここまで */



/* ヘッダー　モバイル */
#mob {
    height: 350px;
    margin-top: -270px;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

#mob_header {
    display: flex;
    width: 100%;
    margin: 0 auto;
    background-color: #006837;
}

#mob_header a {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding-right: 30px;
}

#mob_header .title_1 {
    font-size: 1.3em;
    font-family: "Marcellus SC", serif;
    font-weight: 400;
    font-style: normal;
    color: #fff;

}

#mob_header .title_2 {
    font-size: 1em;
    font-family: "Sawarabi Mincho";
    margin-bottom: 10px;
    color: #fff;
}

#mob_header .container {
    position: relative;
    width: 100%;
    height: 300px;
    margin-top: -10px;
    z-index: 201;
}

.hamburger-menu {
    width: 25px;
    height: 25px;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    user-select: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.line {
    background-color: #fff;
    height: 2px;
    width: 100%;
    position: absolute;
    transition: all 0.3s;
}

.line:nth-of-type(1) {
    top: 2px;
}

.line:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
}

.line:nth-of-type(3) {
    bottom: 2px;
}

.menu-text {
    position: absolute;
    bottom: -13px;
    font-size: 10px;
    color: #fff;
    transition: all 0.3s;
    white-space: nowrap;
}

.close-text {
    position: absolute;
    bottom: -13px;
    font-size: 10px;
    color: #fff;
    transition: all 0.3s;
    white-space: nowrap;
    opacity: 0;
}

.hamburger-menu.active>.line:nth-of-type(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger-menu.active>.line:nth-of-type(2) {
    display: none;
}

.hamburger-menu.active>.line:nth-of-type(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

.hamburger-menu.active .menu-text {
    opacity: 0;
}

.hamburger-menu.active .close-text {
    opacity: 1;
}

.nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 45%;
    right: -15px;
    transform: translate(-50%, -50%);
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    width: 200px;
    background-color: #fff;
    border: 1px solid #ccc;
    opacity: 0;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    max-height: auto;
    margin-top: 30px;
}

.nav-menu.active {
    display: flex;
    animation: fadeIn 0.5s forwards;
}

.nav-menu a {
    font-size: 0.8em;
    text-decoration: none;
    color: black;
    padding: 5px;
    margin: 5px;
}

/* 展示品の画像 */

.junp ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.junp li {
    margin-bottom: 15px;
}

/* 戦時中のポスター */
.junp_2 ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* 詳しくは　のアコーディオン化 */
.button {
    position: relative;
    display: block;
    line-height: 35px;
    font-size: 0.9em;
    text-align: end;
    cursor: pointer;
    margin-top: -30px;
    padding-top: 30px;
}


.detail {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    width: fit-content;
    text-align: left;
    padding: 10px;
    background-color: #fff;
    border: 0px solid #000;
    font-size: 0.9em;
    line-height: 1.5em;
    margin-bottom: 20px;
    cursor: pointer;
    margin-top: 30px;
    /* border: 1px #333 solid; */
    z-index: 10;
    box-shadow: 0 0 3px rgba(0, 0, 0, 5) inset;

}


/* 詳細アコーデオンの文字 */
.detail span {
    font-weight: 600;
}

.detail p {
    font-size: 1em;
    line-height: 1.5;
}

.close {
    text-align: end;
}


/* 下部の博物館情報_PC（ガイダンス） */
.guide_pc {
    margin-top: 40px;
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
    background-color: #fff;
    border: 1px, solid, #333;
    border-radius: 15px;
}

.guide_pc p {
    font-size: 0.9em;
    text-align: center;
}

.guide_pc img {
    display: inline;
    margin-top: 10px;
    width: 40px;
}

/* 下部の博物館情報_mob（ガイダンス） */
.guide_mob {
    margin-top: 40px;
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
    background-color: #fff;
    border: 1px, solid, #333;
    border-radius: 15px;
}

.guide_mob p {
    font-size: 0.9em;
    text-align: center;
}

.guide_mob img {
    display: inline;
    margin-top: 10px;
    width: 40px;
}

/* 下部の博物館情報　ここまで */


/* フッター */
footer {
    background-color: #006837;
    padding: 10px;
    margin-top: 35px;
    color: #fff;
    text-align: center;
}

footer p {
    font-size: 0.8em;
    color: #fff;
    text-align: center;
}

/* フッター　ここまで */



/* キービジュアル H2フェードイン */
@keyframes fadeIn {
    0% {
        top: 45%;
        opacity: 0;
    }

    100% {
        top: 50%;
        opacity: 1;
    }
}

/* 以下レスポンシブ対応指示　共通 */

/* ページ内ジャンプの位置調整 */
@media screen and (min-width:901px) {
    .junp {
        display: block;
        padding-top: 170px;
        margin-top: -170px;
    }
}

@media screen and (max-width:900px) {
    .junp {
        display: block;
        padding-top: 90px;
        margin-top: -90px;
    }

    p {
        font-size: 15px;
    }
}



/* ヘッダー/ナビ */
/* 901px以上 */
@media screen and (min-width:901px) {

    /* pcヘッダー消す */
    #mob {
        display: none;
    }

    .inner {
        max-width: 1200px;
    }
}

/* 900px以下 */
@media screen and (max-width:900px) {

    /* pcヘッダー消す */
    #pc {
        display: none;
    }

    /* モバイルヘッダー　900px-641px */
    #mob {
        height: 350px;
        margin-top: -256px;
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        z-index: 99;
    }

    #mob_header .title_1 {
        font-size: 1.6em;
        font-family: "Marcellus SC", serif;
        font-weight: 400;
        font-style: normal;
        color: #fff;

    }

    #mob_header .title_2 {
        font-size: 1.4em;
        font-family: "Sawarabi Mincho";
        margin-bottom: 10px;
        color: #fff;
    }
}

@media screen and (max-width:480px) {

    /* モバイルヘッダー　480px以下 */
    #mob {
        height: 350px;
        margin-top: -274px;
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        z-index: 99;
    }

    #mob_header .title_1 {
        font-size: 1.3em;
        font-family: "Marcellus SC", serif;
        font-weight: 400;
        font-style: normal;
        color: #fff;

    }

    #mob_header .title_2 {
        font-size: 1.3em;
        font-family: "Sawarabi Mincho";
        margin-bottom: 10px;
        padding-left: 45px;
        color: #fff;
    }
}

/* スライドショー */
@media screen and (min-width:641px) {
    .mob_slides {
        display: none;
    }
}

@media screen and (max-width:640px) {
    .pc_slides {
        display: none;
    }
}

/* スライドショーimg大きさ */
@media screen and (max-width:1300px) {
    .pc_slides img{
       max-width: 980px ;        
    }
}

@media screen and (max-width:980px) {
    .pc_slides img{
       max-width: 840px ;        
    }
}


@media screen and (max-width:840px) {
    .pc_slides img{
       max-width: 640px ;        
    }
}



/* 館内リンク画像 */
@media screen and (max-width:640px) {
    .link_img p {
        font-size: 0.9em;
    }

    .link_img li {
        width: 48%;
    }

    .link_img {
        justify-content: space-between;
        margin-left: -10px;
        margin-right: -10px;
    }
}

/* 下部の博物館案内　共通 */
/* 601px以上 */
@media screen and (min-width:601px) {
    .guide_mob {
        display: none;
    }
}

/* 600px以下 */
@media screen and (max-width:600px) {
    .guide_pc {
        display: none;
    }
}



@media screen and (min-width:640px) {

    /* 展示物写真3カラム */
    .junp li {
        width: 32%;
    }

    /* 戦時中のポスター 6カラム */
    .junp_2 li {
        width: 14%;
        margin-bottom: 15px;
    }

}

@media screen and (max-width:900px) {

    /* 展示物写真 2カラム */
    .junp li {
        width: 48%;
    }

    /* 戦時中のポスター 3カラム */
    .junp_2 li {
        width: 32%;
        margin-bottom: 15px;
    }

}

@media screen and (max-width:640px) {

    /* 展示物写真 1カラム */
    .junp li {
        width: 100%;
    }

}