﻿@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat&display=swap');
/*  #E06538 */
h2, h3, h4, .en_font, .cate_title {
    font-family: 'Zen Kaku Gothic New', "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif!important;
}
#main_wrap {
     background: #fff /*#fef9f1*/;
     box-shadow: none;
}
#wrap, #footer {
    background: /*#f7f0e6*/ #fef9f1;
}


.eachTextAnime span{opacity: 0;}
.eachTextAnime.appeartext span{ animation:text_anime_on 1s ease-out forwards;display: inline-block}
@keyframes text_anime_on {
	0% {opacity:0;
	   transform: translateY(-20px);/*追記*/
	}
	50% {opacity:0.5;
	}
	100% {opacity:1;

	}
}





#intro h2 {
    position: relative;
    font-size: 93px;
    color: #f6efb4;
    letter-spacing: 0.3rem;
}
#intro h2:before {
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
    content: "";
    /*background: linear-gradient(to top, #fef9f1 0%, rgba(254,249,241,0.5) 40%, rgba(254,249,241,0.25) 80%, rgba(254,249,241,0) 100%);*/
    background: linear-gradient(to top, #ffffff 0%, rgba(255, 255, 255, 0.36) 40%, rgba(255, 255, 255, 0.25) 80%, rgba(255, 255, 255, 0%) 100%);
}
#cms_4-b .cate_title, #cms_2-b .cate_title {
    border: 0;
    text-align: center;
    display: block;
    position: relative;
    padding-bottom: 9px;
    margin-bottom: 20px;
    background-color: transparent;
    color: #212121;
}
#cms_4-b .cate_title:before, #cms_2-b .cate_title:before {
    content: "";
    display: block;
    position: absolute;
    height: 3px;
    width: 60px;
    bottom: 0;
    left: 50%;
    background: #cbcbcb;
}
#cms_4-b .cate_title:after, #cms_2-b .cate_title:after {
    content: "";
    display: block;
    position: absolute;
    height: 3px;
    width: 60px;
    bottom: 0;
    left: calc(50% - 60px);
    background: #ebd402;
}
/*.contactbanner span:before {*/
/*    position: absolute;*/
/*    bottom: -1px;*/
/*    left: 0;*/
/*    content: "";*/
/*    width: 100%;*/
/*    transform: scaleX(0);*/
/*    transform-origin: right top;*/
/*    transition: -webkit-transform .8s;*/
/*    transition: transform .8s;*/
/*    transition: transform .8s,-webkit-transform .8s,-o-transform .8s;*/
/*    z-index: 3;*/
/*    height: 50%;*/
/*    background-color: #ff871e;*/
/*    opacity: .2;*/
/*}*/
/*.contactbanner a:hover span:before {*/
/*    transform-origin: left top;*/
/*    transform: scale(1);*/
/*}*/
#contents1 h4 {position: relative}
#contents1 h4 > span, #contents2 h3 > span {
    top: -40px;
    left: -35px;
    color: #212121;
    font-weight: normal;
    transform: rotate(-11deg);
    font-family: 'Caveat', cursive;
}
#contents1 h4 span {
    top: -50px;
}
.banner a i, .banner a span {
    z-index: 1;
}
.contactbanner a:after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 100%;
    background: #ffa251;
    /*transform: scaleX(0); IEで効かない*/
   transform: scale(0, 1);
    transform-origin: right top;
    /*transition: -webkit-transform .3s;*/
    transition: transform .3s;
    /*transition: transform .3s,-webkit-transform .3s,-o-transform .3s;*/
    z-index: 0;
}
.contactbanner a:hover:after {
    /*-webkit-transform-origin: left top;*/
    /*-o-transform-origin: left top;*/
    transform-origin: left top;
    /*-webkit-transform: scale(1);*/
    /*-o-transform: scale(1);*/
    transform: scale(1);
}

#menu_bt, #page-top {
border-radius: 8px;
}

.top_cms_box {
        padding: 3%;
        border-top: 2px dashed #e4e4e4;
}
.top_cms_box:first-child, .top_cms_box:nth-child(4) {
    padding: 3%;
    background: #fff;
}

