﻿@import url('https://fonts.googleapis.com/css2?family=Acme&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');
#intro .box_wrap .num, .deco {
    font-family: 'Acme', sans-serif;
    font-family: 'Righteous', cursive;
}
#contents_links .square_box img {
    transition: all 0.5s;
    transform: scale(1.05) translate(-47.5%, -47.5%);
}
#contents_links .square_box:hover img {
    transform: scale(1) translate(-50%, -50%);
}
.top_cms_title p span {
	background-color: #4693df;
}

.bnr_recruit.trans {
    opacity: 1;
    transform: scale(1,1) translateY(0);
}

.bnr_recruit {
    transition: opacity 0.8s cubic-bezier(0.09, 0.6, 0.2, 1) 0.2s,
				transform 0.8s cubic-bezier(0.02, 1.1, 0, 1.24) 0.2s;
    opacity: 0;
    transform: scale(0.8,0.8) translateY(15px);
}



#intro > *, #contents_links, #top_cms {
    z-index: 1;
    position: relative;
}
#intro .box_wrap .box > div {
    background-color: #1a79cb;
    color: #fff;
}
#intro .box_wrap .box > div span {
    border-color: rgb(52 52 52) transparent transparent transparent!important;
}
#fix_bnr {
    bottom: 10px;
    position: fixed;
    z-index: 4;
    right: 62px;
}
#fix_bnr a {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26), 0 2px 10px 0 rgba(0, 0, 0, 0.22);
}
#fix_bnr a {
    box-shadow: 0 2px 5px 0 rgb(92 92 92 / 42%), 0 2px 10px 0 rgb(76 76 76 / 48%);
    background: #267bcf;
    padding: 11px 5px;
}
#intro h4 {
    background-image: url(Dup/img/kazari.png);
    background-repeat: no-repeat;
    background-size: auto 48px;
    display: inline;
    padding: 10px 0 10px 90px;
}
.nagare h3 {
    /*background-image: url(Dup/img/kazari.png);*/
    /*background-repeat: no-repeat;*/
    /*background-size: auto 44px;*/
    /*display: inline;*/
    /*padding: 10px 0 10px 81px;*/
    /*margin: 0 auto;*/
    /*background-position: 0 50%;*/
}
/* ----------------------------INTROレイアウト---------------------------------------------------- */
#intro_title p {
    letter-spacing: 3px;
    padding: 3px 25px;
    border-color: #9fb2e9;
}

/* ------------------------------------------------------------------------------------------------ */
#cms_5-a .cate:first-of-type .box_wrap {
	display: block;
}
#cms_5-a .cate:first-of-type .cate_title i {
    transform: rotate(180deg);
}
#cms_5-a .cate:first-of-type .cate_title.on_click i {
    transform: inherit;
}


#top_cms {
    position: relative;
    background-size: auto auto;
background-color: rgba(255, 255, 255, 1);
background-image: repeating-linear-gradient(90deg, transparent, transparent 300px, rgb(233 233 233) 300px, rgb(255 255 255) 301px );
}
#top_cms .br {
    position: absolute;
    
}


.fadein{
     opacity: 0;
     transform: translateY(20px);
     transition: 1s;
     transition-property: opacity,transform
}
.fadein2 {
     opacity: 0;
     transition: 1s;
     transition-property: opacity,transform;
     transition-delay: 0.2s;
}
.fadein.trans, .fadein2.trans{
     opacity: 1;
     transform: none
}


