﻿/* all page */
/*fonts*/

/* color ---------------------------------------------------------------------------------------------*/
.linkStyle{color: #160a0a;text-decoration: underline;transition: opacity .3s;}
.linkStyle:hover{opacity: 0.7}
.txt_color1, .hvr_txt_color1:hover{color: #00c6fb;}
/*.txt_color2, .hvr_txt_color2:hover{color: #e6e6e6}*/
.txt_color3, .hvr_txt_color3:hover{color: #005bea;}
/*.txt_color4, .hvr_txt_color4:hover{color: #c9baa9}*/

/* background-color */
.bg_color1, .hvr_bg_color1:hover{background-color: #00c6fb;}
/*.bg_color2, .hvr_bg_color2:hover{background-color: #e6e6e6}*/
.bg_color3, .hvr_bg_color3:hover{background-color: #005bea;}
/*.bg_color4, .hvr_bg_color4:hover{background-color: #c9baa9}*/
.bg_color5{background-color: #000e4c;}

/* border-color ※!important */
.border_color1, .hvr_border_color1:hover{border-color: #00c6fb;}
/*.border_color2, .hvr_border_color2:hover{border-color: #e6e6e6}*/
/*.border_color3, .hvr_border_color3:hover{border-color: #a67c52}*/
/*.border_color4, .hvr_border_color4:hover{border-color: #c9baa9}*/

#loading_line .line{
    background-image: linear-gradient(to right, #00c6fb 0%, #005bea 100%);
}

/* banner */
.banner__fixed{
	right: 90px;
	z-index: 10;
	max-width: 250px;
}
.banner__fixed a{
	padding: 30px 0;
}

/* header */
#logo {
    width: 500px;
    height: auto;
    top: 30px;
}
#logo .logo {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
}
.mail_bt a {
    padding: 20px 28px;
}

/* top ----------------*/

/* main img */
#video{
    position: relative;
}
/*#video::before{*/
/*    content: "";*/
/*    background-color: #00c1fa;*/
/*    opacity: 0.2;*/
/*    z-index: 1;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*}*/
.catch{
    bottom: 5%;
    left: 3%;
    z-index: 2;
}
.catch1{font-size: 50px;
}
.catch2{font-size: 150px;}

/* main */

/* intro */
#top_contents1 .intro_bg {
    max-width: 700px;
    width: 100%;
    top: 0;
    right: 21%;
    transition-delay: 1.2s;
}
#top_contents1 .catch_txt {
    display: grid;
    grid-template-areas:
        "title copy"
        "text copy";
    grid-template-columns: auto 350px;
    grid-template-rows: 115px auto;
    margin: auto;
    padding: 0 80px;
    position: relative;
}
#top_contents1 .txt_anim5_box {
    grid-area: title;
    margin-left: 43px;
    position: relative;
    width: 521px;
    z-index: 1;
}
#top_contents1 .copy {
    grid-area: copy;
    margin-top: 31px;
    position: relative;
    z-index: 1;
  transition-delay: 0.8s;
}
#top_contents1 .text {
    grid-area: text;
    margin: 0 0 0 100px;
    position: relative;
    z-index: 1;
    font-size: 16px;
    font-weight: bold;
  transition-delay: 1.1s;
}
.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s;
}
.animate.show {
  opacity: 1;
  transform: translateY(0px);
}

.txt_anim5_box{
	position: relative;
	/*position: absolute;
	z-index: 10;
	right: 4%;
	bottom: 51%;*/
}
.txt_anim5 {
	font-size: 50px;
	color: #000;
	font-weight: bold;
	/*font-family: 'Kaisei Tokumin', serif;*/
}
.txt_anim5:before {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	bottom: 0px;
	width: 0;
	height: 2px;
	background-color: #000;
	transition: all 1s;
}
.txt_anim5.start:before {
	width: 100%;
}
.txt_anim5 span.smoothText {
	overflow: hidden;
	display: block;
}
/* アニメーションで傾斜がついている文字列を水平に戻す*/
.txt_anim5 span.smoothTextTrigger{
	transition: 1.5s ease-in-out;
	transform: translate3d(0,100%,0) skewY(12deg);
	transform-origin: left;
	display: block;
	line-height: 1;
}
.txt_anim5.start span.smoothTextTrigger{
	transform: translate3d(0,0,0) skewY(0);
}
.txt_anim5 span.smoothTextTrigger {
	transition-delay: 0.5s;
}

