@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

header {
    display: flex;
    position: fixed;
    top: 0%;
    left: -2.5%;
    width: 100%;
    margin-bottom: 7%;
    vertical-align: bottom;
    z-index: 100000;
  
}
  
header h1 img {
    display: block;
    width: 15%;
}

.global_menu {
    display: none;
}
nav.NavMenu {
	position: fixed; /*表示位置を固定*/
	z-index: 2; /*重ね順を変更*/
	top: 0; /*表示位置を指定*/
	right: 0; /*表示位置を指定*/
	width: 50%; /*全幅表示*/
    padding-bottom: 3%;
	transform: translateX(100%); /*ナビを上に隠す上から出したい場合は、transform: translateYを使う。*/
	transition: all 0.6s; /*アニメーションの時間を指定*/
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
  
}
nav.NavMenu h1 a img {
    display: block;
    width: 30%;
    margin-left: auto;
    margin-right: auto;
    transition: 0.3s;
}
nav.NavMenu h1 a img:hover {
    opacity: 0.5;
    transition: 0.3s;
}
.nav-h3 {
    font-size: 2.5vw;
    text-align: center;
    color: #404040;
    font-family: "Noto Sans JP", sans-serif;
	border-bottom: 1.5px dotted silver;
}
.nav-h3::before {
  content: "▼";
  color:rgba(0, 0, 255, 1);
  margin-right: 2%;
}
.nav-h3::after {
    content: "▼";
    color:rgba(0, 0, 255, 1);
    margin-right: 2%;
  }
  

nav.NavMenu ul {
	list-style-type: none;
}

nav.NavMenu ul li {
	width: 100%;
    font-size: 2vw;
    color: #404040;
    font-family: "Noto Sans JP", sans-serif;
    border-bottom: 1.5px dotted silver;
    
  
}

nav.NavMenu ul li:last-child {
	border-bottom: none; /*最後のメニュー項目のみ下線を消す*/
}

nav.NavMenu ul li a {
	display: block; /*クリックできる領域を広げる*/
	text-align: center; /*テキストを中央揃え*/
	text-decoration: none;
	line-height: 3;
	color: #000;
    background-color: rgb(255, 255, 255);
	font-size: 1.1em;
    transition: 0.3s;
}
nav.NavMenu ul li a:hover {
    background-color:rgba(0, 0, 255, 1);
    color: rgb(254, 126, 57);
    transition: 0.3s;
}

/*トグルボタンが押されたときに付与するクラス*/
nav.NavMenu.active {
	transform: translateY(0%);/*上から出したい場合は、transform: translateYを使う。*/
}

/*トグルボタンのスタイルを指定*/
.Toggle {
	position: fixed;/* bodyに対しての絶対位置指定 */
	right: 13px;
	top: 12px;
	width: 42px;
	height: 42px;
	cursor: pointer;/*divだけどカーソルが変わるようにしている*/
	z-index: 3;/*ボタンを一番上にしている(押せなくなるから)*/
}

.Toggle span {
	display: block;
	position: absolute;
	left: 6px;
	width: 30px;
	transition: .35s ease-in-out;/*変化の速度を指定*/
}

.Toggle span:nth-child(1) {
	top: 9px;
    border-bottom: solid 2px rgba(0, 0, 255, 0.7);
    
}

.Toggle span:nth-child(2) {
	top: 18px;
    border-bottom: solid 2px rgb(254, 126, 57);
    
}

.Toggle span:nth-child(3) {
	top: 27px;
    border-bottom: solid 2px rgba(0, 0, 255, 0.7);
}

/* 最初のspanをマイナス45度に */
.Toggle.active span:nth-child(1) {
	top: 18px;
	left: 6px;
	transform: rotate(-45deg);
    border-bottom: solid 2px rgba(0, 0, 255, 0.7);
}

/* 2番目と3番目のspanを45度に */
.Toggle.active span:nth-child(2),
.Toggle.active span:nth-child(3) {
	top: 18px;
	transform: rotate(45deg);
    border-bottom: solid 2px rgb(254, 126, 57);
}

.box:nth-of-type(1) {
    position: relative;
    width: 60%;
    padding-top: 15%;
    margin-left: 30%;
    color: rgb(24, 33, 110);
    z-index: 100;
}
.box:nth-of-type(2) {
    position: relative;
    width: 70%;
    margin-left: 19%;
    color:orange;
    text-shadow:  palegoldenrod 7px 0 10px;
    vertical-align: bottom;
    z-index: 100;
   
}
/* border */
.border {
    position: relative;
    width: 95%;
}
  
  
.border:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    border-bottom: solid  2px rgb(24, 33, 110);
    animation: border_anim 2s linear forwards;
}
  
@keyframes border_anim {
    0% {
      width: 0%;
    }
    100% {
      width: 100%;
    }
}
  
.box:nth-of-type(3) {
    position: relative;
    width: 60%;
    margin-top: 1%;
    margin-left: 35%;
    color: rgb(24, 33, 110);
    z-index: 10;
}
.text-animation {
    font-size: 7vw;
    font-weight: 600;
    font-family: "Nanum Myeongjo", serif;
    opacity: 0;

    &.show {
      opacity: 1;

      .text-animation-span {
        display: inline-block;
        overflow: hidden;

      }
      span {
        display: inline-block;
        letter-spacing: 0.1em;
        animation: showText .5s backwards;
      }
    }
}
  