#cms_2-a .cate_title {
    display: block;
    border-top-width: 1px;
    border-bottom-width: 1px;
    font-weight: bold;
}
#cms_2-a .box_txt1 {
    margin-top: 15px;    
}
#cms_2-a h4.box_title1 {
    font-weight: bold;
    background: linear-gradient(transparent 60%, #fff 60%);
    padding-bottom: 0;
    display: inline;
    padding-left: 5px;
    padding-top: 5px;
    padding-bottom: 4px;
}
.deco {
	/*position: absolute;*/
	/*left: 68px;*/
	/*bottom: 153px;*/
	/*font-size: 1000%;*/
	/*line-height: .8;*/
	/*letter-spacing: normal;*/
	/*color: #001955;*/
	/*z-index: -1;*/
	/*opacity: .2;*/
	/*z-index: 0;*/
	display: none;
}
.scroll-text {
	position: absolute !important;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	width: 100%;
	height: 100px;
	background-image: url(Dup/img/eng2.png);
	background-size: auto 100%;
	opacity: .5;
	padding: 0 !important;
	display: none;
}
#sc_menu {
    box-shadow: 0 0 32px rgb(110 110 110 / 16%);
}
/* -----------------------------------------------------------------------------------------*/
#main_img {/*画像*/
    height: 88vh;
}
/*#video {*/
/*    height: 88vh;*/
/*}*/
#video {
    margin-left: 10%;
    width: 90%;
    overflow: hidden;
}
#video video {
    position: absolute;
    min-width: 100%!important;
    min-height: 100%;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    /* width: inherit!important; */
    object-fit: cover;
}

h1 a {
    /*height: 118px;*/
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.rectangle2_img{
	position: relative;
	overflow: hidden;
}
.rectangle2_img img{
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}
/* ------------------------------------------------------------------- */



.modal_bg.bg_color3 {
    background-color: #c1af98;
}
.modal_wrap {
   top: 0;
   left: 0;
    z-index: 999;
}
.modal_wrap .modal_scroll_wrap {
    top: 50%;
    left: 50%;
    height: 85vh!important;
    max-width: 950px;
    transform: translate(-50%, -50%);
    padding: 90px 40px;
    background: #fff;
    box-sizing: border-box;
    box-shadow: 0 0 32px rgb(110 110 110 / 16%);
    width: 90%;
}
.modal_wrap .modal_scroll{
	overflow-y: auto;
	background: #fff;
	overflow-x: hidden;
}
.modal_wrap .close_bt {
    top: -16px;
    right: -12px;
    cursor: pointer;
    border-radius: 50%;
    height: 60px;
    width: 60px;
    background: #fff;
    box-shadow: 0 0 32px rgb(110 110 110 / 39%);
}
.modal_wrap .close_bt img {
    padding: 4px;
    box-sizing: border-box;
}
.modal_btn .more_box {
    width: 50%;
    cursor: pointer;
    margin-top: 30px;
    border: 0;
    border-bottom: 1px solid;
    max-width: 149px;
    margin-left: 0;
    color: #fff;
}

.modal_bg {
    background: rgb(5 0 48 / 54%);
}
.page1 .nagare {
    background-color: #ebf1ff;
    background-image: url("../Dup/img/bg_line.png"), url("../Dup/img/nagare_bg.png");
    background-position: center top, 0 100%;
    background-repeat: repeat, no-repeat;
    background-size: 128px auto, 1500px auto;
    position: relative;
}
.nagare .cate_box .box_item {
    position: relative;
    background: #e0f0ff;
    padding: 1% 2%;
    display: inline-block;
    box-shadow: 0 2px 9px rgb(110 110 110 / 16%);
    margin-bottom: 6px;
}
.page1 .nagare .cate_box .box_item {
    background: #fff;
}
.nagare .cate_box:not(:last-of-type) .box_item::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 17px 0 17px 40px;
    border-color: transparent transparent transparent #798dc7;
    transform: translate(-50%,-60%) rotate( 90deg);
    border-width: 16px 0 16px 17px;
    bottom: -61px;
}

#wrap {
    position: relative;
}
#wrap::before {
    position: fixed;
    content: "";
    width: 110px;
    height: 100%;
    top: 0;
    left: 0;
    background: url(./Dup/img/eng.png) repeat-y;
    background-size: 100px;
    background-position: 0 100%;
    background-attachment: fixed;
    -webkit-animation: bgroop 75s linear infinite;
    animation: bgroop 75s linear infinite;
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

