﻿body{overflow:hidden;}
.loader {width:400px;}



/*----------top page--------------------------------------------------------*/
h1{width:15%;}
h1 img {max-width: 250px;}
#sc_menu .logo a {padding: 5px 20px;}
#sc_menu .logo img {max-width: 125px;}
#main_img #video {
    margin-left: 10%;
    width: 90%!important;
}
#main_img #catch{
    top: 45%;
    left:0;
    transform:none;
    background-color:transparent;
    color: #000080;
}
#main_img #catch h2{
    border:0;
    text-shadow:none;
    background-color: rgba(255,255,255,0.5);
    font-size: 4rem;
    line-height: 1.7;
    top: -10px;
}
#main_img #catch h2 span{padding:0;}
.intro_conlink_outer{
    background-image:url(./Dup/img/bg.jpg),url(./Dup/img/bg2.jpg);
    background-position: center top,center bottom;
    background-repeat:no-repeat,no-repeat;
    background-size: contain,contain;
}
#intro{
    background-image:none;
    padding-top: 150px;
}
#intro_title{margin-bottom: 20px;}
#intro_title .intro_sub_title{
    border: 0;
    text-align: center;
    display: block;
    font-size:8rem;
}
#intro_title h3{text-align: center;}
#intro .box_wrap .box > div{
    margin-left: 0;
    margin-right: 0;
    margin: auto;
    transform: translateY(-10px);
}

#contents .logo img{width: 450px;}
#contents_links .square_box a{background-color: rgba(0,0,0,0.2);}
#contents::before{background-color: rgba(0,0,0,0.3);}
#contents .contents_txt {background-color: rgba(0,0,0,0.3);}
footer::after{background-color: rgba(0,0,0,0.4);}
#f_contact .con_txt{padding-top:40px;}
#f_contact .con_bt{
    font-size: 5rem;
    line-height: 1;
    padding-bottom: 60px;
}

/*-------------------------------------------------------
				下からフェードイン
-------------------------------------------------------*/
 .fadein {
  opacity: 0;
  transform : translate(0, 50px);
  transition : all 1500ms;
}

.fadein.scrollin{
  opacity: 1;
  transform: translate(0, 0);
}




/*-------------------------------------------------------
				ページタイトルアニメーション
-------------------------------------------------------*/
.Text{
    font-size:8rem;
    color: #343490;
    font-weight: bold;
}
p > span > span{
     display: inline-block;
     -webkit-transform: translateY(20px);
     transform: translateY(20px);
     -webkit-animation: .35s cubic-bezier(.175,.885,.32,1.275) both;
     animation: .35s cubic-bezier(.175,.885,.32,1.275) both;
     opacity: 0;
}
p > span > span:nth-child(1){
-webkit-transition-delay: 200ms;transition-delay: 200ms;
-webkit-animation-delay: 200ms;animation-delay: 200ms;
}
p > span > span:nth-child(2){
-webkit-transition-delay: 250ms;transition-delay: 250ms;
-webkit-animation-delay: 250ms;animation-delay: 250ms;
}
p > span > span:nth-child(3){
-webkit-transition-delay: 300ms;transition-delay: 300ms;
-webkit-animation-delay: 300ms;animation-delay: 300ms;
}
p > span > span:nth-child(4){
-webkit-transition-delay: 350ms;transition-delay: 350ms;
-webkit-animation-delay: 350ms;animation-delay: 350ms;
}
p > span > span:nth-child(5){
-webkit-transition-delay: 400ms;transition-delay: 400ms;
-webkit-animation-delay: 400ms;animation-delay: 400ms;
}
p > span > span:nth-child(6){
-webkit-transition-delay: 450ms;transition-delay: 450ms;
-webkit-animation-delay: 450ms;animation-delay: 450ms;
}
p > span > span:nth-child(7){
-webkit-transition-delay: 500ms;transition-delay: 500ms;
-webkit-animation-delay: 500ms;animation-delay: 500ms;
}
p > span > span:nth-child(8){
-webkit-transition-delay: 550ms;transition-delay: 550ms;
-webkit-animation-delay: 550ms;animation-delay: 550ms;
}
p > span > span:nth-child(9){
-webkit-transition-delay: 600ms;transition-delay: 600ms;
-webkit-animation-delay: 600ms;animation-delay: 600ms;
}
p > span > span:nth-child(10){
-webkit-transition-delay: 650ms;transition-delay: 650ms;
-webkit-animation-delay: 650ms;animation-delay: 650ms;
}
p > span > span:nth-child(11){
-webkit-transition-delay: 700ms;transition-delay: 700ms;
-webkit-animation-delay: 700ms;animation-delay: 700ms;
}
p > span > span:nth-child(12){
-webkit-transition-delay: 750ms;transition-delay: 750ms;
-webkit-animation-delay: 750ms;animation-delay: 750ms;
}
p > span > span:nth-child(13){
-webkit-transition-delay: 800ms;transition-delay: 800ms;
-webkit-animation-delay: 800ms;animation-delay: 800ms;
}
p > span > span:nth-child(14){
-webkit-transition-delay: 850ms;transition-delay: 850ms;
-webkit-animation-delay: 850ms;animation-delay: 850ms;
}
p > span > span:nth-child(15){
-webkit-transition-delay: 900ms;transition-delay: 900ms;
-webkit-animation-delay: 900ms;animation-delay: 900ms;
}





