  /*****************************/
  /*施設共通レイアウト*/
  /***************************/
.bg_gra {
  background-image: linear-gradient(0deg, #1a76d3, #41adf7);
}
.bg_gra_y {
  background-image: linear-gradient(0deg, #fff6a4, #fffceb);
}

    /* モーダル */
    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0,0,0,0.6);
      justify-content: center;
      align-items: center;
    }

    .modal-content {
      background: #fff;
      padding: 20px;
      max-width: 500px;
      max-height: 70vh;
      overflow-y: auto;
      border-radius: 8px;
      text-align: left;
    }

    .modal-content h2 {
      margin-top: 0;
    }

    .close-btn {
      display: block;
      margin: 20px auto 0;
      padding: 10px 20px;
      background: #007bff;
      color: #fff;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

    .close-btn:hover {
      background: #0056b3;
    }
    
  /*****************************/
  /*施設トップページ*/
  /***************************/
    /*基本レイアウトみどころ*/
.place_midokoro {
    background: #e1f9ff;
}
.place_midokoro .list {
    width: 90%;
    margin: 1em auto 0;
}
.place_midokoro .list li img {
    width: 23%;
    margin-right: 2%;
}
.place_midokoro .list li h3 {
display: flex;
    font-size: 110%;
    line-height: 1.2em;
    align-items: center;
    font-weight: 900;
    margin-bottom: .5em;
}
.place_midokoro .list li:nth-child(1) > h3 {
    color: #1977d2;
}

.place_midokoro .list li:nth-child(2) > h3 {
    color: #e65f00;
}

.place_midokoro .list li:nth-child(3) > h3 {
    color: #2a6737;
}
    /*基本レイアウトみどころカルーセル*/
.place_midokoro .carousel {
  position: relative;
  max-width: 800px;
  margin: auto;
  overflow: hidden;
}
.place_midokoro .carousel-track {
  display: flex;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.place_midokoro .carousel-track::-webkit-scrollbar {
    display: none;
}
.place_midokoro .carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
}
.place_midokoro .carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}
/* ナビゲーション */
.place_midokoro .carousel-nav {
  text-align: center;
  margin-bottom: 10px;
}
.place_midokoro .carousel-nav button {
  width: 12px;
  height: 12px;
  margin: 5px;
  background: #ccc;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
.place_midokoro .carousel-nav button:hover,
.place_midokoro .carousel-nav button:focus {
  background: #666;
}





/*基本レイアウト施設基本情報*/
.place_info {
    background: #e1f9ff;
    padding-bottom: 2em;
}
.place_info .info-table {
    width: 90%;
    margin: 1em auto 3em;
    border-collapse: collapse;
    font-size: 70%;
    line-height: 1.2;
}
.place_info .info-table caption {
  caption-side: top;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5em;
  text-align: left;
}
.place_info .info-table th,
.place_info .info-table td {
  padding: 0.6em 0.8em;
  border: 1px solid #ccc;
  vertical-align: top;
  text-align: left;
}
.place_info .info-table th {
  background-color: #f7f7f7;
  width: 20%;
  font-weight: normal;
}
.place_info .info-table td {
  background-color: #fff;
}
.place_info .info-table  tbody tr td:nth-child(1) {
    text-align: center;
}
.place_info .info-table tr:nth-child(even) td {
  background-color: #fbfbfb;
}


@media (max-width: 480px) {
 .place_info .info-table th,.info-table td {
    display: block;
    width: 100%;
  }
 .place_info .info-table tr {
    display: block;
    margin-bottom: 1em;
  }
.place_info .info-table th {
    background-color: transparent;
    padding-top: 0;
  }
}
/*ガーディアンからのしれん*/
.place_quest {
    background-image: url(https://www.manavi.zoshindo.co.jp/wp-content/themes/manavi-2019/images/odekake/bg_star.svg);
    padding-top: 3em;
    padding-bottom: 3em;
}
.place_quest h2 {
    margin-bottom: 1em;
}
.place_quest .character {
    width: 70%;
    margin: 0 auto;
}
.place_quest .quest_list {
    width: 90%;
    margin: -3em auto 0;
}
.place_quest .quest_list li {
    width: 50%;
}

/*施設の暗号入力*/
.place_angou {
    padding-top: 3em;
    padding-bottom: 5em;
}
.place_angou h2 {
    margin-bottom: 1em;
}
.place_angou .character {
    width: 70%;
    margin: 0 auto 1em;
}
.place_angou #quizForm {
    width: 90%;
    margin: 0 auto;
}
.place_angou #quizForm .field {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.place_angou #quizForm .field label {
    color: white;
    width: 40%;
}
.place_angou #quizForm .field  input[type="text"] {
	font-size: 2rem; padding:2rem;
}
.place_angou #quizForm .field  input {
    background: white;
    box-shadow: inset 3px 3px 3px #a1a1a1;
    border-radius: 5px;
   width: 60%;
}
.place_angou #quizForm button {
    font-size: 22px;
}
.place_angou #quizForm .error {
      color: red;
      font-size: 0.9em;
      width: 100%;
      text-align: right;
    }
    /* モーダルスタイル */
