﻿#cms_5-c .box_txt1::before {
    font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}
p.banner.width_70per.linehight_2-h.linehight_2_tb.pd_20px.border_so1-l.border_color2.font_2dw_tb.width_100per_sp img {
    max-width: 300px;
}
div#banner {
    position: fixed;
    left: 5px;
    bottom: 5px;
    z-index: 99;
    width: 300px;
    transition:all 0.3s;
}
#banner:hover{
    opacity:0.8;
}
.fade{
    opacity:0;
    
}
footer #logo2 {
    width: 30% !important;
}
.fade.active{
    animation:fade 0.3s ease-in forwards;
    animation-delay: 0.5s;
}
@keyframes fade{
    0%{
        opacity:0;
    }
    100%{
        opacity:1;
    }
}
.fadein4.active{
    animation:fade_anime3 0.6s ease-in forwards;
}



.fadein3.active .box{
    animation:fade_anime3 0.6s ease-in forwards;
}
.fadein3.active .box:nth-child(2){
    animation-delay: 0.2s;
}
.fadein3.active .box:nth-child(3){
    animation-delay: 0.4s;
}

@keyframes fade_anime3{
    0%{
        opacity:0;
         transform:translateX(150px);
       
    }
    100%{
          opacity: 1; 
        transform:translateX(0px);
    }
}

.intro_txt1 p {
    line-height: 9vw;
  
}
.fadein1,.fadein2,.fadein3 .box,.fadein4{
    opacity:0;
}
.fadein1{
    transform:translateX(-150px);
}
.fadein1{
    transform:translateX(150px);
}
.fadein1.active{
    animation:fade_anime1 0.6s ease-in forwards;
}
.fadein2.active{
    animation:fade_anime2 0.6s ease-in forwards;
}
@keyframes fade_anime1{
    0%{
        opacity:0;
         transform:translateX(-150px);
       
    }
    100%{
          opacity: 0.8; 
        transform:translateX(0px);
    }
}
@keyframes fade_anime2{
    0%{
        opacity:0;
         transform:translateX(150px);
       
    }
    100%{
          opacity: 0.8; 
        transform:translateX(0px);
    }
}

.txt_anim1 span{
	position: relative;
	right: 20px;
	opacity: 0;
	transition: all .8s;
}
.txt_anim1 span.start{
	right: 0;
	opacity: 1;
}

#top_contents2 .box1 a {
    display: inline-block;
    background: #1c233c;
    padding: 10px 50px;
    margin-top: 20px;
    color: white;
    transition: all 0.3s;
}
#top_contents2 .box1 a:hover{
    opacity:0.8;
}
.gallery .cate_box .box_item p{
    display:none;
}
.gallery .cate_box {
    flex-direction: column;
    width: 30%;
}
.gallery .cate_box .box_item{
    width: 100% !important;
}

.gallery .g_wrap .box_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
#top_contact_box .tel_bt, #top_contact_box .con_bt{
    background-color: rgba(255,255,255,0.10);
        border: 2px solid white;
}
#cms_6-b .cate_title{
    color:white;
}
#top_contact_box .con_bt a.engage{
   padding-left: 0; 
}
#top_contact_box .con_bt a.engage img{
    width:35%;
}
.sns_links li {
    height: 30px; 
    width: 30px;
}
.top section#top_contact_box,.top footer{
    width: calc(100% - 90px);
}
.cate_title {
    border-width: 1px;
    color: #1c233c;
}
.title_box h2 {
    color: #1c233c;
}
.title_box p{
    color: #2561bc;
}
a.linkStyle {
    color: #1c233c;
    text-decoration: underline;
}
.top_cms_box3 h3 {
    font-size: 28px;
}
.top_cms_box3 .more{
    letter-spacing: 3px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity .8s;
    z-index: 5;
}
.top_cms_box3 a:hover .more {
    opacity: 1;
}
.top_cms_box3 a:before {
    width: 100%;
    height: 100%;
    content: "";
    background: rgb(28 35 60 / 50%);
    position: absolute;
    top: 0;
    left: 0;
}
.top_cms_box3 a:hover:after{
    top:0;
}
.top_cms_box3 a:after{
    top: 100%;
    transition: 0.5s;
    background-color: #1c233c;
    z-index: 3;
    width:100%;
    height:100%;
    content:"";
        left: 0;
    position:absolute;
}
.top_cms_box3 p{
    position:relative;
    z-index:2;
    font-size: 16px;
}

.top_cms_box3 a {
    padding: 120px 0;
    position: relative;
    display: block;
    color: white;
    overflow: hidden;
}
.top_cms_box3 .box {
    width: 50%;

    background: #233250;
    text-align: center;
    box-sizing: border-box;
    color: white;
}
.top_cms_box3 {
    display: flex;
    flex-wrap: wrap;
        margin-bottom: 150px;
}

