﻿@import url('https://fonts.googleapis.com/css2?family=Kaisei+Decol:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kosugi&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Karla:wght@200;300&display=swap');
body {
    line-height: 1.7; font-family: 'Kosugi', sans-serif;
}
.cms_title p:first-child, .t_cms_txt2, .t_cms_txt5, .t_cms_txt8, #page_title p:last-child {
      font-family: 'Karla', sans-serif;
}
.other_link, .sns_box {
     background-color: #fffbea;
     background-image: url(Dup/img/blizzard.png);
}
.top_cms_box .more_box .more {
    border-radius: 39px;
}
.sns_box {
background-image: url(Dup/img/esnick3.png);
    background-size:  auto 24px;
    background-repeat: repeat-x;
    background-position:0 100%;
}
.all_page .sns_box {
    background-image: none;
}
#contents .intro .box h3:before {
   display: none;
}
#contents .intro .box h3 span {position: relative}
#contents .intro .box h3 span:before {
    content: '';
    position: absolute;
    bottom: -13px;
    display: inline-block;
    width: 35px;
    border-bottom: 2px solid;
    border-color: #50d13f;
}


#cms_2-a .cate_title, #cms_4-a h3 {
    display: block;
    background: url(Dup/img/asi.png) no-repeat 0 50%;
    background-size: 48px auto;
    padding-left: 59px;
    padding: 19px 0 16px 61px;
    border-top: 0;
}
#contents {
    background-color: #fffbea;
    background-image: url(Dup/img/blizzard.png), url(Dup/img/esnick3.png), url(Dup/img/esnick3.png);
    background-size: 25px auto, auto 24px, auto 24px;
    background-repeat: repeat, repeat-x, repeat-x;
    background-position: 0 0, 0 0, 0 100%
}

#top_cms {
    position: relative;
    background-color: #c5f1b2;
}
#top_cms:before {
    background-color: #fffbea;
    background-image: url(Dup/img/blizzard.png);
    background-size: 25px auto;
    background-repeat: repeat;
    background-position: 0 0;
}
#top_cms:after{
    content: "";
    display: block;
    position: absolute;
    top: -72px;
    left: 26px;
    width: 127px;
    height: 140px;
    background-image: url(Dup/img/rabu.png);
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 6;
}
figure, figure img, .img-container.active:before {
    border-radius: 20px;
}
.cms_title p:first-child  {
    position: relative;
    display: flex;
    align-items: center;
    color: #32cd32;
}
.cms_title p:first-child::before {
    content: '';
    display: block;
    height: 1px;
    margin-right: 1rem;
    width: 3rem;
    background-color: #32cd32;
}
.t_cms_txt2, .t_cms_txt5, .t_cms_txt8 {
position: relative;
    width: 157px;
    background: #50d13f;
    text-align: center;
    border-radius: 33px;
    -webkit-border-radius: 33px;
    z-index: 1;
    margin-bottom: 10px;
}
.t_cms_txt2:after, .t_cms_txt5:after, .t_cms_txt8:after{
    border: solid transparent;
    content:'';
    height:0;
    width:0;
    pointer-events:none;
    position:absolute;
    border-color: rgba(255, 255, 255, 0);
    border-top-width:6px;
    border-bottom-width:6px;
    border-left-width:6px;
    border-right-width:6px;
    margin-left: -6px;
    border-top-color:#50d13f;
    top:100%;
    left:18%;
}
.vegas-overlay {
    opacity: 1!important;
    background-size: 100% 100%!important;
}
.top_nav ul li {
    font-family: 'Kaisei Decol', serif;
    font-family: 'Kosugi', sans-serif;
}
.catch {
    filter: drop-shadow(0px 0px 5px rgba(0,0,0,0.2));
}
#contents .intro {
    margin-top: 80px;
    margin-bottom: 87px;
}
#contents .intro.box .txt_wrap {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 37px 20px;
    border-radius: 32px;
}
#contents .intro .box {
    flex-direction: column;
}
#contents .intro h3 {display: block}
#contents .intro h3:first-letter {
font-size: 36px;
}
.welcome {
    opacity: 0;
    margin-top: -91px;
}
.welcome img{

max-width: 188px;
margin-bottom: 14px;
}
.welcome.animated {
 animation: zoomIn 1s forwards;   
}
@-webkit-keyframes zoomIn {
  0% {
    opacity: 0;
    -webkit-transform: translateY(200px) scale3d(0.5, 0.5, 0.5);
  }
  40% {
    opacity: 1;
    -webkit-transform: translateY(-20px) scale3d(1, 1, 1);
  }
  70% {
    opacity: 1;
    -webkit-transform: translateY(5px) scale3d(1, 1, 1);
  }
 100% {
   opacity: 1;
   -webkit-transform: translateY(0) scale3d(1, 1, 1);
  }
}
@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: translateY(200px) scale3d(0.5, 0.5, 0.5);
  }
  40% {
    opacity: 1;
    transform: translateY(-20px) scale3d(1, 1, 1);
  }
  70% {
    opacity: 1;
    transform: translateY(5px) scale3d(1, 1, 1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale3d(1, 1, 1);
  }
}

