/*基本レイアウト/余白*/
section {
    box-sizing: border-box;
}
.pb1em {
    padding-bottom: 1em;
}
.pb2em {
    padding-bottom: 2em;
}
.p3em {
    padding-bottom: 3em;
}
.inner80 {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
.inner90 {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/*基本レイアウト（横並び）*/
.df {
    display: flex;
    flex-wrap: wrap;
}
/*基本レイアウト２カラムの画像*/
.column2 {
    display: flex;
    justify-content: space-between;
}
/*見出し*/
.midashi-s {
    margin: 0 auto;
    padding: 1em 0;
}
.midashi-l {
    margin: 0 auto;
    padding: 1em 0;
}

/*文字装飾*/
.underline_yellow{
text-decoration: underline;
  text-decoration-thickness: 0.5em;
  text-decoration-color: rgba(255, 228, 0, 0.4);
  text-underline-offset: -0.2em;
  text-decoration-skip-ink: none;
 }
/* 共通ボタン */
a.button_simple,
button.button_simple
 {
position: relative;
    padding: 0.25em 0.5em;
    text-decoration: none;
    margin: 1rem auto;
    display: flex;
    width: 90%;
    text-align: center;
    color: #FFF;
    border-radius: 4px;
    box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.2), inset 0 -4px 0 rgba(0, 0, 0, 0.05);
    font-size: 3rem;
    font-weight: bold;
    aspect-ratio: 1 / .15;
    align-content: center;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
        }
        a.button_simple.mini, button.button_simple.mini {
    position: relative;
    padding: 0.25em 0.5em;
    text-decoration: none;
    margin: 1rem auto;
    display: flex;
    width: 50%;
    text-align: center;
    color: #FFF;
    border-radius: 4px;
    box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.2), inset 0 -4px 0 rgba(0, 0, 0, 0.05);
    font-size: 2rem;
    font-weight: bold;
    aspect-ratio: 1 / .15;
    align-content: center;
    align-items: center;
    justify-content: center;
}

a.button_simple:active,
button.button_simple:active
{
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.30);
}
a.button_simple.orange,
button.button_simple.orange{
  background-image: linear-gradient(0deg, #f07900, #f7a600);
      border: solid 2px #d27d00;
}
a.button_simple.blue,
button.button_simple.blue{
  background-image: linear-gradient(0deg, #1a76d3, #41adf7);
      border: solid 2px #1a76d3;
}
/* ボトムにfix */
a.button_simple.fix_bottom {
    position: fixed;
    bottom: 10px;
    max-width: 390px;
    left: 50%;
    transform: translateX(-50%);
}
/* ふきだし */
.speechBubble {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  padding: 16px;
  border: 2px solid #000000;
  border-radius: 8px;
  background-color: #ffffff;
  text-align: left;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  color: #000000;
  width: 90%;
    left: 50%;
    transform: translateX(-50%);
}
/* _bl（ボトムレフト） */
.speechBubble._bl::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 21%;
  border-style: solid;
  border-width: 20px 0 0 20px;
  border-color: #000000 transparent transparent;
  translate: -50% 100%;
}
.speechBubble._bl::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 21%;
  border-style: solid;
  border-width: 15.2px 0 0 15.2px;
  border-color: #ffffff transparent transparent;
  translate: calc(-50% + 0.4px) 100%;
}
/* _br（ボトムライト） */
.speechBubble._br::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 79%;
  border-style: solid;
  border-width: 20px 20px 0 0;
  border-color: #000000 transparent transparent;
  translate: -50% 100%;
}
.speechBubble._br::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 79%;
  border-style: solid;
  border-width: 15.2px 15.2px 0 0;
  border-color: #ffffff transparent transparent;
  translate: calc(-50% - 0.4px) 100%;
}
  /*****************************/
  /*フッターメニュー*/
  /***************************/
div#nav {
position: fixed;
    bottom: 20px;
    width: 100%;
    max-width: 390px;
    left: 50%;
    transform: translateX(-50%);
        }