@keyframes showText {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

ul.box li img {
    width: 60%;
}

.scroll_up {
    transition: 0.8s ease-in-out;
    transform: translateY(30px);
    opacity: 0;
    z-index: 0;

}
.bg {
    display: block;
    width: 100%;
    position: absolute;
    top: -10%;
    
}
  .scroll_up.on {
    transform: translateY(0);
    opacity: 1.0;
  }

@keyframes sdl06 {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

/* スクロールバー */
.single-scroll-down-animation {
    margin-top: 5%;
}
.scroll-down4{
    width: 2px;
    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);
    }
}

.flex1 {
    display: flex;
    position: relative;
}
h2 {
    position: sticky;
    top: 17%;
    margin-top: 5%;
    padding: 2%;
    color: rgb(254, 126, 57);
    font-size: 4vw;
    font-family: "Merriweather", serif;
    writing-mode: tb-rl;
    background-color:rgb(24, 33, 110);
    border-radius: 5px;
}
h2 span {
    font-size: 1vw;
    writing-mode: tb-rl;
    font-family: "Noto Sans JP", sans-serif;
}
.flex1 img {
    width: 30%;
    height: 30vw;
    margin-left: 15%;
    margin-top: -20%;
    z-index: 10;
}
.flex1 .position-box1 {
    position: absolute;
    top: 237%;
    left: 22%;
    width: 10%;
    height: 5vw;
    background-color: blue;
    border-radius: 5px;
    z-index: 0;
    transition: 1s;
}
.flex1 .position-box1:hover {
    background-color: #fe7e39;
    border: 1px solid rgba(0, 0, 0, 0);
    transition: 1s;
}

.text {
    opacity: 0;
    width: 60%;
    margin-top: -15%;
    margin-left: 10%;
    font-size: 1.1vw;
    line-height: 2;
    white-space: pre-line;
    font-family: "Noto Sans JP", sans-serif;
    color: #202020;
  }
  
  .text.active {
    animation: 2s fadeup ease-in-out forwards;
  }
  
  @keyframes fadeup {
    0% {
      opacity: 0;
      transform: translateX(-50px);
    }
  
    100% {
      opacity: 1;
      transform: translateX(0);
    }
}
.text span {
    font-size: 1.1vw;
    font-weight: 600;
    line-height: 2;
    color: rgb(254, 126, 57);
}

.contentBox{
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
  
.buttonBox{
    margin-left: 75%;
    position:relative;
    width: 15%;
}
  
button{
    width:100%;
    height:4vw;
    position:relative;
    background-color: #18216e;
    color: #fe7e39;
    border-radius: 5px;
    font-weight:700;
    line-height: 2;
    border:none;
    font-size: 1.2vw;
    outline:none;
    font-family: "Merriweather", serif;
    transition: 0.5s;
}

  
  
  /* FIRST BUTTON */
  
.border1{
      position:absolute;
      background:none;
      transition:all .5s ease-in-out;
}
  
#first>.border1:nth-of-type(1){
    top:15%;
    left:-1%;
    border-left:2px solid  rgb(254, 126, 57);
    border-top:2px solid rgb(254, 126, 57);
    width:12%;
    height:2vw;
    transition: 0.3s;
}
  
#first>.border1:nth-of-type(2){
    bottom:0;
    right:0;
    border-right:2px solid rgb(254, 126, 57);
    border-bottom:2px solid rgb(254, 126, 57);
    width:12%;
    height:2vw;
    transition: 0.3s;
}

#first:hover .border1 {
    width:105%;
    height:100%;
}
#first:hover button {
    color: rgb(24, 33, 110);
    background-color: white;
    transition: 0.5s;
}

.loop-wrap {
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 3vw;
    background:rgba(0, 0, 255, 0.5);
    margin-top: 5%;
    margin-bottom: 15%;
    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_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-box2 {
    position: absolute;
    left: -2%;
    bottom: -8%;
    width: 10%;
    height: 5vw;
    background-color:  rgb(254, 126, 57);
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 5px;
    z-index: 0;
    transition: 1s;
}
.position-box2:hover {
    background-color:pink;
    transition: 1s;
}
.web-design {
    position: relative;
    font-size: 2vw;
    text-align: center;
    font-family: "Merriweather", serif;
    z-index: 0;
}

.overflow-1 {
    width: 100%;
    overflow: hidden;
}

.scroll_up1 a img {
    display: block;
    width: 70%;
    margin-top: 5%;
    height: 35vw;
    transition: 1s;
}
.scroll_up1 a img:hover {
    transform: scale(1.1,1.1);
    transition: 1s;
}
.position-box3 {
    position: absolute;
    top: -7.5%;
    left: 53%;
    width: 10%;
    height: 5vw;
    background-color:  rgb(254, 126, 57);
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0);
    z-index: 0;
    transition: 1s;
}
.position-box3:hover {
    background-color:pink;
    transition: 1s;
}
.graphic-design {
    position: relative;
    font-size: 2vw;
    text-align: center;
    font-family: "Merriweather", serif;
}
  
/* 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%;
    }

}