#top_cms .more a {
    background: #ff6633;
    border-radius: 32px;color: #fff;
}
.close_menu {
    width: 92px;
    border-radius: 13px;
}

.open_menu {
    border-radius: 12px;
    height: 75px;
}
.more > div {
    border: 0;
}

#cms_2-a .cate_title {
    position: relative;
    padding: .1em .3em .1em .5em;
    border-top: 0;
    display: block;
    border-bottom: 0;
    border-bottom: 1px solid #444;
}
#cms_2-a .cate_title::before {
    position: absolute;
    content: '';
    left: 0;
    bottom: -4px;
    width: 10%;
    height: 4px;
    background-color: #FBB305;
    z-index: 1;
}
#cms_2-a .box_title1 {
    position: relative;
}
#cms_2-a .box_title1:before {
     position: absolute;
    content: '';
    left: -5px;
    bottom: -2px;
    width: 70px;
    height: 70px;
    background-color: #f7f0e6;
    z-index: -1;
    border-radius: 57% 43% 58% 42% / 45% 57% 43% 55% ;
}

.cms_5-a .box_wrap {
        background: #fff;
    border: 0;
}
/* -----------------------------------------↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓-------------------------------------------- */
#main_img .arrowWrap {
    color: #fff;
    z-index: 1;
}
#main_img #main_img_border {
    pointer-events: none;
}
#intro h3, #contents1 h4, #contetents2 h4, #contents2 h3 {
    font-size: 33px;
    font-weight: bold;
    color: #f63;
}
#intro h3 {
font-size: 40px;margin-bottom: 40px;line-height: 1;
}
#contents2 h3::after {
    top: 17px;
}

.top_cms_title h3 {
    font-weight: bold;
}
footer .logo img {
max-width: 235px;
}
#page_title {
    position: relative;
}
#page_title:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.50);
    position: absolute;
    left: 0;
    top: 0;
}
#page_title > div::after {
border-width: 0px;
}
.catch {
    z-index: 1;
    color: #212121;
    font-size: 45px;
    font-weight: bold;
    left: 5%;
    top: 3%;
    opacity: 0;
    transition: all 1.5s;
    letter-spacing: 0.6rem;
    line-height: 1.6;
    /*background: rgba(255, 255, 255, 0.29);*/
    /*border-radius: 57% 43% 58% 42% / 45% 57% 43% 55%;*/
}
.catch span {
    display: block;
    padding: 5.8rem 3.7rem;
}
.catch span:before {
    background: rgba(255, 255, 255, 0.29);
    border-radius: 57% 43% 58% 42% / 45% 57% 43% 55%;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    display: block;
    z-index: -1;
      animation: spin 14.5s linear infinite;
}
@keyframes spin {
	0% {transform: rotate(0deg);}
	100% {transform: rotate(360deg);}
}
.catch.trans {
    opacity: 1;
}
@media (min-width: 769px) {
    #header h1 {
    margin-top: 49px;
    margin-bottom: 56px;
}
}
@media (max-width: 768px) {
        #header h1 {
margin: 10px 0;
    }
    #page08 h4 span {
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    display: block;
    }
    #page08 .box {
    justify-content: flex-start;
    align-items: center;
    }
    #page08 .tel_contact .box p {
    padding-top: 0;
    }
}
@media (max-width: 667px) {
    #header h1 {
    margin-bottom: 6px;
    margin-top: 4px;
    }
    #intro h3, #contents1 h4, #contetents2 h4, #contents2 h3 {
        font-size: 24px;
    }
    #top_cms .top_cms_box {
    padding-top: 31px;
    margin-bottom: 25px;
    }
    .pager li a {
        margin-left: 0;
    }
    footer .tel a {
        font-size: 6vw;
    }
    #contents2 > div {
        width: 100%;
    }
    #contents2 h3 {
    line-height: 1.4;
    }
    main {
        overflow: hidden;
    }
