@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}
#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%;
}

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

nav ul {
    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: rgb(254, 126, 57);
    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（相対値）伸長*/
}

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%);
  }
}

/* スクロール記述 */
.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 {
    -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);
}
/* スクロール記述 */

.flex {
    display: flex;
    margin-top: 10%;
    position: relative;
}
.meimg {
    display: block;
    width: 45%;
    margin-left: 10%;
}
.p-box {
    position: absolute;
    top: 60%;
    left: 40%;
    width: 45%;
    padding: 2%;
    color: rgb(254, 126, 57);
    border-radius: 10px;
    background-color: rgba(24, 33, 110, 0.9);
}
.name {
    font-size: 3vw;
    margin-left: 5%;
    font-family: "Merriweather", serif;
}
.name span {
    display: block;
    font-size: 1.3vw;
    margin-top: -2%;
    margin-bottom: 3%;
    font-family: "Noto Sans JP", sans-serif;
}
.main {
    font-size: 1.1vw;
    color: rgba(254, 126, 57, 0.9);
    margin-left: 5%;
    font-family: "Noto Sans JP", sans-serif;
}

.parallax {
  border-radius: 8px;
  box-shadow: 0 0px 16px rgb(0, 0, 0, .16);
  position: absolute;
  aspect-ratio: 1 / 1;
  margin-left: 20%;
  margin-top: 10%;
}
  
.large {
    background-color: rgba(24, 33, 110, 0.2);
    width: 100px;
}
.large-gp .large:nth-of-type(1) {
    top: 500px; 
    left: calc(50% + 200px);
}
.large-gp .large:nth-of-type(2) {
    top: 800px; 
    left: calc(50% - 250px);
}
.large-gp .large:nth-of-type(3) {
    top: 1000px; 
    left: calc(50% + 50px);
}
.large-gp .large:nth-of-type(4) {
    top: 1300px; 
    left: calc(50% - 300px);
}
.large-gp .large:nth-of-type(5) {
    top: 2000px; 
    left: calc(50% + 130px);
}

  
.medium {
    background-color: rgba(254, 126, 57, 0.5);
    width: 75px;
}
.medium-gp .medium:nth-of-type(1) {
    top: 1150px; 
    left: calc(50% - 140px);
}
.medium-gp .medium:nth-of-type(2) {
    top: 1700px; 
    left: calc(50% + 210px);
} 
.medium-gp .medium:nth-of-type(3) {
    top: 2000px; 
    left: calc(50% - 40px);
} 

  
.small {
    background-color:rgba(15, 35, 74, 0.4);
    width: 50px;
}
.small-gp .small:nth-of-type(1) {
    top: 1550px; 
    left: calc(50% - 275px)
}
.small-gp .small:nth-of-type(2) {
    top: 1750px; 
    left: calc(50% + 225px);
}
.small-gp .small:nth-of-type(3) {
    top: 1900px; 
    left: calc(50% - 25px);
}
.small-gp .small:nth-of-type(4) {
    top: 2100px; 
    left: calc(50% - 275px );
}
@keyframes parallax-large-anim {
    from {
      transform: translateY(500px);
    }
    to {
      transform: translateY(0px);
    }
}
  
.large {
    animation: parallax-large-anim linear;
    animation-timeline: scroll();
}
  
  
@keyframes parallax-small-anim {
    from {
      transform: translateY(-500px);
    }
    to {
      transform: translateY(0px);
    }
}
  
.small {
    animation: parallax-small-anim linear;
    animation-timeline: scroll();
}
  



.timeline {
    position: relative;
    margin-left: 7%;
    margin-top: 15%;
    width: 60%;
    padding-bottom: 5%;
}
.position-box1 {
    position: absolute;
    border-radius: 5px;
    top: 40%;
    left: 100%;
    width: 15%;
    height: 9vw;
    background-color: #18216e;
}
.position-box2 {
    position: absolute;
    border-radius: 5px;
    top: 46%;
    left: 109%;
    width: 10%;
    height: 6vw;
    background-color: #fe7e39;
}
.timeline:before {
    position: absolute;
    top: 0%;
    left: 6%;
    width: 3px;
    height: 100%;
    content: '';
    background:#18216e;
}
.timeline .timeline_item {
    margin: 0% 0% 0% 10%;
}
.timeline .timeline_item h3 {
    font-size: 4vw;
    color: #fe7e39;
    font-family: "Merriweather", serif;
}
.timeline .timeline_item h3 span {
    display: block;
    font-size: 1vw;
    color: #555;
    font-family: "Noto Sans JP", sans-serif;
}
.timeline .timeline_item .time_date .time {
    font-size: 5.5vw;
    font-weight: bold;
    position: relative;
    margin: 0%;
    color: rgba(15, 35, 74, 0.3);
    font-family: "Merriweather", serif;
}
.timeline .timeline_item .time_date .flag {
    font-size: 1.5vw;
    font-weight: bold;
    margin: 0;
    margin-top: -5%;
    color: #18216e;
    font-family: "Noto Sans JP", sans-serif;
}
.timeline .timeline_item .subtitle {
    font-size: 0.8em;
    line-height: 2;
    color: #fe7e39;
    font-family: "Noto Sans JP", sans-serif;
    margin-top: 2%;
    padding-left: 5%;
    border-left: 1px solid #0f234a;
}
.timeline .timeline_item .desc {
    font-size: 1vw;
    line-height: 1.7;
    margin-top: 3%;
    padding-left: 3%;
    font-family: "Noto Sans JP", sans-serif;
}
@media only screen and (max-width: 767px) {
    .timeline:before {
      left: 15px;
    }
    .timeline .timeline_item .time_date .time:before {
      left: -32px;
    }
    .timeline .timeline_item {
      margin: 0px 0px 0px 40px;
    }
    .timeline .timeline_item .subtitle, .timeline .timeline_item .desc {
      padding-left: 0px;
      border-left: none;
    }
}