#loading_logo{
    max-width:400px;
}
#loading_line .line{
    background:#dee5ec;
}
.top_cms_box2 p:first-of-type:before {
    width: 15vw;
    height: 1px;
    display: block;
    background: #333333;
    position: absolute;
    content: "";
    transform: rotate(-45deg);
    right: -4vw;
    bottom: -60px;
}
.top_cms_box2 p:first-of-type {
    font-size: 6vw;
    font-family: 'Bellefair', serif;
    display: inline-block;
    position: relative;
}
.top_cms_box2 {
    padding-left:150px;
    position: absolute;
}


/*------------CMS3--------------------*/
.link_type2 h3 {
    position: absolute;
    bottom: -100px;
    font-size: 42px;
    letter-spacing: 3px;
}
.link_type2 .cate_box:nth-child(1) {
    width: 60% !important;
}
.link_type2 .cate_box:nth-child(2) {
    width: 70% !important;
}
.link_type2 .cate_box:nth-child(3) {
    width: 80% !important;
}
.link_type2 .cate_box{
    padding-right:0;
}

.link_type2.cms_wrap.d_flex.flex_stretch{
  flex-direction: column;  
      align-items: flex-end;
      
}
.link_type2 .cate_box a {
    padding-top: 120px;
    padding-bottom: 100px;
    color: white;
}
.link_type2 .cate_box a:before, .link_type2 .cate_box a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
        background-color: rgb(21 26 33 / 60%);
    z-index: 1;
}
.link_type2 .cate_box a:after {
    top: 100%;
    transition: 0.5s;
    background-color: #1c233c;
	z-index: 3;
}
.link_type2 .cate_box a:hover:after {
    top: 0;
}
.link_type2 .cate_box .txt_wrap {
    z-index: 2;
}
.link_type2 .more {
	letter-spacing: 3px;
    box-sizing: border-box;
	opacity: 0;
	transition: opacity .8s;
	z-index: 4;
}
.link_type2 .cate_box a:hover .more {
    opacity: 1;
}
/*--------------------------------ここまで----------------------------*/

footer #logo2 {
    max-width: 450px;
}
#top_contents2:after {
    content: "Contents";
    position: absolute;
    top: -146px;
    right: 0;
    font-family: 'Bellefair', serif;
    font-size: 140px;
    color: #1c233c;
}

section#top_contents2:before {
    width: 100%;
    height: 100%;
    content: "";
    background: rgb(2 7 17 / 70%);
    position: absolute;
    left: 0;
    top: 0;
}
section#top_contents2{
    position:relative;
}
h1,h2,h3,h4{
    font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}
section#top_contents1 {
    display: flex;
    padding: 150px 10% 165px;
    padding-right: 0;
    background: #dee5ec;
    margin-top: -130px;
    padding-top: 280px;
    width: calc(100% - 90px) !important;
    box-sizing: border-box;
    margin-right: 0;
    margin-left: auto;
    position: relative;
    
}
#logo {
    width: 510px;
    height: 110px;
}
h1.logo {
    width: 90% !important;
}
#top_contents1 .img_box {
    margin-right: 0;
    margin-left: auto;
}
#top_contents1 figure {
    background: red url(./Up_Img/578/yy3vkiyz.jpg) center / cover no-repeat;
    height: 640px;
}
.catch_txt {
    position: absolute;
    width: 50%;
    bottom: 10%;
    text-align: left;
        transform: translateY(80px);
}
.catch_txt p{
    padding:40px;
    background:white;
}
#wrap.top{
    padding-right:0;
}
#fix_menu{
    background:transparent;
}
#main_img{
width: calc(100% - 90px) !important;
}
.catch_txt h2{
    text-align: left;
    display: inline-block;

}
.catch_txt h2 {
    text-align: left;
    display: inline-block;
    font-size: 32px;
    padding-left:20px;
    margin-bottom: 20px;
}
.intro_txt1 {
    font-family: 'Bellefair', serif;
    font-size: 9vw;
    color: white;
    position: absolute;
    font-weight: 100;
   transform: translateX(40px) translateY(-1vw);
}

.intro_txt1 div{
    margin: 0vw;
    position: relative;
    height: 2vw;
    margin-top: 1vw;
    margin-left: 2vw;
}
.intro_txt1 div span:first-of-type {
    display: block;
    width: 4vw;
    height: 2px;
    background: white;
    transform: rotate(-45deg);
    transform-origin: center;
    left: 0;
    position: absolute;
}

