html{
    scroll-behavior: smooth;
}
*{
    box-sizing: border-box;
}
body{
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
}
.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #eaf4fc;
    border: solid 2px #223a70;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #223a70;
    border-right: 3px solid #223a70;
    transform: translateY(20%) rotate(-45deg);
}
a{
    text-decoration: none;
    color: inherit;
}
a:hover{
    cursor:pointer;
    opacity: 0.7;
}
li{
    list-style-type: none;
}
.nav-icon{
 display: flex;
    gap: 17px;
    width: 100%;
    margin: 23px 40px 0 auto; /* 右に40px余白 */
    padding-left: 0;
}
.spbr{
    display:none;
}
.nav-icon>li{
   width: 23%;
} 
header{
    /* background: linear-gradient(90deg, #eaf4fc 0%, #a0d8ef 100%); */
    background-image: url(image/fv.png);
    background-attachment: fixed;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: left;
    color: white;
    padding: 40px 20px 20px 20px;
    position: relative;
    top: 0;
    height: 60vh;
    width: 100%;
}
.txt-content{
    background-image: url(image/bg1.png);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: left;
    color: white;
    padding-top: 30px;
    position: relative;
    top: 0;
    height: 100vh;
    width: 100%;
    height: 100vh;
}
.inner-txtcontent{
    letter-spacing:1px;
    line-height: 2.5rem;
    margin: 20px auto;
    width: 70%;
    background: #ebf6f7;
    border-radius: 20px;
    color: #223a70;
    font-size: 20px;
    padding: 30px;
}
.service{
    background-image: url(image/bg3.png);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: left;
    color: white;
    padding: 0 0 20px 0;
    position: relative;
    top: 0;
    /* height: 100vh; */
    width: 100%;
}
#animation {
    animation: fade-in 3s;
    animation-fill-mode: forwards;
  }
  @keyframes fade-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  #animation2 {
    animation: fade-in 6s;
    animation-fill-mode: forwards;
  }
  @keyframes fade-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
.header-logo{
    width: 55%;
    padding: 8px;
}
.fv_logo-wrapper{
    position: absolute;
    width: 18%;
    right: 9%;
    top: 32%;
    opacity: 0.2;
    z-index: 90;
    
}
.logo_rotate{
    animation:12s linear infinite rotation1;
}
@keyframes rotation1{
    0%{ transform:rotate(0);}
    100%{ transform:rotate(360deg); }
  }