@-webkit-keyframes bgroop {
    from {background-position: 0 110%;}
    to {background-position:  0 3474px;}
}
@keyframes bgroop {
    from {background-position: 0 110%;}
    to {background-position:  0 3474px;}
}
#intro .box_wrap .num {
    font-size: 6vw;
    top: 9px;
    left: -27px;
    line-height: 1;
    color: #77b2ed;
    z-index: 1;
}
/* ------------------------------------------------------------------------------ */
.txt_anim4 {
	overflow: hidden;
}
.txt_anim4 span.d_inline_b {
	overflow: hidden;
	height: 1em;
	line-height: 1;
}
.txt_anim4 span:not(.d_inline_b) {
	display: inline-block;
	line-height: 1;
	transition: 1s;
	transition-property: transform;
	transition-timing-function: cubic-bezier(0,.64,.29,.99);
	transform-origin: top;
	transform: translateY(1em) rotate(10deg);
}
.txt_anim4 span.start {
	transform: none;
}
/* ---------------------------------------------------------- */
.qa_type5 .faq_no {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    top: -10px;
    left: 0;
	-webkit-background-clip: padding-box; 
	-moz-background-clip: padding; 
	background-clip: padding-box;
}
.qa_type5 .box_title1, .qa_type5 .box_txt1 {padding-left: 70px;line-height: 1.7;}

#main_img #catch h2 {
    position: inherit;
    top: auto;
    left: auto;

}



/* --------------------------------------------------------------------------------- */
.wave i {
    transition-duration: 0.2s;
}
.wave .letter-b i {
    transform: rotate(-45deg);
}
.wave:hover i {
    /*transform: translateY(10px);*/
}
@keyframes wave {
  100% {
    transform: translate3d(0, -10px, 0);
  }
}

.wave {
  /*display: block;*/
  /*width: 150px;*/
  text-align: center;
}

.wave span {
  display: inline-block;
  color: #fff;
transition-duration: .2s;
}
.letter-b {
    position: absolute;
    top: 0px;
    left: 0;
    transform: translate3d(0,110%,0);
    transition-duration: .2s;
}
.wave.is-hover .letter-b {
    transform: translate3d(0,0%,0);
}
.letter-t {
    transform: translate3d(0,0%,0);
}
.wave.is-hover .letter-t {
    transform: translate3d(0,-110%,0);
}
.wave:hover > p span {
  /*animation-name: wave;*/
  /*animation-direction: alternate;*/
  /*animation-iteration-count: 2;*/
}
.wave > p {
    overflow: hidden;
}
.wave > p:nth-child(2)  span{
  transition-delay: .03s;
}
.wave > p:nth-child(3) span {
  transition-delay: .06s;
}
.wave > p:nth-child(4) span{
  transition-delay: .09s;
}
.wave > p:nth-child(5) span {
  transition-delay: .12s;
}
.wave > p:nth-child(6) span{
  transition-delay: .15s;
}
.wave > p:nth-child(7) span {
  transition-delay: .18s;
}
.wave > p:nth-child(8) span {
  transition-delay: .21s;
}
.wave > p:nth-child(9) span {
  transition-delay: .24s;
}
.wave > p:nth-child(10) span {
  transition-delay: .27s;
}
.wave > p:nth-child(11) span {
  transition-delay: .3s;
}




@media(min-width: 769px) {
    

#intro .box_wrap .box {
    width: 100%;
    position: relative;
}
#intro .box_wrap .box > div {
    width: 52%;
    margin-left: auto;
    position: absolute;
    top: 0;
    right: 0;
}
#intro figure {
    width: 50%;
}
#intro .box:nth-of-type(2) {
    margin-top: 70px;
}
#intro .box_wrap .box > div {
    transform: translateY(35px);
}
#contents {
     background-attachment: fixed;
 
}
}