@media (max-width: 960px) {
div#nav {max-width: 500px;}
  }

div#nav .obi {
    background: black;
    opacity: .8;
    height: 50px;
    position: relative;
    bottom: 0;
    z-index: 1;
    width: 100%;
}
div#nav .menu {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: flex-end;
    flex-direction: row;
    flex-wrap: wrap;
    z-index: 10;
    position: absolute;
    bottom: 5px;
}
div#nav .menu li {
    width: 22%;
    padding: 0 5px;
    transition: .2s;
}
div#nav .menu li:active {
    width: 20%;
}
div#nav .menu li:nth-child(1) {
    width: 19%;
        transition: .2s;
}
div#nav .menu li:nth-child(1):active {
    width: 17%;
}
  /*****************************/
  /*トップページ*/
  /***************************/
.odekaketest #wrap,
.odekake #wrap
{
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
    box-sizing: border-box;
    background: none;
    padding: 0;
    position: relative;
}
@media (max-width: 960px) {
.odekaketest #wrap,.odekake #wrap {max-width: 500px;}
  }

.odekaketest .contents,
.odekake .contents
{
    position: relative;
    background: #fffceb;
    background-image: url(https://www.manavi.zoshindo.co.jp/wp-content/themes/manavi-2019/images/odekake/top_bg.webp);
    background-size: cover;
        height: 100dvh;
        padding-top: 2vh;
}
section.top-1 {
width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    }
section.top-1 img.logo {
}
section.top-1 img.fuuchan{
    width: 60%;
    margin-top: -16%;
}
section.top-1 img.fuuchan {
  animation: floating-y 1.5s ease-in-out infinite alternate-reverse;
}
@keyframes floating-y {
  0% {
    transform: translateY(-5%);
  }
  100% {
    transform: translateY(5%);
  }
}
section.top-2 {
width: 60%;
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%) translateY(-10%);
    margin-bottom: 0;
    margin-top: 0;
        }
section.top-2 ul li {
    background: black;
    opacity: .8;
    text-align: center;
    margin: 10px 0;
line-height: 6vh;
    height: 6vh;
    font-size: 3vh;
    }
section.top-2 ul li:nth-child(2) {
    opacity: .6;
}
section.top-2 ul li a {
    color: white;
}
section.top-3 {
position: absolute;
    width: 100%;
    bottom: 5%;
    margin-bottom: 0;
    margin-top: 0;
    transform: translateY(-5%);
            }
section.top-3 p {
    background: white;
    opacity: .8;
    text-align: center;
    height: 4vh;
    line-height: 4vh;
    font-size: 2vh;
}
section.top-3 p a{
    color: black;
    display: block;
    }
  /*****************************/
  /*基本ページ*/
  /***************************/
.forparents .contents,.update .contents {
    padding-top: 2em;
    padding-bottom: 2em;
}
.forparents h1{
    width: 70%;
    margin: 0 auto;
}
.update h1{
    width: 55%;
    margin: 0 auto;
}
  /*****************************/
  /*更新情報*/
  /***************************/

.update .contents .update_2 ul li span {
    display: block;
}
.update .contents .update_2 ul li {
    margin-bottom: 2em;
}
.update .contents .update_2 ul li span {
    color: #41adf7;
}

  /*****************************/
  /*保護者の方へ*/
  /***************************/
.forparents .forparents_2 .text ul li{
    margin-bottom: 2em;
}
.forparents .forparents_2 .text ul li div {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: flex-start;
    align-items: center;
    margin-bottom: 1em;
    justify-content: space-evenly;
    }
.forparents .forparents_2 .text ul li:nth-child(1) div img {
    width: 27%;
}
.forparents .forparents_2 .text ul li:nth-child(2) div img {
    width: 17%;
}
.forparents .forparents_2 .text ul li:nth-child(3) div img {
    width: 22%;
}
.forparents .forparents_2 .text ul li div h3 {
    font-size: 130%;
    color: #1a76d2;
    margin-left: 5%;
    font-weight: 900;
    width: 65%;
    line-height: 1.2em;
    text-align: justify;
}
.forparents .forparents_3 .text ol {
   list-style:none;
    counter-reset: count;
    padding:0;
}

