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

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



section img {
    display: block;
    width: 80%;
    padding-top: 5%;
    margin-left: auto;
    margin-right: auto;
}
.scroll_up {
    list-style-type: none;
    transition: 0.8s ease-in-out;
    transform: translateY(30px);
    opacity: 0;
}
.scroll_up img {
    width: 90%;
}
.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: -40%;
    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%;
}

.section1 {
    margin-bottom: 20%;
}
.h3-1 {
    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;
}
.h3-1 span {
    font-size: 1vw;
    writing-mode: tb-rl;
    font-family: "Noto Sans JP", sans-serif;
}
.flex-1 {
    display: flex;
    margin-left: 10%;
    margin-top: -20%;
}
.flex-1 a {
    display: block;
    width: 30%;
    margin-top: 2%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
  
}
.flex-1 a img {
    width: 100%;
    padding: 0%;
    transition: 1s;
}
.flex-1 a img:hover {
    transform: scale(1.1,1.1);
    transition: 1s;
}

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

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

.section2 {
    margin-top: 10%;
}


.flex-2 {
    display: flex;
}
.flex-2 a {
    display: block;
    width: 20%;
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
  
}
.flex-2 a img {
    width: 100%;
    padding: 0%;
    transition: 1s;
}
.flex-2 a img:hover {
    transform: scale(1.1,1.1);
    transition: 1s;
}

.section3 {
   
    
}

.flex-3 {
    display: flex;
    margin-top: -25%;
    margin-left: 10%;
}
.flex-3 a {
    display: block;
    width: 28%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
  
}
.flex-3 a img {
    width: 100%;
    padding: 0%;
    transition: 1s;
}
.flex-3 a img:hover {
    transform: scale(1.1,1.1);
    transition: 1s;
}

 /*=== 画像の表示エリア ================================= */
.slide {
    position   : relative;
    overflow   : hidden;
                      /* 画像のサイズに合わせて変更ください */
    width      : 50%;
    height     : 21vw;  
    transition: 1s;    /* サンプルは中央寄せの背景：白 */
}
 
 /*=== 画像の設定 ======================================= */
.slide img {
    display    : block;
    position   : absolute;
                        /* 画像のサイズを表示エリアに合せる */
    width      : 100%;
    opacity    : 0;
    animation  : slideAnime 20s ease infinite;
}
 
 /*=== スライドのアニメーションを段差で開始する ========= */
.slide img:nth-of-type(1) { animation-delay: 0s }
.slide img:nth-of-type(2) { animation-delay: 5s }
.slide img:nth-of-type(3) { animation-delay: 10s }
.slide img:nth-of-type(4) { animation-delay: 15s }
 
 /*=== スライドのアニメーション ========================= */
@keyframes slideAnime{
   0% { opacity: 0 }
   4% { opacity: 1 }
  25% { opacity: 1 }
  29% { opacity: 0 }
 100% { opacity: 0 }
}
.inori {
    display: block;
    width: 20%;
    margin-top: 3%;
    margin-left: 14%;
    overflow: hidden;
    padding: 0%;
    transition: 1s;
}
.inori img {
    width: 80%;
    padding: 0%;
    transition: 1s;
}
.inori img:hover {
    transform: scale(1.1,1.1);
    transition: 1s;
}

/* 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  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;
}

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

}