@media (min-width: 769px) {
.passing {
      box-shadow: 2px 2px 24px rgba(201, 201, 201, 0.00);
      transition: all 0.5s;
      
    position: absolute;
    top: 50px;
    left: 50px;
    box-sizing: border-box;
    word-break: keep-all;
    letter-spacing: 5px;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.passing.move {
    box-shadow: 2px 2px 24px rgba(201, 201, 201, 0.50);
}
}
.passing .passing-bar {
    position: relative;
    display: inline-block;
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.passing .passing-bar:before {
    content: '';
    display: inline-block;
    width: 0;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    background: #E6E6E6;
}

.passing.move {
    transition-delay: 0.6s;
}
.passing.move .passing-bar:before {
    -webkit-animation: passing-bar 1s ease 0s 1 normal forwards;
    animation: passing-bar 1s ease 0s 1 normal forwards;
}
.passing .passing-txt {
    opacity: 0;
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
	padding: 5px 15px;
}
.passing.move .passing-txt {
    -webkit-animation: passing-txt 0s ease .5s 1 normal forwards;
    animation: passing-txt 0s ease .5s 1 normal forwards;

}

@-webkit-keyframes passing-bar{
	0% {left: 0;right: auto;width: 0;}
	50% {left: 0;right: auto;width: 100%;}
	51% {left: auto;right: 0;width: 100%;}
	100% {left: auto;right: 0;width: 0;}
}
@keyframes passing-bar{
	0% {left: 0;width: 0;}
	50% {left: 0;width: 100%;}
	51% {left: 0;width: 100%;}
	100% {left: 100%;width: 0;}
}
@-webkit-keyframes passing-txt{
	0% { opacity: 0; }
	50% { opacity: 0; }
	100% { opacity: 1; }
}
@keyframes passing-txt{
	0% { opacity:0; }
	50% { opacity:0; }
	100% { opacity:1; }
}


@media screen and (max-width: 768px){
#main_img #catch {
    transform: translateY(-5px);
}
#top_cms {
    z-index: 0;
}
#main_img {
    height: inherit;
}
#main_img #catch h2 {
    transform: translateY(-25px);
}
.passing .passing-bar:before {
    top: -27px;
}
#intro h4 {
    background-size: auto 32px;
    padding: 3px 0 3px 60px;
}
.pager li {
    margin: 0px;
}
#video {
    margin-left: 0%;
    width: 100%;
}
#video {
    height: 71vh;
}
h1 a {
    height: 85px;
}
#wrap::before {
    width: 50px;
    background-size: 50px;
}
#intro .box_wrap .num {
    font-size: 7vw;
    top: -2px;
    left: 12px;
}
}


@media screen and (max-width: 667px){
.page1 .nagare {
	background-size: 128px auto, 800px auto;
}
.passing .passing-bar::before {
	top: -15px;
}
.nagare .cate_box .box_item {
    width: 92%;
    box-sizing: border-box;
}
footer #footer #footer_txt .logo {
    width: 62%;
}
.loader {
    width: 215px;
}
#fix_bnr {
    right: 42px;
    width: calc(100% - 42px)!important;
}
#fix_bnr a {
    background: #065db3;
    padding: 5px 5px;
    box-shadow: none;
    box-sizing: border-box;
}
#fix_bnr a:nth-of-type(2) {
    border-left: 1px solid #5783c5;
}
.modal_wrap .modal_scroll_wrap {
    padding: 50px 5px;
    width: 92%;
    height: 83vh!important;
}
h1 a {
    height: 58px;
}
#wrap::before {
    width: 36px;
    background-size: 36px;
    opacity: 0.2;
}
#intro .box_wrap .num {
    font-size: 13vw;
    top: -3px;
    left: 7px;
}
.modal_btn .more_box {
    max-width: 149px;
    margin-left: auto;
    color: #fff;
    padding: 2%;
    margin-top: 15px;
}
}


