@charset "UTF-8";
/* CSS Document */

:root {
    --font-aktiv: "aktiv-grotesk", sans-serif;
    --font-noto: "Noto Sans JP", sans-serif;
    --font-logo: "logo-cut-std", sans-serif;
    --font-rmplus: "M PLUS Rounded 1c", sans-serif;
    --orange: #E55F2C;
    --orange-rgb: 229, 95, 44;
    --suborange: #E8764B;
    --suborange-rgb: 232, 118, 75;
    --yellow: #DCFF00;
    --yellow-rgb: 220, 255, 0;
    --purple: #2233FF;
    --purple-rgb: 34, 51, 255;
    --pink: #BF004D;
    --pink-rgb: 191, 0, 77;
}


.flag ul li {
      display: none; /* デフォルト非表示 */
    }

.flag ul li.active {
      display: list-item; /* クラス付与されたら表示 */
      color: green;
      font-weight: bold;
    }

.loading-splash {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #45aeb1;
  z-index: 999;
  transition: opacity 0.2s 0.75s ease-in-out;
}
.loading-splash.loaded {
  opacity: 0;
}

.container-umbel-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  transform: translate3d(-50%, -50%, 0);
}

.umbel-logo {
  width: 60px;
  height: 90px;
  fill: #fff;
}

    .badge {
      display: inline-block;
      margin-left: 8px;
      padding: 2px 6px;
      font-size: 0.8em;
      background: red;
      color: white;
      border-radius: 4px;
    }
.umbel-logo .dot.animated {
  -webkit-animation: hop 0.3s ease-in alternate 2;
  transform-origin: center center;
}

.umbel-logo .dot-second.animated {
  -webkit-animation-delay: 0.15s;
}

.umbel-logo .dot-third.animated {
  -webkit-animation-delay: 0.3s;
}

.umbel-logo .u.animated {
  -webkit-animation: duck 0.5s ease-in-out 2 alternate;
  transform-origin: center center;
}

.loading-text {
  margin-top: 0;
  color: #fff;
  font-family: "proxima-nova-2", Arial, sans-serif;
}

.loading-text .letter {
  display: inline-block;
  transition: transform 0.5s linear, opacity 0.5s linear;
  opacity: 0;
  transform: rotate3d(0.1, 1, 0, 90deg) translate3d(0, 15%, 0);
}

.loading-text .letter.visible {
  opacity: 1;
  transform: rotate3d(0, 0, 0, 90deg) translate3d(0, 0, 0);
}

@-webkit-keyframes hop {
  0% {
    transform: scale3d(1, 1, 1) translate3d(0, 0, 0);
  }
  100% {
    transform: scale3d(1.2, 1.2, 1) translate3d(0, -80%, 0);
  }
}

@-webkit-keyframes duck {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(0, 10%, 0);
  }
}


.loading-splash .sg{
  animation: fuwafuwa 5s infinite;
  margin-bottom: 15px;
}

.head .sns{
  display: flex;
}
.head .sns a{
  display: block;
}

/* ------------------------------- */
/* animation */
/* ------------------------------- */

#toku02_quiz article div.wrap.anime{
  opacity: 0;
  transform: scale(0.9) translateY(50px);
  transition: 0.5s;
}
#toku02_quiz article div.wrap.anime.mov{
    opacity: 1;
    transform: scale(1) translateY(0);
}
#toku02_quiz article div.btn_wrap.anime{
  opacity: 0;
  transform: scale(0.9) translateY(-20px);
  transition: 0.7s;
  transition-delay: 0.5s;
}
#toku02_quiz article div.btn_wrap.anime.mov{
  opacity: 1;
  transform: scale(1) translateY(0);
}


/*******************************
共通
********************************/

html{-webkit-font-smoothing: antialiased;text-rendering: optimizeLegibility;
text-size-adjust: 100%;}

