body{margin:0;font-family: "Yu Gothic", "游ゴシック", YuGothic, sans-serif;}

@media (min-width: 1280px)/*PC一括*/ {

.brsp{
  display:none;
}

header{
    width:220px;
    height:auto;
    display:flex;
     justify-content: flex-start;
     flex-direction:row-reverse;
    padding-top:170px;
    margin:auto;
}

#logosvg{
    width:220px;
    height:310px;

}

#txtsvg{
    width:16px;
    margin-top:63px;
    margin-right:100px;
}

main{

}

#mainvisual{
position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 53.22%;
  background-image: url('img/top_3840.webp');
  background-size: cover;
  background-position: center;
}

main section:nth-of-type(2){
  text-align: center;
  margin-top:160px;
}

main section:nth-of-type(3){
    display: flex;
    justify-content: center;
    width:90%;
    max-width:1480px;
    margin:160px auto 0 auto;
}
.linkimg{
    display: flex;
    align-items: flex-end;
    width:400px;
    height:565px;
}

.linkimg:nth-of-type(2){
    margin:0 140px;
}

.linkimg img{
    width:100%;
}

footer{
    margin:165px auto 170px auto;
    text-align:center;
}

}/*PC　end*/



@media (max-width: 1279px)/*SP.tab一括*/ {
.brsp{
  
}
header{
    width:100%;
    height:auto;
    display:flex;
     justify-content: center;
     flex-direction:row-reverse;
    padding-top:100px;
    margin:auto;
    position:relative;
}

#logosvg{
    width:37.7%;
    margin-right:10.6%;
    display:flex;
     justify-content: center;
     align-items:flex-start;    
    position: relative;
}
#logosvg g,
#logosvg svg{
    width:100%;
    height: 100%;
    position:absolute;
    top:0;
    left:0;
  z-index: 10;}

#txtsvg{
    width:4.1%;
    margin-right:6.5%;
position:relative;
    }

#txtsvg svg,
#txtsvg g{width:100%;height: 100%;    
    position:relative;
    top:21%;}

main{
  margin-top:20%;
}

#mainvisual{
position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 53.22%;
  background-image: url('img/top_SP_2560.webp');
  background-size: cover;
  background-position: center;

}

main section:nth-of-type(2){
  text-align: center;
    width:80%;
    margin:60px auto 0 auto;
    letter-spacing: 0.08em;
    font-size:15px;
}

main section:nth-of-type(3){
    display: flex;
    flex-direction:column;
    width:66%;
    margin:60px auto 0 auto;
}
.linkimg{
    display: flex;
    align-items: flex-end;
    width:100%;
}

.linkimg:nth-of-type(1){
    margin:110px auto 110px auto;
}

#order1{order:1}
#order2{order:2}
#order3{order:3}

.linkimg img{
    width:100%;
}

footer{
    margin:100px auto 25px auto;
    text-align:center;
}

.linkimg a {
  display: block;
  transition: opacity 0.3s ease; 
}

.linkimg a:active {
  opacity: 0.5; 
}
}/*SP.tab　end*/




/*共通*/
.fade-in-up {
  opacity: 0;
  transform: translateY(10px);
}

.fade-in-up.is-active {
  animation: fadeInUpAnimation 0.4s ease-out forwards;
}

.fade-in-up:nth-of-type(1).is-active {
  animation-delay: 0.1s;
}
.fade-in-up:nth-of-type(2).is-active {
  animation-delay: 0.4s;
}
.fade-in-up:nth-of-type(3).is-active {
  animation-delay: 0.7s;
}

@keyframes fadeInUpAnimation {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



.linkimg a {
  display: block; 
  transition: opacity 0.3s ease; 
}

@media (hover: hover) {
  .linkimg a:hover {
    opacity: 0.5; 
  }
}