.like {
    width: 79%;
    margin-top: 10%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 5%;
    padding-bottom: 5%;
    margin-bottom: 15%;
    border-left: 3px solid #18216e;
}
.like h3 {
    width: 100%;
    font-size: 4vw;
    text-align: left;
    text-indent: 0.5em;
    color: #fe7e39;
    font-family: "Merriweather", serif;

}
.like h3 span {
    display: block;
    font-size: 1vw;
    margin-left: -0.5%;
    color: #555;
    font-family: "Noto Sans JP", sans-serif;
}

.like-2 {
    margin-top: 10%;
    position: relative;
}
.like-2 .like-2-img {
    display: block;
    width: 20%;
    position: absolute;
    top: -20%;
    left: 70%;
}
.like-2 .flex {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5%;
}
.like-2 .flex p {
    width: 50%;
    font-size: 1vw;
    margin-left: 3%;
    text-align: left;
    font-family: "Noto Sans JP", sans-serif;
}
.like-2 .flex p span {
    display: block;
    margin-top: 35%;
    font-size: 2.5vw;
    color: #fe7e39;
    margin-right: 5%;
    text-align: center;
    font-family: "Noto Sans JP", sans-serif;
}

.like-2 .flex img {
    display: block;
    margin-left: auto;
    width: 40%;
    height: 30vw;
}

.like-3 {
    position: relative;
    
}
.like-3 .like-3-img {
    display: block;
    width: 20%;
    position: absolute;
    top: -20%;
    left: 5%;
}
.like-3 .flex {
    width: 70%;
    margin-left: 15%;
    margin-top: -5%;
}
.like-3 .flex p {
    width: 50%;
    font-size: 1vw;
    margin-left: 10%;
    text-align: left;
    font-family: "Noto Sans JP", sans-serif;
}
.like-3 .flex p span {
    display: block;
    margin-top: 50%;
    font-size: 2.5vw;
    color: #fe7e39;
    text-align: center;
    font-family: "Noto Sans JP", sans-serif;
}
.like-3 .flex img {
    display: block;
    margin-left: auto;
    width: 40%;
    height: 30vw;
}

.like-4 {
    position: relative;
}
.like-4 .like-4-img {
    display: block;
    width: 30%;
    position: absolute;
    top: 80%;
    left: 65%;
}
.like-4 .flex {
    width: 70%;
    margin-left: 15%;
    margin-top: -2%;
    
}
.like-4 .flex p {
    width: 40%;
    font-size: 1vw;
    margin-left: 8%;
    text-align: left;
    font-family: "Noto Sans JP", sans-serif;
}
.like-4 .flex p span {
    display: block;
    margin-top: 50%;
    font-size: 2.5vw;
    color: #fe7e39;
    text-align: center;
    font-family: "Noto Sans JP", sans-serif;
}
.like-4 .flex img {
    display: block;
    margin-left: auto;
    width: 40%;
    height: 30vw;
}


.like-5 {
    position: relative;
    
}
.like-5 .like-3-img {
    display: block;
    width: 20%;
    position: absolute;
    top: -25%;
    left: 5%;
}
.like-5 .flex {
    width: 70%;
    margin-left: 15%;
    margin-top: -1%;
    
}
.like-5 .flex p {
    width:50%;
    font-size: 1vw;
    margin-left: 10%;
    text-align: left;
    font-family: "Noto Sans JP", sans-serif;
}
.like-5 .flex p span {
    display: block;
    margin-top: 45%;
    font-size: 2.5vw;
    text-align: center;
    color: #fe7e39;
    font-family: "Noto Sans JP", sans-serif;
}
.like-5 .flex img {
    display: block;
    margin-left: auto;
    width: 40%;
    height: 30vw;
}



/* footerスクロール記述 */
.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;
}
/* footerスクロール記述 */


/* footer */
footer {
    width: 100%;
    position: relative;
}
.h2-potision {
    width: 30%;
    font-size: 1.5vw;
    color:  rgb(254, 126, 57);
    text-indent: 1em;
    border-left: 5px solid  rgb(24, 33, 110);
    ;
    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;
}
.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;
    
}
.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(0, 0, 0, 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%;
    }

}