@charset "utf-8";
*,
*::after,
*::before {
  box-sizing: border-box; }


a {
  background: transparent;
  cursor: pointer; }

.mi-ka-chan{
    width: 100%;
    margin: 0 auto;
}

.mi-ka-chan img {
  border: 0;
  height: auto;
  line-height: 1;
  vertical-align: top;
  max-width: 100%; }


.mi-ka-chan .kv{
    background-color: #D5F7FB;
    background-repeat:no-repeat;
    background-size: cover;
    background-position: center;
    height: 400px;
}

.mi-ka-chan .back_img{
    background-image: url('../img/kv_pc2.png');
    background-repeat:no-repeat;
    background-size: cover;
    background-position: center;
    height: 400px;
    z-index:2;
    position: relative;
    top: -80px;
}

.mi-ka-chan .anchor{
    background-color:#A1C95E;
    padding: 20px 0;
}

.mi-ka-chan .content.purple{
    background-color:#EFD9F8;
}

.mi-ka-chan .content.yellow{
    background-color:#FFFCD8;
}

.mi-ka-chan .content .intro,
.mi-ka-chan .content .story{
    max-width: 930px;
    margin: 0 auto;
}

.mi-ka-chan .content .story{
    padding-bottom: 88px;
}

.mi-ka-chan .anchor_content{
    max-width: 497px;
    margin: 0 auto;
    display:flex;
    justify-content: space-around;
}

.mi-ka-chan .deco_content{
    display: block;
    margin: 10px auto 0;
    text-align: center;
}

.mi-ka-chan .anchor_content a{
    width:calc(100% / 2 - 50px);
}

.btn {
  cursor: pointer;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

.btn:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

.mi-ka-chan .content .intro{
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 50px 0 30px;
    align-items: center;
}

.mi-ka-chan .content .intro.reverse{
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 50px 0;
    align-items: center;
    flex-direction:row-reverse
}


.mi-ka-chan .content .intro img{
    width: calc(100% / 2 - 10px);
}

.mi-ka-chan .content .intro_main{
    position: relative;
    background: #fff;
}

.mi-ka-chan .intro_title{
    display: flex;
    max-width: 930px;
    margin: 20px auto;
    justify-content: space-between;
    align-items: center;
}

.mi-ka-chan .intro_title .deco{
    height:80px;
    width: 208px;
    margin: 0 50px;
}

.mi-ka-chan .content .intro_main .deco img:nth-of-type(1){
    position: absolute;
    top: 70px;
    left: 15%;
}

.mi-ka-chan .content .intro_main .deco img:nth-of-type(2){
    position: absolute;
    top: 70px;
    right: 15%;
}


.footer{
    width:100%;
}


/* 雲 */
.jp_slide_img_wrapper {
    position: relative;
    width: 100%;
    height: 206px;
    background-image: url('../img/deco03.png');
    background-repeat: repeat-x;
    background-size: cover;
    background-position: 0 0;
    animation-name: slide_img;
    animation-duration: 800s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    top:20%;
    z-index:1;
}

@keyframes slide_img {
    100% {
        background-position: -10000px 0;
        }
}
.main_catch {
    position: absolute;
    top: 34%;
    left: 50%;
    width: 100%;
    text-align: center;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
}

.main_catch .logo {
    max-width: 670px;
    margin: 50px auto 15px;
}
.main_catch .logo img {
    max-width: 100%;
    height: auto;
}

@keyframes fuwafuwa {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* このクラスをつけると回転を無限に繰り返します */
.anime-fuwafuwa {
  animation: 3s fuwafuwa infinite;
}

#page-top2 {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 14px;
  line-height: 1;
  z-index: 99;
  width: 200px;
}
#page-top2 a {
  background: #ab101b;
  text-decoration: none;
  color: #fff;
  width: 60px;
  padding: 28px 5px;
  text-align: center;
  display: block;
  border-radius: 90px;
  opacity: 0.9;
  transition: all .3s ease;
}
#page-top2 a:hover {
  text-decoration: none;
  opacity: .5;
}


/* 全体設定 */
.css-carousel-slider {
    width: calc(100% / 2 - 10px);
    overflow: hidden;
    position: relative;
}
.css-carousel-slider img {
    width: 100%;
    height: auto;
    vertical-align: top;
}

/* スライド設定 */
.css-carousel-slider .slide-wrap {
    width: 300%; /* 画像の合計数*100%を設定(*2) */
    position: absolute;
    display: flex;
    top: 0;
    left: 0;
    z-index: 0;
    animation: css-carousel-slider 15s infinite; /* スライダーアニメーション全体の時間(*3) */
    animation-delay: 2s; /* スライダーが始まるまでの時間(*4) */
}
.css-carousel-slider .slide-wrap-main {
    width: 100%;
    z-index: 1;
    animation: css-carousel-slider-main 15s infinite; /* (*3)と同じ内容を設定 */
    animation-delay: 2s; /* (*4)と同じ内容を設定 */
}
.css-carousel-slider .slide {
    width: 100%;
}
.mi-ka-chan .content .intro .css-carousel-slider .slide img {
    width: 100%;
}