video {
    border-radius: 30px 0 0 30px;
    margin-left: 30px;
}

#main_img {
    margin-top: 100px;
}
}
/* -----------------------------------------↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑-------------------------------------------- */
header nav ul li a.txt_color1 {
    color: #212121;
}
#cms_4-b .cate_box {
    margin: 30px 0%;
    background: #fff;
    border: 1px solid #eee;
    padding: 4%;
    border-radius: 15px;
}
.cms_4-b .cate_box {
    margin: 0;
}

#contents2 > div {
    background-color: #ffffff;
    box-sizing: border-box;
    color: #212121;
}







.faq1, .faq2 {
    padding: 0 80px;
}
.faq1{
    background-image: url(Dup/img/q1.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-size: 66px;
    margin-top: 14px;
    min-height: 68px;
}
.faq2{
    background-image: url(Dup/img/a1.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-size: 66px;
    text-align: right;
    text-align: right;
    min-height: 68px;background-position: 100% 0;
}

p.que:after {
    border: solid transparent;
    content: '';
    height: 0;
    width: 0;
    pointer-events: none;
    position: absolute;
    border-color: rgba(193, 255, 18, 0);
    border-top-width: 7px;
    border-bottom-width: 7px;
    border-left-width: 10px;
    border-right-width: 15px;
    border-right-color: #e7d000;
    right: 100%;
    top: 12px;
}
p.que {
    position: relative;
    background: #e7d000;
    padding: 13px;
    text-align: left;
    color: #FFFFFF;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}
p.ans:after {
    border: solid transparent;
    content: '';
    height: 0;
    width: 0;
    pointer-events: none;
    position: absolute;
    border-color: rgba(193, 255, 18, 0);
    border-top-width: 7px;
    border-bottom-width: 7px;
    border-left-width: 15px;
    border-right-width: 10px;
    margin-top: -10px;
    border-left-color: #fef9f1;
    left: 100%;
    top: 32px;
}
p.ans {
   margin-left: auto;
    padding-right: 50px;
    position: relative;
    background: #fef9f1;
    padding: 10px;
    text-align: left;
    color: #FFFFFF;
    color: black;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}





@media(min-width:769px) {
    .cms_4-b figure {
border: 5px solid #fef9f1;
}
#contents2 {
    display: flex;
    height: auto;
    justify-content: flex-end;
    align-items: flex-start;
}
#contents2 > div {
    width: 47%;
    position: inherit;
    left: auto;
    margin: 30px;
    right: 0;
    min-width: 500px;max-width: 700px;
}

}
@media(max-width:768px) {
    .catch {
    font-size: 34px;
    left: 4%;
    top: 1%;
    line-height: 1.6;
    }
}
@media(max-width:667px) {
    .catch {
    letter-spacing: 0.15rem;
    left: 1rem;
    top: 10px;
}
    .catch {
    font-size: 23px;
    left: 4%;
    }
    .catch span {
   padding: 0.8rem 1.4rem;
    }
    .catch span:before {
        display: none;
    }
#intro h2 {
        font-size: 14vw;
    }
    #contents2 h3 span {
     left: -6px;   
    }
    .top_cms_box {
        padding: 0;
    }
   .top_cms_box:first-child, .top_cms_box:nth-child(4) {
padding: 6% 4%;
   } 
   #cms_1-a .cate_box {
       margin-top: -20px;
       padding-top: 20px;
   }
   .cms_1-a .box_title1 {
       padding-top: 0;
       padding-bottom: 0;
   }
   .cate_list li {
       margin-bottom: 10px;
   }
   #cms_4-b .cate_box {
       margin: 10px 0;
   }
   .faq1 {
       padding: 0 0 0 58px;
   }
      .faq2 {
       padding: 0 58px 0 0px;
   }
   .faq1, .faq2 {
       background-size: 55px;
   }
   .faq1 p, .faq2 p {
       padding: 6px 10px;
   }
}

@media all and (-ms-high-contrast: none) {
.more a {
padding-bottom: 14px;     
 }   
   
}