#toku02_quiz{
    background: var(--orange);
}
#toku02_quiz *{
    font-family: var(--font-noto);
}
#toku02_quiz article{
    background: url(../images/toku02_quizbg.svg)no-repeat bottom right/80%, var(--suborange);
    text-align: center;
}
#toku02_quiz article div.wrap{
    box-sizing: border-box;
    border: var(--yellow) solid 8px;
    background: #fff;
    overflow: hidden;
}
#toku02_quiz article div.wrap .swiper{
    overflow: visible;
}
#toku02_quiz article div.wrap div.question{
    font-size: 40px;
    font-weight: 900;
    margin: 8px 0 16px;
    line-height: 1.3;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}
#toku02_quiz article div.wrap ul{
    display: grid;
}
#toku02_quiz article div.wrap li{
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    border: 6px solid transparent;
    font-size: 40px;
    padding-left: 40px;
    line-height: 1.3;
}

#toku02_quiz article div.wrap li div{
  height: 100%;
  width: 100%;
}

#toku02_quiz article div.wrap li label{
  position: relative;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 100%;
  margin-left: -40px;
  z-index: 100;
}

#toku02_quiz .wrap a{
  margin-left: 80px;
}

#toku02_quiz article div.wrap li:nth-of-type(1){
    background: url(../images/toku02_qa.svg)no-repeat left 12px center, #FFC9DB;
}
#toku02_quiz article div.wrap li:nth-of-type(2){
    background: url(../images/toku02_qb.svg)no-repeat left 12px center, #BCEDFF;
}
#toku02_quiz article div.wrap li:nth-of-type(3){
    background: url(../images/toku02_qc.svg)no-repeat left 12px center, #D1C8FF;
}
#toku02_quiz article div.wrap li:nth-of-type(4){
    background: url(../images/toku02_qd.svg)no-repeat left 12px center, #BBF59C;
}
#toku02_quiz article div.wrap li:nth-of-type(1).active{
    background: url(../images/toku02_q1active.svg)no-repeat left -6px top -86px, url(../images/toku02_q1active.svg)no-repeat right -6px bottom -86px, url(../images/toku02_qa.svg)no-repeat left 12px center, #FFC9DB;
    border-color: #DF004A;
}
#toku02_quiz article div.wrap li:nth-of-type(2).active{
    background: url(../images/toku02_q2active.svg)no-repeat left -6px top -86px, url(../images/toku02_q2active.svg)no-repeat right -6px bottom -86px, url(../images/toku02_qb.svg)no-repeat left 12px center, #BCEDFF;
    border-color: #00A2DF;
}
#toku02_quiz article div.wrap li:nth-of-type(3).active{
    background: url(../images/toku02_q3active.svg)no-repeat left -6px top -86px, url(../images/toku02_q3active.svg)no-repeat right -6px bottom -86px, url(../images/toku02_qc.svg)no-repeat left 12px center, #D1C8FF;
    border-color: #2A00FF;
}
#toku02_quiz article div.wrap li:nth-of-type(4).active{
    background: url(../images/toku02_q4active.svg)no-repeat left -6px top -86px, url(../images/toku02_q4active.svg)no-repeat right -6px bottom -86px, url(../images/toku02_qd.svg)no-repeat left 12px center, #BBF59C;
    border-color: #359800;
}

