@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
}
#page-top {
    position: fixed;
    bottom: 5%;
    right: 2%;
    width: 5%;
    height: 5vw;
    border-radius: 40px;
    z-index: 1000;
}

#page-top a {
    display: block;
    line-height: 6;
    font-size: 5%;
    color: #fff;
    text-align: center;
    text-decoration: none;
}
#page-top a:hover {
    width: 100%;
    height: 5vw;
    border-radius: 40px;
    color: #111;
    background-color: rgba(17, 50, 133, 0.5);
}
#page-top a img {
    display: block;
    width: 100%;
}

.NavMenu {
    display: none;
}
header {
    display: flex;
    position: fixed;
    top: 0%;
    left: -1%;
    width: 100%;
    margin-bottom: 7%;
    vertical-align: bottom;
    z-index: 100000;
  
}
  
header h1 img {
    display: block;
    width: 25%;
}

nav {
    width: 40%;
    margin-left: auto;
    /* background-color: aqua; */
}

nav ul {
    width: 100%;
    display: flex;
    margin-top: 7%;
    list-style-type: none;
}

nav ul li {
    width: 100%;
    text-align: center;
    mix-blend-mode: difference;
}

nav ul li a {
    position: relative;
    font-size: 1.2vw;
    font-family: "Merriweather", serif;
    font-weight: 700;
    line-height: 2.6;
    text-decoration: none;
    color:rgb(24, 33, 110);
}
  
  /*ヘッダー動く下線部分*/
nav ul li a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #fe7e39;
    bottom: -1px;               /*アンダーラインがaタグの下端から現れる*/
    transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
    transform-origin: top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
    transition: transform 0.3s; /*変形の時間*/
}
      
nav ul li a:hover::after {
    transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
}

/* スクロール記述 */
.scroll_up {
    list-style-type: none;
    transition: 0.8s ease-in-out;
    transform: translateY(30px);
    opacity: 0;
}

.scroll_up.on {
    transform: translateY(0);
    opacity: 1.0;
}
.single-scroll-down-animation {
    margin-top: 5%;
}
.scroll-down4{
    width: 3px;
    height: 8vw;
    background: rgba(0, 0, 255, 0.7);
    animation: scrollDown4 2s ease infinite;
    margin: 0 auto; 
}

@keyframes scrollDown4{
    0%{
        transform-origin: top;
        transform: scaleY(0);
    }
    45%{
        transform-origin: top;
        transform: scaleY(1);
    }
    55%{
        transform-origin: bottom;
        transform: scaleY(1);
    }
    100%{
        transform-origin: bottom;
        transform: scaleY(0);
    }
}
.scroll_left {
    -webkit-transition: 0.8s ease-in-out;
    -moz-transition: 0.8s ease-in-out;
    -o-transition: 0.8s ease-in-out;
    transition: 0.8s ease-in-out;
    transform: translateX(-30px);
    opacity: 0;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
}
.scroll_left.on {
    opacity: 1.0;
    filter: alpha(opacity=100);
    -moz-opacity: 1.0;
    transform: translateX(0);
}

/*----------------------------
scroll_right ｜右から出現
----------------------------*/
.scroll_right {
    -webkit-transition: 0.8s ease-in-out;
    -moz-transition: 0.8s ease-in-out;
    -o-transition: 0.8s ease-in-out;
    transition: 0.8s ease-in-out;
    transform: translateX(30px);
    opacity: 0;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
}
.scroll_right.on {
    opacity: 1.0;
    filter: alpha(opacity=100);
    -moz-opacity: 1.0;
    transform: translateX(0);
}
h2 {
    color: #333;
    margin-top: 7%;
    text-align: center;
    font-size: 3vw;
    z-index: 10;
    
}
.m-position {
    position: relative;
}
.position-3 {
    position: absolute;
    top: -45%;
    left: 53%;
    width: 5%;
    height: 5vw;
    z-index: 00;
    border-radius: 5px;
    background-color: rgba(0, 0, 255, 0.5);
    mix-blend-mode: difference;
}
.position-4 {
    position: absolute;
    top: 50%;
    left: 42%;
    width: 3%;
    height: 3vw;
    z-index: 00;
    border-radius: 5px;
    background-color:  rgba(254, 126, 57, 0.5);
    mix-blend-mode: difference;
}
.h2-p {
    font-size: 1vw;
    color: #888;
    text-align: center;
    margin-bottom: 7%;
}
.loop-wrap {
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 3vw;
    background:rgba(0, 0, 255, 0.5);
    margin-top: 5%;
    mix-blend-mode: difference;
}
.loop-area {
  display: flex;
  animation: loop-slide 50s infinite linear 0.3s both;
  list-style: none;
  margin: 0;
  padding: 0;
}
.loop-area .content {
  width: 500px;
  font-size: 1vw;
  font-weight: 700;
  color:aliceblue;
}
@keyframes loop-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.banner {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15%;
}
.flex {
    display: flex;
    padding-top: 10%;
    position: relative;
}
.position-1 {
    position: absolute;
    top: 17%;
    left: 39%;
    width: 10%;
    height: 8vw;
    z-index: 0;
    border-radius: 5px;
    background-color:  rgb(254, 126, 57);
}

.position-2 {
    position: absolute;
    top: 16%;
    left: 38.3%;
    width: 10%;
    height: 7.5vw;
    z-index: 0;
    border-radius: 5px;
    background-color:  rgb(254, 126, 57);
}
.flex img {
    display: block;
    width: 50%;
    height: 30vw;
    margin-top: 2%;
    z-index: 10
}
.box {
    width: 100%;
    margin-left: 4%;
    border-left: 1px dashed #4e54c8;
    transition: 0.3s;
}
.box:hover {
    color:  rgb(204, 78, 10);
    transition: 0.3s;
}
.box h3 {
    width: 100%;
    text-indent: -1em;
    font-size: 1.8vw;
    margin-bottom: 3%;
}
.box p {
    margin-left: 2%;
    white-space: pre-wrap;
    margin-bottom: 3%;
    font-size:1.2vw
}