.forparents .forparents_3 .text ol li {
    padding: 10px;
    margin-bottom: 5px;
    font-size: 20px;
    display: flex;
    position: relative;
}
.forparents .forparents_3 .text ol li:before  {
content: counter(count);
    counter-increment: count;
    display: flex;
    width: 40px;
    height: 40px;
    line-height: 1.2em;
    text-align: center;
    border-radius: 4px;
    margin-right: 0.5em;
    font-size: 20px;
    color: white;
    background-color: rgb(26 118 210);
    margin-bottom: 10px;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    }
.forparents .forparents_3 .text ol li::after {
    content: "";
    background-image: url(https://www.manavi.zoshindo.co.jp/wp-content/themes/manavi-2019/images/odekake/forparents_arrow.webp);
    width: 40px;
    height: 40px;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 45%;
    bottom: -10%;
}
.forparents .forparents_3 .text ol li:last-child::after {
    content: none;
}
.forparents .forparents_3 .text ol li p {
    width: 90%;
}
.forparents .forparents_3 .text ol li p a {
    width: 50%;
    display: inline-block;
    vertical-align: middle;
}

.forparents .forparents_4 .text ul li {
    margin-bottom: 1em;
}
  /*****************************/
  /*イントロダクション*/
  /***************************/
  .introduction_1 {
      overflow-x: hidden;
      position: relative;
      padding-bottom: 3em;
    }

.introduction_1 .slider-container {
      position: relative;
      width: 100%;
      overflow: hidden;
    }

.introduction_1 .slider-container .slides_story {
      display: flex;
      transition: transform 0.5s ease;
      /*width: 800%;  8枚分 */
    }

.introduction_1 .slider-container .slides_story .slide_story {
min-width: 100%;
    box-sizing: border-box;
    padding: 2rem;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 1.7vh;
            }
.introduction_1 .slider-container .slides_story .slide_story p {
    height: 30%;
}
.introduction_1 .slider-container .slides_story .slide_story p span {
    color: #f46c42;
}
    /* ナビゲーションボタン */
.introduction_1 .nav-btn {
position: absolute;
    bottom: 5px;
    padding: 7px 14px;
    font-size: 1rem;
    background: #1978ce;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
        }

.introduction_1 .prev-btn {
      left: 20px;
      display: none; /* 最初は非表示 */
    }

.introduction_1 .next-btn {
      right: 50px;
    }
.introduction_2 {
    background: #e5d5be;
}
.introduction .introduction_2 ul.memo {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: -3em;
}
.introduction .introduction_2 ul li {
    width: 45%;
}
.introduction .introduction_2 .character {
    width: 50%;
   margin: -1em auto;
}
.introduction_2 .list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
        margin-top: -3em;

}
.introduction_2 .list .modal_introduction img {
    width: 80%;
    margin: 0 auto;
}
    body.modal-open {
      overflow: hidden; /* 背景のスクロール禁止 */
    }
.introduction_2 .list .memo {
    width: 50%;
}

.introduction_2 .list .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.6);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

.introduction_2 .list  .modal_introduction {
      background: #eae5df;
      width: 90%;
      max-width: 500px;
      max-height: 80%;
      border-radius: 10px;
      overflow-y: auto; /* モーダル内はスクロール可能 */
      padding: 20px;
      position: relative;
    }