.place_angou .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0,0,0,0.5);
      justify-content: center;
      align-items: center;
    }
.place_angou .modal .modal-content {
      background: white;
      padding: 20px;
      border-radius: 8px;
      text-align: center;
      max-width: 400px;
    }
.place_angou .modal .modal-content h3 {
      margin-top: 0;
    }
.place_angou .modal .modal-content .close-btn {
      margin-top: 20px;
      padding: 8px 16px;
      border: none;
      background: #007bff;
      color: white;
      cursor: pointer;
      border-radius: 4px;
    }
.place_angou .modal .modal-content .close-btn:hover {
      background: #0056b3;
    }


  /*****************************/
  /*施設クエスト問題ページ*/
  /***************************/
.place_quest_question .txt {
   width: 90%;
    margin: 1em auto;
}
.place_quest_question .txt h3 {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 110%;
    font-weight: 900;
    color: #e46200;
        line-height: 1.3em;
}
.place_quest_question .txt img {
    width: 30%;
    margin-right: 1%;
}
.place_quest_question table.genre {
    width: 90%;
      border-collapse: collapse;
      background-color: #000;
          margin: 0 auto;
    }

.place_quest_question table.genre th,.place_quest_question table.genre td {
      border: 2px solid #000;
      padding: 2px;
      text-align: center;
      width: 30%;
    }

.place_quest_question table.genre th {
          background-color: #1b78d3;
    color: white;
    }

.place_quest_question table.genre td {
      background-color: #fff;
    }

.place_quest_question table.genre .stars {
      font-size: 18px;
      color: #000;
    }
.place_quest_question .img {
    margin: 1em auto;
    width: 90%;
}
/*クエスト選択肢デザイン*/
section.place_sentakushi {
    padding-bottom: 5em;
}
.place_sentakushi .quiz-images {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      margin: 1em auto;
      width: 90%;
    }

.place_sentakushi .quiz-image {
      position: relative;
      cursor: pointer;
      transition: filter 0.3s, transform 0.2s;
    }

.place_sentakushi .quiz-image img {
      width: 100%;
      height: auto;
      border-radius: 8px;
    }

.place_sentakushi .grayscale {
      filter: grayscale(100%) brightness(50%);
    }

.place_sentakushi .selected {
      transform: scale(1.05);
    }
.place_sentakushi .modal h2 {
    width: 60%;
    margin: 0 auto;
}
.place_sentakushi .modal .img {
    width: 70%;
    margin: 1.5em auto 1em;
}
  /*****************************/
  /*施設クエスト正解ページ*/
  /***************************/
.place_seikai .character {
    width: 70%;
    margin: 0 auto;
}
.place_ango .ango {
    background: white;
    border: solid 5px #40adf8;
    margin: -40px 20% 40px;
    font-size: 180px;
    text-align: center;
    border-radius: .1em;
    box-shadow: gray 5px 5px;
    line-height: normal;
}
@media (max-width: 480px) {
.place_ango .ango {
    font-size: 30vw;
  }
  }