.toptxt1{
    font-size: 50px;
    text-shadow: 2px 2px 2px white;
    color: #223a70;

}
.header-nav{
     top: 0px;
    position: sticky;
    z-index: 10000;
    width: 100%;
    display: flex;
    background: #223a70;
    margin-top: 0;
    margin-bottom: 0;
    justify-content: space-between;
    padding-right: 30px;
} 
.header-ul{
    display: flex;
    gap: 8px;
    width: 40%;
    padding-left: 0;
    z-index: 100;
}
.header-ul>li{
   width: 30%;
}
.header-nav>li:first-child{
    width: 15%;
}
.header-nav>li:nth-child(2){
    width: 60%;
   
}
.header-nav>li:last-child{
    width: 25%;
}
.header-txt{
    color: white;
    text-align: center;
    font-size: 28px;
    margin-top: 35px;
}
.header-txt-pb{
    font-size: 25px;
    font-weight: bold;
} 
.content-h{
    font-size: 28px;
    padding: 8px 20px;
    color: #223a70;
    background:rgba(255, 255, 255, 0.6);
}
.item-content{
    
    text-align: left;
    padding: 20px 0;
    width: 100%;
}
.reason {
    padding: 50px;
}
.reasontxt-h {
    background-color: #223a70;
    color: white;
    padding: 8px;
    font-size: 19px;
    font-weight: bold;
}
.reason-h {
    font-size: 25px;
    text-align: center;
    font-weight: bold;
    background-image: linear-gradient(70deg, rgb(34, 58, 114) 45%, #fff 50%, rgb(34, 58, 114) 55%);
    background-size: 500% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: shine 5s infinite;
}
@keyframes shine{
    0% {
    background-position: 100% 50%;
}

100% {
    background-position: 0% 50%;
}
}
.reasontxt {
    background: rgba(160, 216, 239, 0.4);
    color: black;
    margin-top: 12px;
    max-width: 1200px;
    margin: 0 auto;
}
.reasontxt-txt{
    padding: 8px;
}
/* スライド */
.slide-container {
    width: 100%;
    margin: 20px auto 50px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.slide-wrapper {
  display: flex;
  animation: slide-flow 80s infinite linear 1s both;
}
.slide{
  width: 500px;
  object-fit:cover;
  border: none;
}
@keyframes slide-flow {
     0% {transform: translateX(0);}
 100% {transform: translateX(-100%);}
}
.slide-paused:hover .slide-wrapper {
    animation-play-state: paused;
  }
  .slide-paused:hover .slide-wrapper img:hover {
    opacity: .8;
    cursor: grabbing;
  }
/* スライドはここまで */
.serviceul{
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    gap: 18px;
    margin: 42px auto;
    color: #223a70;
}
.serviceul>li{
    width: 30%;
    margin-bottom: 20px;
   
}
.serviceli-inner{
    overflow:hidden;
    border-radius: 10px;
}
.serviceul>li img{
    transition:1s all;
   }
.serviceul>li:hover img{
    transform:scale(1.2,1.2);
}
footer{
    background: #223a70;
    color: white;
    text-align: center;
    padding: 40px;
}
footer a:hover{
color: #a0d8ef;
}
footer ul{
    display: flex;
    
    width: 60%;
    margin: 0 auto;
    padding-bottom: 20px;
    padding-left: 0;
}
footer ul>li{
    width: 30%;
}
/* 1000pxはここから */
@media (max-width:1000px){
   .header-nav>li:nth-child(2){
        display: none;
    }
    .header-nav>li:first-child {
        width: 30%;
    }
    .header-nav>li:last-child {
        width: 60%;
    }
    .header-nav{
        justify-content: space-between;
        padding-right: 10px;
    }
    .nav-icon{
        margin: 20px 30px auto auto;
    } 
    .header-ul {
        width: 80%;
        margin: 0 auto;
        gap: 18px;
    }
    .toptxt1 {
        font-size: 60px;
    }
    .fv_logo-wrapper {
        top: 64%;
    }
    .inner-txtcontent {
        width: 90%;
    }
    .inner-wrapper-cover{
        padding: 30px 0;
    }
    footer ul {
        width: 75%;
        flex-wrap: wrap;
    }
}
/* 530pxはここから */
@media (max-width:530px){
    header {
        height: 80vh;
        padding-top: 26px;
    }
    .header-logo {
    width: 50%;
    padding: 10px 0 5px 0;
}
    .toptxt1 {
        font-size: 32px;
        margin-top: ;
    }
    .reason{
        padding: 8px;
    }
.header-nav{
    padding-right: 10px;
    padding-left: 10px;
} 
    .header-ul {
        width: 100%;
        gap: 8px;
    }
    .header-ul>li {
        width: 33%;
    }
   .nav-icon {
        margin: 11px 16px 10px auto;
        gap:8px;
    } 
    .fv_logo-wrapper {
        width: 36%;
        top: 65%;
        right: 4%;
    }
    .txt-content{
        height: 80vh;
    }
    .inner-txtcontent{
        padding: 12px;
        font-size: 13px;
        line-height: 2rem;
    }
    .serviceul{
        padding-left: 0;
        width: 92%;
    }
    .serviceul>li{
        width: 47%;
    }
    footer{
        padding: 30px 20px;
    }
    footer ul{
        width: 90%;
        margin: 0 auto 0 25px;
    }
    footer ul>li{
        width: 47%;
        text-align: center;
        margin-bottom: 20px;
    }
    .fv_logo-wrapper ul>li:nth-child(3){
        font-size: 12px;
        margin-top: 3px;
    }
    .content-h{
        padding: 8px 0;
       
    }
}