.introduction_2 .list  .modal_introduction p {
font-size: 14px;
    background: white;
    padding: 1em 1em 98px;
    border-radius: 1em;
    line-height: 1.6em;
    background-image: url(https://www.manavi.zoshindo.co.jp/wp-content/themes/manavi-2019/images/odekake/introduction_memo_hozen.webp);
    background-size: 100px;
    background-position: bottom right;
    background-repeat: no-repeat;
        }
.introduction_2 .list  .modal_introduction img {
      max-width: 100%;
      border-radius: 6px;
      margin-bottom: 1rem;
    }

.introduction_2 .list .open-modal {
      cursor: pointer;
    }

section.introduction_3 {
    background-color: #fffceb;
    background-image: radial-gradient(#ffcc80 20%, transparent 20%), radial-gradient(#ffca7a 20%, transparent 20%);
    background-size: 10px 10px;
    background-position: 0 0, 5px 5px;
    padding-top: 3em;
    padding-bottom: 3em;
}
    /* メニュー部分 */
.introduction_3 .tab-menu {
      display: flex;
      justify-content: space-around;
      margin-bottom: 20px;
          padding-bottom: 1em;
    }
.introduction_3 .tab-menu button {
      background: none;
      border: none;
      cursor: pointer;
      padding: 10px;
      font-size: 24px;
    }
.introduction_3 .tab-menu button.active {
      color: #0078ff;
    }
    /* コンテンツ部分 */
.introduction_3 .tab-content {
      display: none;
      text-align: center;
      animation: fade 0.3s ease-in-out;
      width: 90%;
    margin: 0 auto;
    }
.introduction_3 .tab-content.active {
      display: block;
    }
.introduction_3 .tab-content img {
      max-width: 100%;
      height: auto;
      border-radius: 8px;
    }
    @keyframes fade {
      from { opacity: 0; }
      to { opacity: 1; }
    }
.introduction_3 .tab-content .text {
	text-align: justify;
}
.introduction_3 .tab-content ul {
	text-align: justify;
}
.introduction_3 .tab-content .text {
line-height: 1.3em;
    padding-top: 1em;
}
.introduction_3 .tab-content#tab1 .text {
    border-top: 3px solid #f67901;
}
.introduction_3 .tab-content#tab2 .text {
    border-top: 3px solid #ce121f;
}
.introduction_3 .tab-content#tab3 .text {
    border-top: 3px solid #493d77;
}
.introduction_3 .tab-content#tab4 .text {
    border-top: 3px solid #2ea45a;
}
.introduction_3 .tab-content .list {
    margin-top: 1em;
}
.introduction_3 .tab-content .list li {
    margin-bottom: .5em;
}
.introduction_3 .tab-content .list span {
    color: white;
    margin-right: .5em;
    width: 5em;
    display: block;
    text-align: center;
    
}
.introduction_3 .tab-content#tab1 .list span {
    background: #f67901;
}
.introduction_3 .tab-content#tab2 .list span {
    background: #ce121f;
}
.introduction_3 .tab-content#tab3 .list span {
    background: #493d77;
}
.introduction_3 .tab-content#tab4 .list span {
    background: #2ea45a;
}

	section.introduction_4 {
    padding-bottom: 5em;
    padding-top: 3em;
}

.introduction_4 .flick-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 500px; /* 任意 */
  margin: auto;
  margin-top: -8em;
}

.introduction_4 .flick-slider-track {
  display: flex;
  scroll-behavior: smooth;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
.introduction_4 .flick-slider-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.introduction_4 .flick-slider-item {
  flex: 0 0 100%;
  box-sizing: content-box;
  text-align: center;
}
.introduction_4 .flick-slider-item img {
  width: 100%;
  height: auto;
  display: block;
}

.introduction_4 .flick-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
width: 20px;
    height: 20px;
    line-height: 20px;
}
.introduction_4 .flick-slider-btn.prev {
  left: 10px;
}
.introduction_4 .flick-slider-btn.next {
  right: 10px;
}

/* 非表示用 */
.introduction_4 .flick-slider-btn.hidden {
  display: none;
}
.introduction_4 .box {
    border: solid 2px #010003;
    background: white;
    margin:0 1em;
}
.introduction_4 .box p {
    height: 14vh;
    font-size: 2vh;
    padding: 1em;
}
  /*****************************/
  /*マップ*/
  /***************************/