.place_ango .character {
    width: 90%;
    margin: 0 auto;
}
.place_ango .txt {
    text-align: center;
        width:60%;
}
section.place_quest_list {
    padding-bottom: 3em;
    padding-top: 2em;
}
.place_quest_list a{
font-size: 2rem;
}
.place_manabi {
    padding-bottom: 5em;
    background: white;
    padding-top: 2em;
}
.place_manabi .txt {
    width: 90%;
    margin: 1em auto;
}
.place_manabi .img {
    width: 50%;
    margin: 0 auto;
    text-align: center;
}
.place_manabi .keyword .tag  {
    background: #e1f9fe;
    color: #1b78d3;
    padding: 1em 0 1em 2em;
    list-style: disc;
    width: 90%;
    margin: 0 auto;
}
.place_manabi .txt h3 {
    text-align: center;
    font-size: 120%;
    color: #1a76d2;
}
.place_manabi .txt .linktxt {
color: white;
    background: #1a76d2;
    margin: 0 10% 0 auto;
    display: block;
    width: 50%;
    text-align: center;
    font-size: 70%;
    padding: .5em 0;
    }
.place_manabi h4 {
    width: 80%;
    margin: 2em auto 1em;
}

.place_manabi .lineservice {
    border: solid 5px #05c756;
    border-radius: 1em;
    padding: 1em .5em;
    width: 90%;
    margin: 0 auto;
    background-color: #f0fff3;
  background-image: radial-gradient(circle, #cff3d6 1px, transparent 1px), radial-gradient(circle, #cff3d6 1px, transparent 1px), radial-gradient(circle, #cff3d6 1px, transparent 1px), radial-gradient(circle, #cff3d6 1px, transparent 1px);
  background-position: 0 0, 4px 0, 2px 4px, 6px 4px;
  background-size: 8px 8px;
}
.place_manabi .lineservice .txt {
    line-height: 1.5em;
    text-align: justify;
}
.place_manabi .lineservice .line_btn {
    margin: 1em 0;
}
  /*****************************/
  /*施設リワードページ*/
  /***************************/
.place_rewards .img{ 
    background-image: url(https://www.manavi.zoshindo.co.jp/wp-content/themes/manavi-2019/images/odekake/place_rewards_get3.webp);
    background-size: contain;
background-repeat: no-repeat;
}
.place_rewards h2 {
    width: 80%;
    margin: 0 auto;
    padding-top: 2em;
}

.place_rewards h3 {
    background-image: url(https://www.manavi.zoshindo.co.jp/wp-content/themes/manavi-2019/images/odekake/place_rewards_get4.webp);
    text-align: center;
    font-size: 140%;
    background-size: cover;
    background-position: center;
    border-top: solid 4px #bfa268;
    border-bottom: solid 4px #bfa268;
}
.place_rewards .txt {
    color: white;
    width: 90%;
    margin: 0 auto;
    padding: 1em 0;
}
.place_ability {
    padding-top: 2em;
}
section.place_ability {
    padding-top: 2em;
    background-image: url(https://www.manavi.zoshindo.co.jp/wp-content/themes/manavi-2019/images/odekake/bg_star_bl.svg);
    background-size: inherit;
    padding-bottom: 2em;
}
.place_ability h4 {
    color: #fff200;
    font-size: 185%;
    text-align: center;
    padding: 1em 0 0;
    width: 90%;
    margin: 0 auto;
}
.place_ability h4::before {
    content: "とくべつな力";
    display: block;
    font-size: 70%;
    border-bottom: 3px dotted;
    width: 60%;
    margin: 0 auto;
    line-height: 1.5em;
}
.place_ability .txt {
    width: 90%;
    margin: 0 auto;
    color: white;
    padding: 0 0 2em;
}
.place_ability .img {
    width: 60%;
    margin: 0 auto;
    border: solid #fff200 10px;
}
.place_shortstory {
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: 1em;
    padding-bottom: 3em;
}
.place_shortstory h4 {
    width: 90%;
    margin: 0 auto 1em;
}
.place_shortstory h5 {
    width: 90%;
    margin: 0 auto;
}
.place_shortstory .character {
    width: 80%;
    margin: 0 auto;
}
.place_shortstory .talk {
    width: 90%;
    margin: 1em auto;
}
.place_shortstory .talk .df.r {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    justify-content: space-between;
}
.place_shortstory .talk .df.l {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}
.place_shortstory ul li img{
width: 20%;
    margin-right: 5%;
    }
.place_shortstory ul li.c {
    margin-bottom: 1em;
}
.place_shortstory ul li.c img {
    width: 60%;
    margin-right: auto;
    margin-left: auto;
}
/* ショートストーリーふきだし */
.place_shortstory .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: 70%;
  left: 0;
    transform: translateX(0);
}
/* _l（レフト） */
.place_shortstory .speechBubble._l::before {
  content: "";
  position: absolute;
  top: 25%;
  left: 0;
  border-style: solid;
  border-width: 0 20px 20px 0;
  border-color: transparent #000000 transparent transparent;
  translate: -100% -50%;
  transform: skew(0, -25deg);
  transform-origin: right;
}

.place_shortstory .speechBubble._l::after {
  content: "";
  position: absolute;
  top: 25%;
  left: 0;
  border-style: solid;
  border-width: 0 15.2px 15.2px 0;
  border-color: transparent #fff transparent transparent;
  translate: -100% calc(-50% - 0.4px);
  transform: skew(0, -25deg);
  transform-origin: right;
}
/* _r（ライト） */

.place_shortstory .speechBubble._r::before {
  content: "";
  position: absolute;
  top: 25%;
  right: 0;
  border-style: solid;
  border-width: 10px 0 10px 20px;
  border-color: transparent transparent transparent #000000;
  translate: 100% -50%;
  transform: skew(0, -25deg);
  transform-origin: left;
}

.place_shortstory .speechBubble._r::after {
  content: "";
  position: absolute;
  top: 25%;
  right: 0;
  border-style: solid;
  border-width: 7.8px 0 7.8px 15.5px;
  border-color: transparent transparent transparent #fff;
  translate: 100% -50%;
  transform: skew(0, -25deg);
  transform-origin: left;
}
/*サブクエスト*/
section.place_subquest {
    padding-bottom: 5em;
}
.place_subquest h2 {
    padding-top: 2em;
    padding-bottom: 1em;
    }
.place_subquest .character {
    width: 80%;
    margin: -1em auto;
}
.place_subquest .subquest.easy h3 {
   background: #1a76d3;
    width: 90%;
    border-radius: 5em;
    color: white;
    text-align: center;
    margin: 0 auto 1em;
    padding: .5em 0;
    line-height: 1.2em;
    font-size: 130%;
    
}
.place_subquest .subquest.hard h3 {
   background: #3f4eab;
    width: 90%;
    border-radius: 5em;
    color: white;
    text-align: center;
    margin: 0 auto 1em;
    padding: .5em 0;
    font-size: 130%;
}
.place_subquest .subquest h3 span {
    display: block;
    font-size: 80%;
}
.place_subquest .subquest{
    margin-top: 2em;
    margin-bottom: 3em;
}
.place_subquest div ul {
    overflow-x: scroll;
    flex-wrap: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.place_subquest  .subquest ul li {
    min-width: 80%;
    margin: 0 1em;
    background: white;
        border-radius: 10px;
padding-bottom: 1em;
}
.place_subquest  .subquest.easy ul li {
border: solid #1a76d3 5px;
}
.place_subquest  .subquest.hard ul li {
border: solid #3f4eab 5px;
}
.place_subquest .subquest  .carousel {-webkit-overflow-scrolling: touch;}
.place_subquest .subquest  .carousel::-webkit-scrollbar { display: none; }
.place_subquest .subquest  .carousel img { display: block; border-radius: 8px; }
.place_subquest .subquest  .carousel.is-dragging { cursor: grabbing; user-select: none; }

.place_subquest .subquest h4 {
    border-radius: 10px 10px 0 0;
    padding: 10px;
}
.place_subquest .subquest .txt {
    padding: 10px;
}
.place_subquest .instagram_btn a {
    width: 90%;
    display: block;
    margin: 1em auto;
}
.place_subquest .instagram_btn .txt {
    width: 90%;
    margin: 0 auto;
    color: white;
}