/* 画像の親要素のスタイル */
.box2 {
    width: 88%;
    height: 30vw;
    position: relative;
  }
  /* 画像のスタイル */
  .box2 img {
    height: auto;
    left: 0;
    position: absolute;
    width: 100%;
  }
  /* 2枚目の画像は最初透明 */
  .box2 img:last-of-type {
    opacity: 0;
    transition: opacity .7s;
  }
  /* hoverすると2枚目の画像が透明じゃなくなる */
  .box2:hover img {
    opacity: 1;
  }

/* footer */
footer {
    width: 100%;
    margin-top: 10%;
    position: relative;
}
.h2-potision {
    width: 30%;
    font-size: 1.5vw;
    color:  rgb(254, 126, 57);
    text-indent: 1em;
    border-left: 5px solid  #18216e;
    ;
    margin-left: 5%;
}

.g-mail {
    font-size: 4vw;
    color: rgb(24, 33, 110);
    text-decoration: underline;
    text-decoration-color: rgb(254, 126, 57);
    margin-top: 3%;
    margin-bottom: 5%;
    margin-left: 5%;
}
h3 {
    width: 50%;
    font-size: 4vw;
    color: rgb(24, 33, 110);
    margin-left: 3%;
    font-family: "Merriweather", serif;
    margin-bottom: 5%;
}
h3 span {
    font-size: 4vw;
    color: rgb(254, 126, 57);
    margin-left: 3%;
    font-family: "Merriweather", serif;
}

.flex3 {
    display: flex;
    width: 30%;
    margin-left: 7%;
    list-style-type: none;
}

.scroll_up1 {
    list-style-type: none;
    transition: 0.8s ease-in-out;
    transform: translateY(30px);
    opacity: 0;
    width: 40%;
    height: 40vw;
    margin-top: -21%;
    margin-left: 12%;
    margin-right: auto;
    padding-top: 2%;
    padding-bottom: 3%;
    font-size: 2vw;
    text-align: center;
    color: rgb(24, 33, 110);
    font-family: "Merriweather", serif;
    border: 1px solid rgba(24, 33, 110, 0.5);
    border-radius: 5px;
    transform: 1s;
}
.scroll_up1:hover {
    color: rgb(254, 126, 57);
    background-color: rgb(24, 33, 110);
    border-radius: 5px;
    transition: 1s;
}
.scroll_up1:nth-of-type(2) {
    margin-left: 2%;
}
.scroll_up1.on {
    transform: translateY(0);
    opacity: 1.0;
}


.position-box5 {
    position: absolute;
    left: 51%;
    top: 87%;
    width: 5%;
    height: 0.1vw;
    background-color: blue;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0);
    mix-blend-mode: difference;
    transition: 1s;
}
.position-box5:hover {
    background-color:pink;
    transition: 1s;
}

.flex3 li {
    width: 100%;
    text-align: center;
    margin-left: 40%;
    z-index: 100;
}
.flex3 li a {
    font-size: 1.2vw;
    line-height: 2;
    text-decoration: none;
    color:rgb(24, 33, 110);
    transition: 0.5s;
    font-family: "Merriweather", serif;
    
}
.position-box4 {
    position: absolute;
    left: 53%;
    top: 75%;
    width: 30%;
    height: 2vw;
    background-color:  rgb(254, 126, 57);
    border-radius: 5px;
    border: 1px solid rgba(136, 4, 4, 0);
    mix-blend-mode: difference;
    z-index: 0;
    transition: 0.5s;
}
.position-box4:hover {
    background-color: rgba(254, 126, 57, 0.7);
    transition: 0.5s;
}
.position-box4 :hover {
    color: white;
}

footer p {
    text-align: center;
    line-height: 2;
    font-size: 1vw;
    color: rgb(254, 126, 57);
    background-color: rgb(24, 33, 110);
}

.area{
    background: rgba(0, 0, 0, 0);  
    background: -webkit-linear-gradient(to left, #8f94fb, #4e54c8);  
    width: 100%;
}

.circles{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 20%;
    height: 20vw;
    background:rgba(192, 192, 192, 0.4);
    animation: animate 25s linear infinite;
    bottom: -40%;
    
}

.circles li:nth-child(1){
    left: 25%;
    width: 10%;
    height: 10vw;
    animation-delay: 0s;
}


.circles li:nth-child(2){
    left: 10%;
    width: 8%;
    height: 8vw;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3){
    left: 70%;
    width: 2%;
    height: 2vw;
    animation-delay: 4s;
}

.circles li:nth-child(4){
    left: 40%;
    width: 5%;
    height: 5vw;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5){
    left: 65%;
    width: 3%;
    height: 3vw;
    animation-delay: 0s;
}

.circles li:nth-child(6){
    left: 75%;
    width: 10%;
    height: 10vw;
    animation-delay: 3s;
}

.circles li:nth-child(7){
    left: 35%;
    width: 13%;
    height: 13vw;
    animation-delay: 7s;
}

.circles li:nth-child(8){
    left: 50%;
    width: 3%;
    height: 3vw;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9){
    left: 20%;
    width: 3%;
    height: 3vw;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10){
    left: 85%;
    width: 13%;
    height: 13vw;
    animation-delay: 0s;
    animation-duration: 11s;
}



@keyframes animate {

    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

}