#toku02_quiz article div.wrap .swiper-pagination{
    top: -48px;
    bottom: auto;
    position: relative;
}
#toku02_quiz article div.wrap .swiper-pagination::after{
    content: "";
    display: block;
    width: 480px;
    height: 4px;
    margin: -16px auto;
    background: var(--suborange);
}
#toku02_quiz article div.wrap .swiper-pagination-bullet{
    width: 20px;
    height: 20px;
    background: var(--suborange);
    margin: 0 50px;
    opacity: 1;
}
#toku02_quiz article div.wrap .swiper-pagination-bullet.swiper-pagination-bullet-active{
    width: 12px;
    height: 12px;
    background: var(--pink);
    border: 8px solid var(--pink);
    margin: -4px 46px;
}
#toku02_quiz article .btn_wrap{
    display: flex;
    justify-content: center;
    margin-top: -50px;
}
#toku02_quiz article .swiper-button-prev, #toku02_quiz article .swiper-button-next, #toku02_quiz article .input{
    height: 100px;
    border-radius: 50px;
    position: relative;
    font-weight: 700;
    box-sizing: border-box;
    transition: all 0.2s;
    font-family: var(--font-rmplus);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    left: auto;
    right: auto;
}
#toku02_quiz article .swiper-button-prev{
    border: 4px solid var(--purple);
    background: #fff;
    color: var(--purple);
}
#toku02_quiz article .swiper-button-next, #toku02_quiz article .input{
    border: solid 6px var(--purple);
    background: var(--purple);
    color: #fff;
}
#toku02_quiz article .input input{
    background: none;
    font-size: 1.2em;
    font-weight: inherit;
    font-family: inherit;
    color: inherit;
    border: none;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    cursor: inherit;
}
#toku02_quiz article .swiper-button-next::before, #toku02_quiz article .input::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    border: solid 2px #fff;
    pointer-events: none;
    z-index: 5;
}
#toku02_quiz article .swiper-button-disabled{
    opacity: 1;
}
#toku02_quiz article .swiper-button-prev::after, #toku02_quiz article .swiper-button-next::after, #toku02_quiz article .input::after{
    content: "";
    position: absolute;
    height: 100px;
    border-radius: 50px;
    background: rgba(var(--suborange-rgb), 0.7);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 10;
}
#toku02_quiz article .swiper-button-prev.swiper-button-disabled::after, #toku02_quiz article .swiper-button-next.swiper-button-disabled::after, #toku02_quiz article .input.disabled::after{
    opacity: 1;
}

/***********************************************************************
「★PC版 CSS★」ブラウザの幅が769px以上ならここの記述が有効になる
**********************************************************************/
@media only all and (min-width: 769px) {

#toku02_quiz h2 img{
    width: 100%;
}
#toku02_quiz article{
    padding: 40px 188px 80px 122px;
}
#toku02_quiz article div.wrap{
    padding: 80px 48px 88px;
    border-radius: 20px;
}
#toku02_quiz article div.wrap div.question{
    height: calc(2em * 1.3);
}
#toku02_quiz article div.wrap ul{
    grid-template-columns: repeat(2, 0.5fr);
    grid-auto-rows: 154px;
    grid-gap: 8px;
}
#toku02_quiz article .btn_wrap{
    font-size: 28px;
}
#toku02_quiz article .swiper-button-prev, #toku02_quiz article .swiper-button-next, #toku02_quiz article .input{
    width: 480px;
    margin: 0 8px;
    font-size: 28px;
}
#toku02_quiz article .swiper-button-prev::after, #toku02_quiz article .swiper-button-next::after, #toku02_quiz article .input::after{
    width: 480px;
}

#toku02_quiz article .btn_wrap a:hover, #toku02_quiz article .input:hover{
    transform: scale(0.95);
}

}

/***********************************************************************
「★SP版 CSS★」ブラウザの幅が750px未満ならここの記述が有効になる
**********************************************************************/
@media only all and (max-width: 750px) { 

#toku02_quiz article{
    padding: 40px 20px 80px;
}
#toku02_quiz article div.wrap{
    padding: 80px 22px 80px;
    border-radius: 28px;
}
#toku02_quiz article div.wrap div.question{
    height: calc(3em * 1.3);
}
#toku02_quiz article div.wrap ul{
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: 144px;
    grid-gap: 16px;
}
#toku02_quiz article .btn_wrap{
    font-size: 32px;
}
#toku02_quiz article .swiper-button-prev, #toku02_quiz article .swiper-button-next, #toku02_quiz article .input{
    width: 316px;
    margin: 0 10px;
}
#toku02_quiz article .swiper-button-prev::after, #toku02_quiz article .swiper-button-next::after, #toku02_quiz article .input::after{
    width: 316px;
}


}