/* スライダーアニメーションの設定(*5) */
@keyframes css-carousel-slider {
    0% { transform: translateX(0); }

    18% { transform: translateX(calc(1 / 3 * -100%)); }
    33% { transform: translateX(calc(1 / 3 * -100%)); }

    45% { transform: translateX(calc(2 / 3 * -100%)); }
    66% { transform: translateX(calc(2 / 3 * -100%)); }

    78% { transform: translateX(calc(3 / 3 * -100%)); }
    100% { transform: translateX(calc(3 / 3 * -100%)); }
}

@keyframes css-carousel-slider-main {
    0% { transform: translateX(100%); }
    66% { transform: translateX(100%); }
    78% { transform: translateX(0%);}
}

.slideshow .slick-dots,
.slideshow2 .slick-dots {
    text-align: center;
    bottom: -35px;
}

.slideshow .slick-dots li{
    width: 20px;
    height: 20px;
    background-color: #EFD9F8;
    border: 1px solid #C27CD1;
    border-radius: 50%;
    margin-right: 15px;
    cursor: pointer;
    transition: background-color .5s ease;
}

.slideshow .slick-dots li.slick-active {
    background-color: #C27CD1;
}
.slideshow .slick-dots li:hover {
    background-color: #C27CD1;
}
.slideshow .slick-dots li:last-child,
.slideshow2 .slick-dots li:last-child {
    margin-right: 0;
}

.slideshow .slick-dots li.slick-active button:before{
    color:#C27CD1;
}

.slideshow2 .slick-dots li{
    width: 20px;
    height: 20px;
    background-color: #FFFCD8;
    border: 1px solid #FFA813;
    border-radius: 50%;
    margin-right: 15px;
    cursor: pointer;
    transition: background-color .5s ease;
}

.slideshow2 .slick-dots li.slick-active {
    background-color: #FFA813;
}
.slideshow2 .slick-dots li:hover {
    background-color: #FFA813;
}

.slideshow2 .slick-dots li.slick-active button:before{
    color:#C27CD1;
}

.story .text_img{
    margin: 0 auto 15px;
}


@media screen and (min-width:768px) and ( max-width:1024px) {

.mi-ka-chan .back_img{
    background-image: url('../img/kv_pc2.png');
    background-repeat:no-repeat;
    background-size: cover;
    background-position: center;
    height: 400px;
    z-index:2;
    position: relative;
    top: -80px;
}
    .mi-ka-chan .kv {
        height: 396px;
    }


}






@media screen and (max-width:768px) { 

#main{
    padding:0!important;
}

#co_main_inr{
    padding-top: 10px;
}
.mi-ka-chan .kv{
    height: 53vh;
}
.jp_slide_img_wrapper{
    height: 130px;
    top: 5%;
}

.logo img {
    margin: 0 auto!important;
    display: block!important;
    max-width: 80%!important;
    padding-top: 25px;
}

.mi-ka-chan .back_img{
    background-image: url('../img/kv_sp2.png');
    background-repeat:no-repeat;
    background-size: cover;
    background-position: center bottom -0.8vh;
    height: 45.5vh;
    width:100%;
    z-index:2;
    position: absolute;
    bottom: 0;
}

.mi-ka-chan .anchor{
    padding: 30px 0 15px;
    z-index: 10;
        position: relative;
}

.mi-ka-chan .content .intro{
    display:block;
    padding: 15px 0 20px;
}

.mi-ka-chan .anchor_content{
    width:70%;
}
.mi-ka-chan .anchor_content a {
    width: calc(100% / 2 - 20px);
}
.mi-ka-chan .intro_title .deco {
    height: 31px;
    width: 80px;
    margin: 0 20px;
}

.mi-ka-chan .content .intro img {
    width: 100%;
    padding: 0 10px;
}

#page-top2 {
    width: 100px;
    left: 20px;
    bottom: 8%;
}

.css-carousel-slider .slide-wrap{
    max-width: 300%!important;
}

.css-carousel-slider{
    width: 100%;
}

.mi-ka-chan .content .intro.reverse{
    flex-direction: column;
    padding: 15px 0 20px;
}

.mi-ka-chan .content .story {
    padding-bottom: 55px;
}

.slideshow .slick-dots li,
.slideshow2 .slick-dots li{
    width: 15px;
    height: 15px;
    margin-right: 5px;
}

#layout .slideshow div,
#layout .slideshow2 div{
	max-width: 600% !important;
	width: 98%;
	margin: 0 auto;
}

#layout .slideshow div img,
#layout .slideshow2 div img{
	width: 100%;
}

.mi-ka-chan .intro_title{
    padding: 10px 0;
    margin: 10px 0 0;
}

}

