﻿@import url('https://fonts.googleapis.com/css2?family=Shippori+Antique+B1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Shippori+Antique+B1&family=Zen+Antique+Soft&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;500&display=swap');

h3, h4, .en_font {
    font-family: 'Shippori Antique B1', 'Zen Antique Soft', sans-serif!important;
}
.text_r {
    font-family: 'Josefin Sans', sans-serif;
}
.close_menu, .open_menu {
    font-size: 10px;
}
.eachTextAnime span:first-child {
    font-size: 40px;
}

.scroll-rotate {
    position: absolute;
    z-index: 0;
    transition: all 0.5s;
    width: 300px;
    left: -53px;
    top: -84px;
    z-index: 0;
    opacity: 0.3;
}


.under_page .cate {
    padding-left: 5%;
    padding-right: 5%;
}
.cate_list {
background-color: #ffffff;
background-image: url("Dup/img/connected.png");
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding-top: 2vw;
    padding-bottom: 2vw;
}
.cate_list li a .btnst4 {
	line-height: 1.3;
    padding-right: 5em;	position: relative;
	}
	.cate_list a:hover {
	color: #fbb305;	
	}
	a:hover .btnst4 svg circle {
	animation: btnst4-circle 0.7s forwards 0.1s;	
	}
	@keyframes btnst4-circle {
		0% {
		stroke-dasharray: 0 366;	
		}
		99.9%, 100% {
			    stroke-dasharray: 366 366;
    stroke: #fbb305;
		}
	}
	.btnst4 svg {
	transform: rotate(-90deg);
    width: 2rem;
    height: 2rem;
    position: absolute;
    right: 1rem;
top: calc( 50% - 1rem);
	}
	.btnst4 svg circle {
	fill: transparent;
    stroke: #D0D0D0;
    stroke-width: 0.45rem;	
	}
	.btnst4::after {
    content: '';
    width: 0.43rem;
    height: 0.6rem;
    position: absolute;
    right: 1.8rem;
    top: calc(50% - 0.58rem);
    transition: 0.4s;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: block;
    content: "\f105";
	}
	
	
	
	

#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;
}
.text_r {
    color: #1f1f1f;
    opacity: 0.1;
    white-space: nowrap;
    font-size: 8.8vw;
    transform-origin: top left;
    transform: rotate(90deg);
    position: absolute;
    top: 0;
    left: 90vw;
    line-height: 0.65;
    pointer-events: none;

}
.text_r .mq {
   animation: mqscroll 25s linear infinite;
    display: inline-block;
}
@keyframes mqscroll {
    0% {
        transform: translateX(4px);
    }
    100% {
        transform: translateX(-100%);
    }
}


#page_title:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.5);
position: absolute;
left: 0;
top: 0;
}


.fadein .fade_box{
	opacity: 0;
	transform: translateY(20px);
	transition: 1s;
	transition-property: opacity, transform
}
.fadein .fade_box.active{
	opacity: 1;
	transform: none
}




#main_img:before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(255, 255, 255, 0.49);
    z-index: 1;
}
#contents1 .d_flex .grid_6:first-child {
    background: url(Dup/img/bg_kazari.png);
    background-size: contain;
}
#contents2 {
    display: flex;
    height: auto;
}
#contents2 > div {
    background-color: rgba(0, 0, 0, 0.50);
    width: 57%;
    margin-right: 0;
    box-sizing: border-box;
    position: inherit;
    left: auto;
    margin-left: auto;
}
  #intro.trans figure img {
transform: scale(1) translate(-50%,-50%); 
}
 #intro figure img {
    will-change: transform;
    transform: scale(1.15) translate(-45%,-45%);
    transition: transform 3s ease-out;
}


.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: translateX(20px);
	}
	50% {opacity:0.5;
	}
	100% {opacity:1;

	}
}





/*SVGのサイズ*/
svg{
	max-width:677.99px;/*SVGタグの横幅*/
	width:100%;/* レスポンシブ対応にするため100%を指定*/
	height:auto;
}
#mask {
    position: absolute;
    right: -80px;
    bottom: -109px;
    width: 625px;
}
/*========= 手書き風にするためのCSS ===============*/

