/*----reset-------*/
body {
  width: 100%;
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer */
  -khtml-user-select: none; /* KHTML browsers (e.g. Konqueror) */
  -webkit-user-select: none; /* Chrome, Safari, and Opera */
  -webkit-touch-callout: none;
}
img {
  pointer-events: none;
}
/*-------layout-----------*/
.l-inner {
  max-width: 1200px;
  padding: 0 2.4%;
  margin: 0 auto;
}
/*-------component--------*/
.c-modal__overlay {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 998;
  background: rgba(0,0,0,.5);
}
.c-modal__wrapper{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.c-modal__content {
  position: relative;
  box-sizing: border-box;
  max-width: 100vw;
  max-height: 100vh;
  width: calc(100vh * 16 / 9);
  height: calc(100vw * 9 / 16);
  z-index: 999;
}
.c-modal {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 90%;
  height: 90%;
  max-width: 1200px;
  max-height: 675px;
  background: #fff;
}

/*-----project------*/
/*トップページ*/
.p-index__title__wrapper {
  background: url(../images/bg_index_title@2x.png) center center repeat-x;
  background-size: 100% auto;
}
.p-index__title {
  padding: 2.4% 0;
  width: 39.13%;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .p-index__title {
    width: 70%;
  }
}
.p-index__title img {
  max-width: 100%;
}
.p-index__hiragana {
  padding-bottom: 3%;
  background: url(../images/bg_hiragana@2x.png) center center;
  background-size: 300px 300px;
}
.p-index__kazu {
  padding-bottom: 3%;
  background: url(../images/bg_kazu@2x.png) center center;
  background-size: 300px 300px;
}
@media screen and (max-width: 768px) {
  .p-index__hiragana {
    background-size: 150px 150px;
  }
  .p-index__kazu {
    background-size: 150px 150px;
  }
}
.p-index__news__wrapper {
  padding-top: 2.4%;
  padding-bottom: 2.4%;
}
.p-index__news {
  font-size: 30px;
  font-weight: bold;
  color: #3E3131;
  margin: 0;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .p-index__news {
    font-size: 18px;
  }
}
.p-index__message {
  font-size: 14px;
  color: #FF440D;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .p-index__message {
    font-size: 10px;
  }
}
.p-index__news__icon {
  display: inline-block;
  width: 56px;
  margin: 0 16px 0 0;
  vertical-align: middle;
}
.p-index__news__icon img {
  max-width: 100%;
}
.p-index__buttonarea {
  background: #CEF9FF;
  padding: 1.2% 0;
}
.p-index__buttonwrapper {
  background: #fff;
  width: 90%;
  padding: 2.4% 0;
  margin: 0 auto;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-index__button--hiragana {
  display: block;
  width: 25%;
  padding-top: 10%;
  background: url(../images/btn_hiragana@2x.png) center center no-repeat;
  background-size: contain;
  margin: 0 8% 0 0;
}
.p-index__button--kazu {
  display: block;
  width: 25%;
  padding-top: 10%;
  background: url(../images/btn_kazu@2x.png) center center no-repeat;
  background-size: contain;
}
.p-index__item__title {
  padding: 2% 0 0 0;
  margin: 0 auto 20px;
  width: 17.69%;
}
.p-index__item__title img {
  max-width: 100%;
}
.p-index__doors {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  margin-top: -1%;
  padding-bottom: 3%;
  background: url(../images/bg_door@2x.png) bottom center no-repeat;
  background-size: 100% auto;
}
.p-index__doors:nth-child(2n+1){
  margin-top: 1%;
}
.p-index__door__fromhere {
  width: 90%;
  margin: 0 auto 3% auto;
}
.p-index__door__item {
  width: 12.6%;
}
.p-index__door__item img {
  width: 100%;
}
.p-index__door__item__link {
  cursor: pointer;
  display: block;
}
.p-index__info {
  background: url(../images/bg_table@2x.png) #DFF2BF top center no-repeat;
  background-size: 1980px 449px;
  padding: 0 0 48px 0;
}
@media screen and (max-width:768px) {
  .p-index__info {
    background-size: 270% auto;
  }
}

@media screen and (min-width: 769px) and (max-width: 1199px) {
  .p-index__info {
    background-size: 270% auto;
  }
}
@media screen and (min-width: 1200px) {
  .p-index__info {
    background-size: 3400px auto;
  }
}
.p-index__info__inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}
.p-index__info__shima {
  width: 40%;
  margin-top: 2%;
}
.p-index__info img {
  max-width: 100%;
}
.p-index__info__content {
  width: 40%;
}
.p-index__info__text {
  margin: 10% 0 0 0;
  width: 100%;
}
.p-index__info__join, .p-index__info__detail {
  display: block;
  width: 80%;
  margin: 0 auto;
}
.p-index__info__device {
  width: 100%;
  background: #fff;
  border-radius: 8px;
  margin-top: -5%;
  padding: 16px;
}
.p-index__info__device__title {
  font-size: 15px;
  font-weight: bold;
  color: #4A3F3F;
}
.p-index__info__device__content {
  margin-top: 4px;
  font-size: 12px;
  color: #4A3F3F;
}
/*開始画面*/
.p-start__hiragana {
  height: 100vh;
  background: url(../images/bg_hiragana_start@2x.png) center center no-repeat;
  background-size: cover;
}
.p-start__kazu {
  height: 100vh;
  background: url(../images/bg_kazu_start@2x.png) center center no-repeat;
  background-size: cover;
}
.p-start {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.p-start::-webkit-scrollbar {
  display: none;
}
.p-start__title {
  position: relative;
  width: 31%;
  padding-bottom: 16%;
  text-align: center;
  margin: 0 auto;
  background: url(../images/img_start_flag@2x.png) center center no-repeat;
  background-size: contain;
}
.p-start__title img {
  position: absolute;
  width: 50.76%;
  height: auto;
  margin: auto;
  left: 0;
  right: 0;
  top: 18%;
}
.p-start__image {
  width: 35.83%;
  margin: -7% auto 0 auto;
}
.p-start__image img {
  max-width: 100%;
}
.p-start__button {
  position: relative;
  z-index: 2;
  margin: -45% auto 0 auto;
  padding: 40% 0 0 0;
  display: block;
  width: 100%;
  text-align: center;
}
.p-start__button img {
  vertical-align: bottom;
  width: 31.3%;
  height: auto;
}
/* 問題 */
.p-question--hiragana {
  background: #FFEDED;
}
.p-question--kazu {
  background: #E5FFFB;
}
.p-question::-webkit-scrollbar {
  display: none;
}
.p-question__content {
  position: relative;
  box-sizing: border-box;
  padding: 0 5.3%;
}
.p-question__content img {
  max-width: 100%;
}
.p-question__image {
  position: relative;
  z-index: 1;
  width: 100%;
}
.p-question__text {
  width: 100%;
  padding: 1.42% 0;
  cursor: pointer;
}
.p-question__button__wrapper {
  position: relative;
  z-index: 2;
  margin: -22% auto 0 auto;
  width: 96.83%;
  display: flex;
  justify-content: space-between;
}
.p-question__button__wrapper--3answers {
  width: 98%;
}
.p-question__button--2answers {
  padding: 0;
  outline: none;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  width: 46.7%;
  padding-top: 35.69%;
  background: url(../images/btn_question_2answers@2x.png) center bottom no-repeat;
  background-size: contain;
  cursor: pointer;
}
.p-question__button--2answers:active,.p-question__button--2answers.is-active {
  background: url(../images/btn_question_2answers_active@2x.png) center bottom no-repeat;
  background-size: contain;
}
.p-question__button--3answers {
  padding: 0;
  outline: none;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  width: 28.42%;
  padding-top: 35.69%;
  background: url(../images/btn_question_3answers@2x.png) center bottom no-repeat;
  background-size: contain;
  cursor: pointer;
}
.p-question__button--3answers:active,.p-question__button--3answers.is-active {
  background: url(../images/btn_question_3answers_active@2x.png) center bottom no-repeat;
  background-size: contain;
}
.p-question__flower__wrapper {
  display: none;
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  width: 60.67%;
  z-index: 3;
}

/*5問終了*/
.p-end {
  background: url(../images/bg_end@2x.png) center center no-repeat;
  background-size: cover;
  -ms-overflow-style: none;
  scrollbar-width: none;
  overflow: hidden;
  width: 100%;
  height: 100vh;
}
.p-end::-webkit-scrollbar {
  display: none;
}
.p-end__text {
  width: 89%;
  margin: 4.83% auto 1% auto;
}
.p-end__text img{
  max-width: 100%;
}
.p-end__image {
  margin: 0 auto;
  width: 39.17%;
}
.p-end__image img {
  max-width: 100%;
}
.p-end__button {
  position: relative;
  z-index: 2;
  margin: -47% auto 0 auto;
  padding: 40% 0 0 0;
  display: block;
  width: 100%;
  text-align: center;
}
.p-end__button img,.p-start__button img{
  max-width: 100%;
}
.p-end__button img {
  vertical-align: bottom;
  width: 31.3%;
  height: auto;
}
/* おまけゲーム */
.p-game {
  background: url(../images/egg/bg_game_touch@2x.png) center center no-repeat;
  background-size: cover;
  box-sizing: border-box;
  -ms-overflow-style: none;
  scrollbar-width: none;
  height: 100vh;
  position: relative;
}
.p-game.is-after {
  background: url(../images/egg/bg_game_kekka@2x.png) center center no-repeat;
  background-size: cover;
}
.p-game img {
  max-width: 100%;
}
.p-game::-webkit-scrollbar {
  display: none;
}
.p-game__text {
  width: 53.3%;
  margin: 3.58% auto 0 auto;
}
.p-game__caption {
  width: 39.83%;
  margin: 1% auto 0 auto;
}
.p-game__egg {
  width: 31.08%;
  margin: 0 auto;
  cursor: pointer;
  position: relative;
}
.p-game__egg__hibi {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.p-game__after {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  transform: scale(0);
}
.p-game__after__text {
  width: 46%;
  margin: -7% auto -10% auto;
}
.p-game__result {
  position: relative;
  width: 100%;
}
.p-game__result__content {
  display: block;
  margin: 0 auto;
  width: 58.42%;
}
.p-game__result__egg {
  position: absolute;
  margin: 0 auto;
  width: 56.67%;
  top: 90%;
  left: 0;
  right: 0;
}
.p-game__canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.p-game__button {
  position: absolute;
  bottom: 1%;
  left: 0;
  right: 0;
  display: block;
  margin: 0 auto;
  width: 100%;
  padding-top: 76.92%;
  background: url(../images/btn_next@2x.png) center 99% no-repeat;
  background-size: 33.3% auto;
}
/*あそびのひろがり*/
.p-play {
  background: url(../images/bg_play@2x.png) center center no-repeat;
  background-size: cover;
  box-sizing: border-box;
  -ms-overflow-style: none;
  scrollbar-width: none;
  height: 100vh;
}
.p-play::-webkit-scrollbar {
  display: none;
}
.p-play img {
  max-width: 100%;
}
.p-play__content {
    padding: 0 2.25%;
    cursor: pointer;
}
.p-play__content__wrapper {
    display: flex;
}
.p-play__comment {
  cursor: pointer;
  width: 75%;
  margin: 0 -0.5% 0 0;
  padding-top: 11%;
  background: url(../images/bg_text_play@2x.png) center center no-repeat;
  background-size: contain;
}
.p-play__comment__content {
  padding: 3% 8.5% 0 3%;
}
.p-play__character {
  margin: 10% 0 0 0;
  width: 21.92%;
}
.p-play__button {
  position: relative;
  z-index: 1;
  display: block;
  margin: -16% auto 0 auto;
  width: 41%;
  padding-top: 14.92%;
  background: url(../images/btn_end@2x.png) center 98% no-repeat;
  background-size: 80% auto;
}
.p-play__title {
  position: absolute;
  width: 29.58%;
  margin: 0 auto;
  top: 3%;
  left: 0;
  right: 0;
}
.p-play__title img {
  max-width: 100%;
}
/*------ sales --------*/
.p-sales {
  background: #BAEDFF url(../images/sales/bg@2x.png) top center no-repeat;
  background-size: contain;
  padding-bottom: 16%;
  font-family: "ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO", sans-serif;
}
@media screen and (min-width: 1200px) {
  .p-sales {
    background-size: 1356px auto;
  }
}
@media screen and (max-width: 768px) {
  .p-sales {
    background: #BAEDFF url(../images/sales/bg_sp@2x.png) top center no-repeat;
    background-size: contain;
  }
}
.p-sales img {
  max-width: 100%;
}
.p-sales__top__title {
  padding: 33px 0 0 0;
  width: 69.25%;
  margin: 0 auto;
}
.p-sales__top__content {
  display: flex;
  justify-content: center;
  align-items: center;
}
.p-sales__top__content__logo {
  width: 7.5%;
}
.p-sales__top__content__title {
  width: 19.83%;
  margin: 0 1.83%;
}
.p-sales__top__content__noaddition {
  width: 8.25%;
}
.p-sales__top__shima {
  position: relative;
  width: 25.83%;
  margin: 2% auto 0 auto;
}
.p-sales__top__shima__comment {
  position: absolute;
  width: 50%;
  left: 70%;
  top: 0;
}
.p-sales__top__button {
  position: relative;
  z-index: 1;
  display: block;
  width: 31%;
  margin: -7% auto 0 auto;
  padding-top: 12%;
  background: url(../images/sales/btn_start@2x.png) center center no-repeat;
  background-size: contain;
}
@media screen and (max-width: 768px) {
  .p-sales__top__title {
    padding-top: 5%;
    width: 94%;
  }
  .p-sales__top__content__logo {
    width: 15%;
  }
  .p-sales__top__content__title {
    width: 37.3%;
  }
  .p-sales__top__content__noaddition {
    width: 16.8%;
  }
  .p-sales__top__shima {
    margin-top: 10%;
    width: 82.3%;
  }
  .p-sales__top__shima__comment {
    width: 31.2%;
  }
  .p-sales__top__button {
    width: 90%;
    margin-top: -15%;
    margin-bottom: 10%;
    padding-top: 34.4%;
  }
}
.p-sales__caption__content {
  background: #fff;
  margin: 5% auto 0 auto;
  padding: 4.5% 0 20% 4.5%;
  box-sizing: border-box;
}
.p-sales__caption__content__title {
  width: 78.83%;
  margin: 0 auto;
}
.p-sales__caption__kidswork,.p-sales__caption__digitalwork {
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-sales__caption__digitalwork {
  flex-wrap: wrap;
}
.p-sales__caption__kidswork__item {
  position: relative;
  width: 28%;
  z-index: 2;
  margin-right: -5%;
}
.p-sales__caption__kidswork__item__image {
  filter: drop-shadow(0 3px 20px rgba(0,0,0,.16));
}
.p-sales__caption__kidswork__item__text {
  padding-left: 30%;
  font-size: 24px;
  font-weight: bold;
  color: #4A3F3F;
}
.p-sales__caption__kidswork__image {
  position: relative;
  z-index: 1;
  width: 35.75%;
  margin-top: 10%;
  margin-right: -5%;
}
.p-sales__caption__kidswork__text {
  margin-top: 30%;
  width: 24.6%;
}

.p-sales__plus {
  width: 9.7%;
  margin: 3% auto 10% auto;
}


.p-sales__caption__digitalwork__title {
  padding: 0 23%;
  margin: 0 auto 0 auto;
}

.p-sales__caption__digitalwork__item {
  position: relative;
  width: 33.5%;
  z-index: 2;
  margin-right: -3%;
  margin-left: -4%;
  margin-top: 10%;
}

.p-sales__caption__digitalwork__item__text {
  padding-left: 30%;
  font-size: 24px;
  font-weight: bold;
  color: #4A3F3F;
}
.p-sales__caption__digitalwork__item__note {
  display: block;
  font-size: 16px;
    white-space: nowrap;
}
.p-sales__caption__digitalwork__image {
  position: relative;
  z-index: 1;
  width: 35.75%;
  margin-right: -7%;
}
.p-sales__caption__digitalwork__text {
  margin-top: 30%;
  width: 24.6%;
}
@media screen and (max-width: 768px) {
  .p-sales__caption__content {
    width: 92%;
    margin: 0 auto;
  }
  .p-sales__caption__content__title {
    width: 70%;
  }
  .p-sales__caption__kidswork {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .p-sales__caption__kidswork__item {
    width: 40%;
    margin-top: 8%;
    margin-right: -5%;
  }
  .p-sales__caption__kidswork__item__text {
    font-size: 10px;
    margin-top: 10%;
    padding-left: 0;
  }
  .p-sales__caption__kidswork__image {
    width: 45%;
    margin-top: 14%;
  }
  .p-sales__caption__kidswork__text {
    margin-top: -12%;
    margin-left: 20%;
    width: 48%;
  }
  .p-sales__plus {
    margin-top: 10%;
    width: 20%;
  }
  .p-sales__caption__digitalwork {
    position: relative;
  }
  .p-sales__caption__digitalwork__image {
    width: 45%;
    margin-top: 0;
  }
  .p-sales__caption__digitalwork__item {
    margin-left: -10%;
    width: 45%;;
  }
  .p-sales__caption__digitalwork__item__text {
    font-size: 10px;
    padding-left: 20%;
  }
  .p-sales__caption__digitalwork__text {
    margin-top: -12%;
    margin-left: 20%;
    width: 48%;
  }
  .p-sales__caption__digitalwork__text {
    margin-top: -15%;
    margin-left: 30%;
  }
  .p-sales__caption__digitalwork__item__note {
    display: block;
    position: absolute;
    width: 200%;
    margin: auto;
    top: 190%;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 12px;
  }
}

/*------営業版終了画面------*/
.p-salesend {
  background: url(../images/sales/end/bg_green_stripe@2x.png) center center no-repeat;
  background-size: cover;
  -ms-overflow-style: none;
  scrollbar-width: none;
  min-height: 100%;
  height: 100vh;
}
.p-salesend img {
  max-width: 100%;
}
.p-salseend::-webkit-scrollbar {
  display: none;
}
.p-salesend__wrapper {
  display: flex;
  margin: 0 auto;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
}
.p-salesend__image {
  width: 50%;
  margin-left: -7%;
}
.p-salesend__content {
  width: 38%;
  margin: 0 0 0 -2%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.p-salesend__note {
  width: 100%;
  margin: 10% 0 5% 7%;
}
.p-salesend__button {
  display: block;
  width: 100%;
  padding-top: 34%;
  margin-left: 5%;
  background: url(../images/sales/end/btn_info@2x.png) center center no-repeat;
  background-size: contain;
}

/*------utility------*/
.is-hidden {
  display: none;
}
.u-visible--sp {
  display: none;
}
@media screen and (max-width: 768px){
  .u-visible--sp {
    display: block;
  }
  .u-visible--pc {
    display: none;
  }
}
a,button {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
.off {
  animation: scale-down .1s ease-in forwards;
}
.on {
   animation: scale-easeOutElastic .75s ease-in forwards;
}
@keyframes scale-down {
	0% { transform: scale(1); }
	100% { transform: scale(0); }
}
@keyframes scale-easeOutElastic {
	0% { transform: scale(0); }
	16% { transform: scale(1.1); }
	28% { transform: scale(.9); }
	44% { transform: scale(1.025); }
	59% { transform: scale(.975); }
	73% { transform: scale(1.0125); }
	88% { transform: scale(1); }
	100% { transform: scale(1); }
}