.intro_txt1 div span:last-of-type {
    display: block;
    width: 4vw;
    height: 2px;
    background: white;
    transform: rotate(45deg);
    transform-origin: center;
    position: absolute;
    left: 0;
}
header{
    width: calc(100% - 90px) !important;
}

section#top_contents1_2 {
    width: calc(100% - 90px) !important;
    padding: 0;
    background: #dee5ec;
    margin-left: auto;
    margin-top: -100px;
    padding-top: 80px;
    padding-bottom: 50px;
    box-sizing: border-box;
}
#strong {
    position: absolute;
    background: #1c233c;
    color: white;
    width: 40%;
    left: -90px;
    height: 100%;
    font-family: 'Bellefair', serif;
    font-size: 6vw;
    padding: 30px;
    box-sizing: border-box;
    line-height: 6vw;
    letter-spacing: 5px;
}
section#top_contents1_2 #box_wrap .box {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 30%;
    background: white;
    padding: 50px 40px;
    z-index: 2;
    position: relative;
}
section#top_contents1_2 #box_wrap {
    display: flex;
    justify-content: space-around;
    width: 70%;
    padding: 80px;
    margin-left: auto;
}
section#top_contents1_2 .box img {
    width: 70%;
}
section#top_contents1_2 #box_wrap .box p {
    font-size: 22px;
    font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
    color: #2561bc;
    text-align: left;
}

#contents_wrap {
    margin-top: 100px;
    margin-bottom: 100px;
    position: relative;
    padding: 0;
}
div#strong p:before {
    width: 15vw;
    height: 1px;
    display: block;
    background: white;
    position: absolute;
    content: "";
    transform: rotate(-45deg);
    right: -4vw;
    bottom: 20px;
}
div#strong p {
    position: relative;
    display: inline-block;
}
section#top_contents1_2 #box_wrap .box:first-of-type:before {
    content: "01";
    position: absolute;
    right: 15px;
    bottom: 10px;
    font-size: 4vw;
    font-family: 'Bellefair', serif;
    line-height: 3vw;
    color: #dee5ec;
}
section#top_contents1_2 #box_wrap .box:nth-child(2):before {
    content: "02";
    position: absolute;
    right: 15px;
    bottom: 10px;
    font-size: 4vw;
    font-family: 'Bellefair', serif;
    line-height: 3vw;
    color: #dee5ec;
}
section#top_contents1_2 #box_wrap .box:nth-child(3):before {
    content: "03";
    position: absolute;
    right: 15px;
    bottom: 10px;
    font-size: 4vw;
    font-family: 'Bellefair', serif;
    line-height: 3vw;
    color: #dee5ec;
}
#contents_wrap .box span {
    display: inline-block;
    content: "";
    width: 26%;
    height: 4px;
    top: 0;
    right: 0;
    position: absolute;
    background: #1c233c;
}
section#main_img:before {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    background: #00000066;
    z-index: 2;
}
section#main_img{
    position:relative;
}
#top_contents2 {
    padding: 130px 0;
    margin-top: 150px;
    width: calc(100% - 90px);
}
#top_contents2 .con_box:nth-of-type(2) .text_box .before {
    background: #2563be;
}
.text_box h2 {
    color: #1c233c;
}
div#main_txt {
    position: absolute;
    z-index: 2;
    color: white;
    font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
    font-size: 1.8vw;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 5px;
}
/*--------------------------------タブレット-------------------------------------*/
@media screen and (max-width:768px){
    section#main_img {
    width: 100% !important;
    margin-top: 100px;
    padding-top:0 !important;
}
    #logo h1.logo{
        max-width: 300px;
    }
    h1.logo img{
    width: 100% !important;
}
#fix_menu {
    background: white;
}
div#main_txt{
    font-size:24px;
}
section#top_contents1 {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: #dee5ec;
    margin-top: -130px;
    padding-top: 280px;
     width:100% !important; 
    box-sizing: border-box;
    margin-right: 0;
    margin-left: auto;
    position: relative;
}
#top_contents1 .img_box {
    margin-right: 0;
    margin-left: auto;
    width: 100% !important;
}
.catch_txt p {
    padding: 40px;
    background: transparent;
    z-index: 2;
    position: relative;
}
.catch_txt {
   position: static;
    width: 90%;
    bottom: 10%;
    text-align: left;
  transform: none;
}
.catch_txt h2{
    margin-bottom:0;
}
.intro_txt1 {
    font-size: 14vw;
    transform: translateX(10px) translateY(-18vw);
}
.intro_txt1 p {
    line-height: 14vw;
}
#top_contents1 figure {
    height: 400px;
}
section#top_contents1_2 {
    width: 100% !important;
}
section#top_contents1_2 #box_wrap .box {
    padding: 20px 20px;
  
}
section#top_contents1_2 #box_wrap {
    display: flex;
    justify-content: space-around;
    width: 90%;
   padding:0;
    margin-left: auto;
     margin-right: auto;
}
section#top_contents1_2 #box_wrap .box p{
    font-size:16px;
}
#strong {

    width: 100%;
    top: -150px;
    left: 0;
    height: 100%;
    padding: 30px;
    
}
#contents_wrap {
    margin-top: 100px;
    margin-bottom: 50px;
    position: relative;
    padding: 0;
}
#top_contents2:after {
    content: "Contents";
    position: absolute;
    top: -93px;
    right: 0;
    font-family: 'Bellefair', serif;
    font-size: 90px;
    color: #1c233c;
}
#top_contents2 {
    padding: 130px 0;
    margin-top: 150px;
    width: 90% !important;
    margin: 100px auto;
}
#contents_wrap .box span{
    background: #2563be;
}
.top_cms_box2 {
    padding-left: 50px;
}
.link_type2 .cate_box a {
    padding-top: 80px;
}
.link_type2 h3 {
    font-size: 32px;
}
.top_cms_box3 a {
    padding: 70px 0;
}
.top_cms_box3 h3 {
    font-size: 24px;
}
footer #logo2{
    width:40% !important;
}
.top section#top_contact_box, .top footer{
    width:100% !important;
}
div#banner {
    width: 240px;
}
}