#top_contents1 .fadein_right.start {
    transform: translateX(0);
    opacity: 1;
}
#top_contents1 .fadein_right {
    transform: translateX(-50px);
    opacity: 0;
    transition: transform 1.5s cubic-bezier(0.5, 0.1, 0.2, 1),opacity 1.8s cubic-bezier(0.5, 0.1, 0.2, 1);
}
#top_contents1 .intro_img1{
    top: 15%;
    left: 0;
    max-width: 330px;
    width: 18%;
}
#top_contents1 .intro_img2{
    width: 30%;
    max-width: 500px;
    margin-left: 70%;
    margin-top: 80px;
  transition-delay: 0.8s;
}

/* contents */
.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 .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;
    background-image: linear-gradient(to right, #00c6fb 0%, #005bea 100%);
    color: #fff;
}
@-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; }
}

/* topcms */
.top_cms_title .cms_title_inner::before, .top_info_title .info_title_inner::before{
    content: "";
    background-image: url('./Dup/img/cms_bg.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
.top_cms_title .before, .top_info_title .before, .top_cms_title .after, .top_info_title .after{
    display: none;
}

/* footer */
#footer #logo2{
    max-width: 300px;
}


/* under page */
#cms_2-a .cate {
    margin-bottom: 100px;
}



/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
#loading_logo {max-width: 300px;}
#logo h1.logo {
    top: 0;
    left: 0;
    transform: none;
    max-width: 400px;
}
.catch {
    width: 80%;
    max-width: 500px;
}
#top_contents1 .catch_txt {
    display: contents;
    padding: 0 0px;
    max-width: 500px;
}
#top_contents1 .txt_anim5_box {width: 365px;}
.txt_anim5 {font-size: 45px;}
#top_contents1 .copy {
    width: 40%;
    margin-left: 60%;
}
#top_contents1 .intro_bg {
    top: 2%;
}
#top_contents1 .intro_img1 {
    max-width: 330px;
    width: 28%;
}
#top_contents1 .intro_img2 {
    width: 50%;
    margin-left: 50%;
}
#footer #logo2 {
    width: 100%!important;
}
#footer {
    padding-bottom: 150px;
}
.banner__fixed {
    right: 50px;
    max-width: 800px;
    width: calc(100% - 50px);
}

}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
#loading_logo {max-width: 350px;}
#logo {
    width: 100%!important;
    left: 20px;
}
#top_contents1 {
    padding: 50px 20px;
}
#top_contents1 .txt_anim5_box {
    width: 270px;
    margin-left: 0;
}
.txt_anim5 {font-size: 28px;}
#top_contents1 .copy {
    width: 50%;
    margin-left: 50%;
}
#top_contents1 .text {
    margin: 0;
}
#top_contents1 .intro_img1 {
    max-width: 330px;
    width: 40%;
    top: 10%;
}
#top_contents1 .intro_img2 {
    width: 95%;
    margin-left: 5%;
  transition-delay: 0.3s;
}
#footer {
    padding-bottom: 90px;
}
.banner__fixed {
    right: 40px;
    width: calc(100% - 40px);
}
.banner__fixed a {
    padding: 10px 0;
}

}


/*20230616*/
/*-------------------------------------------------
CMS動画埋め込み
-------------------------------------------------*/
.youtube_box{
  position: relative;
  width: 80%;
  aspect-ratio: 16 / 9;
margin-bottom: 50px;
}
.youtube_box iframe{
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
.youtube_box{
  width: 100%;
}
}