p.is-show > span > span
{
     -webkit-animation-name: slide-bs;
     animation-name: slide-bs;
     opacity: 1;
}
@keyframes slide-bs{
     0%{-webkit-transform: translateY(20px);transform: translateY(20px);}
     100%{-webkit-transform: translateY(0);transform: translateY(0);}
}

.top_cms_outer{
    background-image:url(./Dup/img/bg3.jpg),url(./Dup/img/bg4.jpg);
    background-position: center top,center bottom;
    background-repeat:no-repeat,no-repeat;
    background-size: contain,contain;    
}


/*----------under page--------------------------------------------------*/
#cms,#page07,#page09,.page_outer{
    background:url(./Dup/img/bg3.jpg) no-repeat center top;
    background-size: 100% auto;
}
#page_title::after{background-color: rgba(0,0,0,0.2);}
#page_title p{
    border: 0;
    text-align: center;
    display: block;
    font-size:5rem;
    margin-bottom: 10px;
    font-weight: bold;
}
#page_title h2{font-size:2rem;}


/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
h1{width: 20%;}
#main_img #video {margin-left: 0;}
#main_img #catch h2{font-size: calc(2rem + 5px);}
#intro_title {margin-bottom: 20px;}
#intro_title .intro_sub_title{font-size: 5rem;}
#intro .txt_color1{padding:0 20px;}
.Text {font-size: 5rem;}
#contents .logo img {width: 250px;}
#f_contact .con_bt {font-size: 4rem;}
#page_title p{font-size: 4rem;}
.loader{width: 350px;}
}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
.loader {width:250px;}
h1 {width: 35%;}
h1 a {padding: 10px;}
#main_img #catch h2 {font-size: calc(2rem - 8px);}
#main_img #video{width: 100%!important;}
#intro{padding-top: 50px;}
#intro_title .intro_sub_title {
    font-size: 3rem;
    margin-bottom: 20px;
}
.Text{font-size:3rem;}
#contents .logo img {width: 200px;}
#contents .contents_txt h3 span{
    letter-spacing:0;
    font-size: calc(2rem - 9px);
}
#f_contact .con_bt {
    font-size: 3rem;
}
#page_title p {
    font-size: calc(3rem - 8px);
}
#page_title h2 {
    font-size: calc(1rem + 5px);
}
footer #footer #footer_txt .logo {
    width: 80%;}
}

/* ---------- IEの処理 ---------- */
@media all and (-ms-high-contrast: none){
#cms_2-b .cate .cate_title,#cms_6-a .cate .cate_title{padding-top:10px;}

}