/*-------------------------------------------------スマホ---------------------------------------*/
@media screen and (max-width:667px){
    #logo{
        width:80% !important;
        height: 75px;
    }
    h1.logo img {
    width: 100% !important;
}
section#main_img {
    margin-top: 75px !important;
}
div#main_txt {
    font-size: 16px;
}
div#main_txt{
    letter-spacing: 1px;
}
section#top_contents1 {
    margin-top: 0;
    padding-top: 100px;
}
.catch_txt p {
    padding: 10px
}
.catch_txt h2 {
    font-size: 24px;
}
.intro_txt1 {
    transform: translateX(10px) translateY(-31vw);
}
section#top_contents1{
    padding-top: 130px;
}
.catch_txt{
    margin-bottom:20px;
}
#top_contents1 figure {
    height: 250px;
}
#strong{
    font-size: 11vw;
    line-height: 11vw;
}
div#strong p:before {
    width: 35vw;
    height: 1px;
    display: block;
    background: white;
    position: absolute;
    content: "";
    transform: rotate(-45deg);
    right: -14vw;
    bottom: 10px;
}
section#top_contents1_2 #box_wrap{
    flex-direction:column;
        align-items: center;
        position: relative;
    top: 30px;
}
section#top_contents1_2 #box_wrap .box{
        width: 80%;
        margin-bottom: 30px;
}
section#top_contents1_2 #box_wrap .box:first-of-type:before,section#top_contents1_2 #box_wrap .box:nth-child(2):before,section#top_contents1_2 #box_wrap .box:nth-child(3):before {
    font-size: 14vw;
    line-height: 12vw;
}
#loading_logo {
    width: 60%;
}
#top_contents2:after {
    top: -60px;
    font-size: 58px;
}
section#top_contents2:before{
    background: rgb(189 189 189 / 70%);
}
#top_contents2 {
    padding: 50px 0;
}
#top_contents2 .box1 a {
    display: inline-block;
    background: #1c233c;
    padding: 10px;
    box-sizing: border-box;
    width: 100%;
    margin-top: 20px;
    color: white;
    transition: all 0.3s;
    text-align: center;
}
.link_type2 .cate_box a {
    padding-top: 30px;
}
.link_type2 h3 {
    font-size: 24px;
        padding: 10px;
}
.top_cms_box2 p:first-of-type:before {
    width: 24vw;
    height: 1px;
    display: block;
    background: #333333;
    position: absolute;
    content: "";
    transform: rotate(-45deg);
    right: -13vw;
    bottom: -50px;
}
.top_cms_box2 {
    padding-left: 20px;
}
.top_cms_box3 a {
    padding: 50px 0;
}
.top_cms_box3 h3 {
    font-size: 18px;
}
.top_cms_box3 p {
    font-size: 14px;
}
.top_cms_box3 {
    margin-bottom: 100px;
}
footer #logo2 {
    width: 70% !important;
}
.gallery .cate_box {
    flex-direction: column;
    width: 50%;
    padding-bottom:0;
}
.gallery .cate_box h4{
    margin:0;
}
.gallery .cate_box .box_item {
   padding:5px;
}
a.txt_color_nomal.hvr_opa05.motion03s.d_block.pd_30px.width_300-max.border_color2.border_so1 {
    font-size: 18px;
}
#footer {
    padding-bottom: 100px;
}
}
/*-------------------------------------------------ここまで---------------------------------------*/