.map .osakamap {
    position: relative;
    height: 90vh;
    background: #61d364;
}
/* しせつ一覧ボタンのポジション */
.map .open-modal.place_all {
    position: absolute;
    width: 120px;
    right: 5px;
    top: 20px;
    z-index: 1;
}
.map .place.all table {
    width: 90%;
    margin: 1em auto 0;
    background: white;
}
.map .place.all table a {
    color: #333333;
}
.map .place table , .map .place td, .map .place th {
    border: 2px solid #3f4eab;
    border-collapse: collapse;
}
.map .place td,.map .place th {
	padding: 15px 0;
	width: 30px;
	height: 25px;
	text-align: center;
}
.map .place td {
    font-size: 120%;
}
.map .place td span {
    display: block;
    font-size: 70%;
        line-height: 1em;
}
.map .place th {
    background: #b4d2f8;
    text-align: center;
    font-size: 120%;
    font-weight: 900;
    padding: .5em;
}
.map .place .caption {
    text-align: right;
    width: 90%;
    font-size: 80%;
}

  /* マーカー位置 */
.map .map-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: auto;
  }

.map .map-container img {
    width: 100%;
    height: auto; /* これで高さは端末に応じて自動調整 */
    display: block;
  }

.map .marker {
    position: absolute;
    width: 30px;
    transition: transform 0.2s ease;
  }

.map .marker:hover {
    transform: scale(1.2);
  }
.map .marker1 { top: 57%; left: 63%;}
.map .marker2 { top: 20%; left: 54%; z-index: 1; }
.map .marker3 { top: 17%; left: 50%; }
  
  /* マップモーダル */
.map .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.6);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

.map .modal_map {
      background: #fff;
      width: 80%;
      max-width: 390px;
      max-height: 80%;
      border-radius: 10px;
      overflow-y: auto; /* モーダル内はスクロール可能 */
      position: relative;
    }
.map .open-modal {
      cursor: pointer;
      display: block;
    }
  /* マーカーを光らせる */
@keyframes pulseMotion {
  0% {
    transform: translate(-50%, -50%) scale(1, 1);
    background-color: rgba(91, 255, 255, 0.4)
  }
  100% {
    transform: translate(-50%, -50%) scale(6.5, 6.5);
    background-color: rgba(91, 255, 255, 0)
  }
}

.inner {
  display: flex;
  justify-content: center;
}

.point {
  display: block;
  position: relative;
  width: 20px;
  height: 20px;
  margin: 0 20px;
  border-radius: 50%;
  transition: background-color cubic-bezier(0.215, 0.61, 0.355, 1) .4s;
  cursor: pointer;
}

.point.:focus {
  outline: none;
}

.point:after {
  display: block;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: opacity linear 0.4s;
  content: '';
}

.point.-active:after {
  animation: pulseMotion 1.4s linear infinite;
}

/* 国立民族学博物館プレオープン吹き出し */
.map a.button_simple.soon0925
{
    background: #b1b1b1;
    border: gainsboro;
}
.map a.button_simple.soon0925::before{
    content: "9月25日公開!";
    background: white;
    text-align: center;
    position: absolute;
    color: red;
    padding: .5em;
    line-height: 1em;
    top: -2em;
    border-radius: 5px;
    box-shadow: #3a3a3a 5px 5px;
}
.map a.button_simple.soon0925::after
 {
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    top: -5px;
    background: #ffffff;
    transform: rotate(45deg);
    box-shadow: #3a3a3a 5px 3px;
}


/* プレオープントップ吹き出し */

section.top-2 ul li:nth-child(1) {
    opacity: 1;
    width: 50%;
    margin: 0 auto;
    background: no-repeat;
    /* margin: -1em; */
    position: relative;
    z-index: 1;
    left: 50%;
    transform: translateX(-100%);
    height: unset;
    line-height: unset;
    top: .8em;
}