.img-container.active:before {/*★*/
    transform: translateX(101%);
}
.t_cms_img2 .img-container:before {
    background: #32cd32;
}
.img-container:before {
    background: #f7e888;
}
.menu .nav .logo {
    margin-left: 15px;
}
.top_nav ul li, .menu .nav ul li {
    border: none;
    font-size: 17px;
}
.menu .nav ul li a .nav1 {
    font-size: 15px;
}
.menu .nav ul li a .nav2 {
    font-size: 13px;
    font-family: 'Karla', sans-serif;
}
.top_nav ul li a {
    position: relative;
}
.top_nav ul li a:after {
    transition: all 0.3s;
    content: "";
    display: block;
    position: absolute;
    width: calc( 100% - 10px);
    height: 2px;
    bottom: -7px;
    left: 10px;
    right: 0;
    margin: auto;
    background: #32cd32;
    opacity: 0;
}
.top_nav ul li a, .top_nav ul li a:hover {
    color: #212121;
}
.top_nav ul li a:hover:after {
opacity: 1;
}

.other_link {
        padding-top: 20px;
}
.other .box figure img {
    border-radius: 20px;
}
.other .box {
    border-radius: 20px;
    border: 2px solid #32cd32;
    background-color: #f7e888;
    background-image: url(https://www.transparenttextures.com/patterns/wild-flowers.png);
    width: 33%;
    margin: 20px 30px;
    height: 339px;
}
.other .box:last-child {
     border-left: 2px solid #32cd32;
}
@media(max-width: 1000px) { header #nav_menu {
    background: #fff;
    border-radius: 0 0 0px 14px;
    top: 0;
    box-shadow: 0px 0px 5px -3px rgb(146 146 146 / 42%);
    right: 0;
        
    }
}
@media(max-width: 768px) {
    .other .box {
    width: 40%;
    margin: 20px 12px;
    height: 264px;
}

}
@media(min-width: 668px) {
    #page_title p {
    text-shadow: 1px 1px 0 #FFFFF0, -1px -1px 0 #FFFFF0, -1px 1px 0 #FFFFF0, 1px -1px 0 #FFFFF0, 0px 1px 0 #FFFFF0, 0-1px 0 #FFFFF0, -1px 0 0 #FFFFF0, 1px 0 0 #FFFFF0;
}

}
@media(max-width: 667px) {
    #nav_menu {
    height: 64px;
    width: 64px;
}
    .other .box_title {
    font-size: 17px;
}
    .main_img_wrap .navi {
    bottom: 120px;
    right: 0px;
    width: 47%;
}
    .main_img_wrap .catch {
    bottom: 205px;
}
body {
    font-size: 15px;
}
#top_cms:after {
    top: -35px;
    left: 15px;
    width: 87px;
    height: 140px;
}
.other .box {
    width: 79%;
    margin: 7px 12px;
    height: 192px;
}
.other .box:first-child {
    border-bottom: 2px solid #32cd32;
}
#cms_1-a .pager li {
margin-right: 0;
    margin-left: 0;
}
}

@media all and (-ms-high-contrast: none) {
    body {
       font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    }
/*body p, .menu .nav ul li a, h2, h3, h4{
   transform: rotate(-0.03deg); 
}*/
.banner a span {
    margin-bottom: -7px;
}
#contents .intro.box .txt_wrap {
    margin: 0;
}
.top_nav li a span {
    transform: rotate(-0.03deg);
}
}
@-moz-document url-prefix() {
        body, .top_nav li a span {
       font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    }

}