/* マスクをするパスの設定*/
#mask .st0{
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke:#FFFFFF;
    stroke-linecap:round;
    stroke-linejoin:round;
    stroke-dasharray: 1500; /* 線の間隔を指定する */
    stroke-dashoffset:1500; /* 線の位置を指定する */
    stroke-miterlimit: 10;
    stroke-width: 56px;
}	



.catch2 {
    z-index: 1;
    color: #000;
    bottom: 28%;
    font-size: 61px;
    right: 9%;
    bottom: 58%;
    font-family: 'Shippori Antique B1', 'Zen Antique Soft', sans-serif;
}
.catchlogo {
    width: 86%;
    position: absolute;
    bottom: -200px; 
}
span.smoothText {
  overflow: hidden;
    display: block;
    padding: 7px 0;
}
span.smoothTextTrigger {
    transition: 1.2s ease-in-out;
    transform: translate3d(0,100%,0) skewY(12deg);
    transform-origin: left;
    display: block;
    line-height: 1;
}
span.smoothTextTrigger.smoothTextAppear {
transform: translate3d(0,0,0) skewY(0);
}


@media(max-width: 768px) {
    .catchlogo {
        display: none;
}
      #mask {
          position: absolute;
    right: -6vw;
    bottom: -8.5vh;
    width: 58vw;
  }
 .catch2 {
    z-index: 1;
    font-size: 43px;
    color: #000;
    font-size: 6vw;
    right: 9vw;
    bottom: 24vh;
    font-family: 'Shippori Antique B1', 'Zen Antique Soft', sans-serif;
  } 
  #contents2 > div {
    width: 100%;
    margin-top: 40vw;
  }
  .text_r {
      left: 100vw;
  }
}
@media(max-width: 667px) {
    .eachTextAnime span:first-child {
        font-size: 27px;
    }
 #mask {
    bottom: -5.5vh;
  }
#main_img #main_img_border {
     position: absolute;
    top: 10px;
    left: 10px;
    width: calc( 100% - 20px)!important;
    height: calc( 100% - 20px)!important;
    border-color: #fff;
    box-sizing: border-box;
    transition: ease 0.3s;
    z-index: 9;
}
.catch2 {
    bottom: 17vh;
  } 

#cms_5-b .cate_box .arrow, .cms_5-b .cate_box .arrow {
    margin-top: -17px;
}
#cms_5-b .cate_box .open_bt .box_title1, .cms_5-b .cate_box .open_bt .box_title1 {
    margin-left: 73px;
}
#cms_5-b .cate_box .open_bt .box_title1::before, .cms_5-b .cate_box .open_bt .box_title1::before {
    left: -24px;
}
#cms_5-b .cate_box .arrow, .cms_5-b .cate_box .arrow {
    left: 0;
}
}


/* -----------------------------------------↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓-------------------------------------------- */
#main_img .arrowWrap {
    color: #000;
    z-index: 1;
}
#main_img #main_img_border {
    pointer-events: none;
}
#contents2 h3::after {
    top: 41px;
}
@media (min-width: 769px) {
    #header h1 {
margin-top: 23px;
    
}
}
@media (max-width: 768px) {
    #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) {
    .pager li a {
        margin-left: 0;
    }
    footer .tel a {
        font-size: 6vw;
    }
}
/* -----------------------------------------↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑-------------------------------------------- */
#cms_6-a .cate {
    margin-top: -100px;
    padding-top: 100px;
}


.cms_6-a .cate a {
    position: relative;
    display: block;
}
.cms_6-a .box_title1 {
    position: absolute;
    z-index: 2;
    width: 100%;
    padding: 0 5px;
   top: 50%;
    left: 0%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transition: all 0.3s;
    color: #fff;
    text-align: center;
    box-sizing: border-box;
}
.cms_6-a figure {
    border-radius: 10px;
}
.cms_6-a figure:before {
    content: "";
    display: block;
    position: absolute;
    background: rgba(78, 78, 78, 0.38);
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;transition: all 0.5s;    border-radius: 10px;
}
.cms_6-a .cate a figure img {
    transition: all 0.5s;
}
.cms_6-a .cate a:hover figure:before {
      background: rgba(78, 78, 78, 0.27);
}
.cms_6-a .cate a:hover figure img {
         transform: scale(1.15) translate(-45%,-45%);
 }
 
 @media all and (-ms-high-contrast: none) {
 #cms_5-b .cate_box .arrow, .cms_5-b .cate_box .arrow {
     margin-top: -14px;
 }    
     
}