html { scroll-behavior: smooth; }
body{
    position: relative; /* 絶対配置基準に */
    overflow-x: hidden;
    font-family: "Noto Sans JP", sans-serif;
}
img{
    display: block;
    max-width: 100%;
    height: auto;
}
p{
    line-height: 1.3rem;
    font-weight: normal;
}
ul{ list-style-type: none;}


/* background-parallax */
.content, .gallery, .parallax-kira, .parallax-cosmo1, .parallax-cosmo2, .parallax-cosmo3 {
    will-change: background-position;
}
.parallax-kira, .parallax-cosmo1, .parallax-cosmo2, .parallax-cosmo3{
    pointer-events: none;
    position: absolute;
    inset:0;
    background-size: 100%;
    background-repeat: repeat;
}
.parallax-cosmo1{
    background: url(images/bg-cosmo1.png) no-repeat;
    background-size: 80%;
    z-index: -1;
    top: -7%;
    left: -40%;
}
.parallax-cosmo2{
    background: url(images/bg-cosmo2.png) repeat-y;
    background-size: 110%;
    z-index: -1;
    right: -12%;
    top: 10%;
}
.parallax-cosmo3{
    background: url(images/bg-cosmo3.png) repeat-y;
    background-size: 100%;
    z-index: -1;
    right: 0;
    top: 0%;
}
.parallax-kira {
    background: url(images/bg-star.png);
    background-size: 101%;
    z-index: -3;
    top: 0;
}



@media screen and (max-width: 500px) {
.parallax-cosmo1{
    background-size: 150%;
    top: 0%;
}
.parallax-cosmo2{
    top: 0%;
}
.parallax-cosmo3{
    background-size: 120%;
    position: absolute;
    top: 0;
    left: 0%;
    z-index: -2;
    opacity: 0.7;
}
}

/* logo */
h1{
    width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    top: 0;
    z-index: 2;
}
h1 p:first-child{
    position: absolute;
    width: 100%;
    text-align: center;
    top: calc(50% - 25%);
}
h1 p:last-child{
    width: 100%;
    margin-top: -30px;
}
h1 p img{
    width: 90%;
    margin: 0 auto;
}

/* ALL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: translateY(0); }

.content{
    position: relative;
    background: linear-gradient(0deg, #acacac 10%, #0b3c5f 45%, #ffffff 100%);
    background-size: contain;
    background-color: #000436;
    z-index: 0;
    overflow-x: hidden;
    scrollbar-width: none;
}
.content-wrap{
    position: relative;
    z-index: 1;
}
section{
    padding: 5% 0;
    overflow-y: hidden;}

section h2{
    position: absolute;
    left: 20px;
    z-index: 2;
    top: 25px;
}

section h3{
    padding: 2px 10px;
    font-size: 1em;
    margin-bottom: 20px;
    background: linear-gradient(90deg, rgb(0 115 252) 0%, rgb(248 78 78) 100%);
    color: #FFF;
    display: inline-block;
}

.description{
    margin-bottom:30px;
    color: #ffffff;
    text-shadow: 2px 2px 3px #001952;
}
@media screen and (max-width: 700px) {
    h1 p:last-child {margin-top: -20px;}
    
    section h2{
        left: 10px !important;
        top: 0;
    }
    section h2 img{ 
        width: 85%; 
        margin-right: auto;
    }

}
@media screen and (max-width: 500px) {
    .content-wrap{padding-bottom: 15%;}
}

/*////////////////////// Mask Canvas ///////////////////////*/

.scroll-next{
  position: absolute;
  left: 50%;
  bottom: max(180px, calc(env(safe-area-inset-bottom) + 12px));
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;

  text-decoration: none;
  color: #fff;
  font-weight: 700;
  letter-spacing: .08em;

  z-index: 1000;          /* パララックス層より前へ */
  pointer-events: auto;
}

.scroll-next img{
  width: 28px; height: auto; display:block;
  animation: bob 1.6s ease-in-out infinite;
  margin: 0 auto;
}
@keyframes bob{
  0%,100% { transform: translateY(0); opacity: .9; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* ホバーと押下 */
.scroll-next:hover { opacity: .9; }
.scroll-next:active { transform: translate(-50%, 1px); }

/* 動きが苦手設定の人にはアニメ停止 */
@media (prefers-reduced-motion: reduce){
  .scroll-next img{ animation: none; }
}

.visual-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    padding: 20px 0;
    height: 100vh;
    display: flex;
    align-items: center;
  }
  
  .background-image {
    /*background: url("images/h1-title2.png") no-repeat;
    background-size: 100%;
    background-position: center center;*/
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
  
  #canvasWrapper {
    position: relative;
    width: 90%;
    margin: 0 auto;
  }
  
  .maskedCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 1s ease;
    opacity: 0;
    z-index: 1;
  }
  
  #canvas1 {
    z-index: 2;
  }
  
  #canvas2 {
    z-index: 1;
  }  
@media screen and (max-width:700px) {
    .background-image { top:20px;}
}
@media screen and (max-width:500px) {
 #canvasWrapper {
    margin-bottom: 25%;
    width: 100%;
}
}
/*////////////////////// section.lead ///////////////////////*/
section.lead{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Shippori Antique", sans-serif;
}
section.lead .leadtxt{
    text-align: center;
    color: #ffffff;
    padding: 3% 5%;
    letter-spacing: 0.05em;
    line-height: 1.8em;
    margin-bottom: 3%;
    border: 4px solid #ff7577;
    background: rgb(30 30 30 / 50%);
}
@media screen and (max-width:700px) {
section.lead .leadtxt{
    font-size: 90%;
    letter-spacing: normal;
    margin: 0 15px 15%;
    padding: 5%;
}
}
/*////////////////////// section.infomation ///////////////////////*/


section.infomation{
    color: #090f64;
    position: relative;
    margin: 0 auto;
    overflow: visible;
    height: auto;
    display: flex;
    width: 100%;
    align-items: center;
    color: #FFF;
    height: 100vh;
}

section.infomation h3{ 
    font-size: 1.8em;
    padding: 10px 20px;
    margin-top: 5px;
    display: inline-block;
 }

section.infomation .icons{
    display: inline-block;
    vertical-align: middle;
    margin-left: 5%;

}
section.infomation p.icon{
    display: inline-block;
    width: 30px;
    margin-right: 10px;
}

section.infomation .jisseki{
    display: block;
    margin-top: 10px;
    font-size: 90%;
}
section.infomation .jisseki a{
    color: #FFF;
}
section.infomation .jisseki::before{
    content: "";
    display: inline-block;
    background-image: url(images/icon-document.png);
    background-repeat: no-repeat;
    width: 25px;
    height: 25px;
    background-size: cover;
    vertical-align: middle;
    margin-right: 5px;
}
section.infomation .info{
    padding: 7% !important; 
    width: 100%;
    margin: 0 auto;
    background: url(images/bg-info.png) no-repeat 0% 20% / 150%, linear-gradient(90deg, #2533b3 0%, #f84e4e 100%);
    position: relative;
}
section.infomation h2{top: -25px;}
section.infomation .info-wrap{
    width: 100%;
    position: relative;
}
section.infomation .info-wrap .info-txt{
    padding-right: 5%;
    position: relative;
    font-size: .8em;
    line-height: 1.3rem;
    font-weight: normal;
    z-index: 2;
}
section.infomation .info-wrap .info-txt dl{ text-shadow: 1px 1px 1px #0c3f6f; }
section.infomation .info-wrap .info-txt dt{
    font-size: 150%;
    margin-bottom: 10px;
}

section.infomation .profileimg{
    position: absolute;
    right: -8%;
    top: -30px;
    width: 35%;
    max-width: 100%;
    z-index: 1;
}

@media screen and (max-width: 700px) {
    section.infomation{
        margin: 15% 0;
        padding-bottom: 20%;
    }
    section.infomation .info-wrap .info-txt{ display: block; }
    section.infomation .profileimg{
        width: 50%;
        bottom: 0;
        right: -27%;
        top: 15px;
    }
}

@media screen and (max-width: 500px) {
    section.infomation .info-wrap .info-txt{
        padding-right: 11%;
    }
    section.infomation h3{
        margin-bottom: 10px;
        padding: 3px 8px;
        font-size: 1.3em;
    }
    section.infomation .profileimg{
        width: 60%;
        bottom: 0;
        right: -23%;
        top: -30%;
    }
}

/*////////////////////// section.gallery ///////////////////////*/

section.gallery {
    position: relative;
    z-index: 2;
}

section.gallery#sousaku .gallery-contents,
section.gallery#kasou .gallery-contents{
    position: relative;
    width: 90%;
    border-top: 5px solid #ff7577;
    border-bottom: 5px solid #ff7577;
    background: rgb(30 30 30 / 30%);
} 
section.gallery#sousaku .gallery-contents{ 
    margin-left: auto;
    border-left: 5px solid #ff7577;
    border-radius: 100px 0px 0px 100px;
    padding: 5% 5% 5% 8% !important;
}
section.gallery#kasou .gallery-contents{ 
    margin-right: auto;
    border-right: 5px solid #ff7577;
    border-radius: 0px 100px 100px 0px;
    padding: 8% 15% 5% 5% !important;
    min-height: 20vh;
}

section.gallery ul{
    display: flex;
    flex-wrap: wrap;    
    margin-bottom: 7%;
}
section.gallery ul li{ width: 100px;}
section.gallery ul li a{
    display: block;
    filter: grayscale(100%);
    transition : .3s;
}
.thumb {
    object-fit: cover;
    height: 100px;
    width: 150%;
}

section.gallery ul li a:hover{
    filter: grayscale(0%);
}

@media screen and (max-width: 750px) {
.thumb {height: 100px;}
}
@media screen and (max-width: 500px) {
    section.gallery {min-height: auto;}
    section.gallery#sousaku .gallery-contents{ border-radius: 50px 0px 0px 50px;}
    section.gallery#kasou .gallery-contents{ border-radius: 0px 50px 50px 0px;}
    section.gallery ul li{ width: 33%;}
    .thumb {height: 85px;}

}

/*////////////////////// modal ///////////////////////*/

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
  }
  
  .modal-content {
    position: relative;
    margin: 2% auto;
    padding: 20px;
    background: #fff;
    width: 90%;
    max-width: 860px;
    border-radius: 10px;
    text-align: center;
  }
  
  .modal-content img {
    max-width: 100%;
    max-height: 540px;
    display: inline-block;
  }
  
  .modal .close {
    position: absolute;
    top: 0px; right: 20px;
    font-size: 30px;
    cursor: pointer;
  }
  #modal-caption{
    font-size: .8em !important;
    padding-bottom: 8px !important;
  }

  @media screen and (max-width: 750px) {
    .modal .close{
        top: -5px;
        right: 5px;
    }
  }

@media screen and (max-width: 500px) {

}

/*////////////////////// MENU ///////////////////////*/
.nyoki{
    opacity: 0;
    transition: transform .35s ease, opacity .35s ease;
    pointer-events: none; /* 表示前はクリック無効 */
    transform: translateY(110%);
}
.nyoki.show{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

nav{
    position: fixed;
    left:0; right:0; bottom:0;
    z-index: 5;
    padding-top: 20px;
}

nav ul{
    background-color: #ff7577;
    background: linear-gradient(270deg, #2533b3 0%, #f84e4e 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    border-radius: 200px 200px 0 0;
    width: 45%;
    margin: 0 auto;
}
nav ul li{
    margin-left: 30px;
    line-height: .8em !important;
    text-align: center;
}
nav ul li a{
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}
nav ul li a span{ font-size: 65%;}
nav ul li a:hover{
    color: #ffb6b7;
   transition: .3s;
}

nav ul li:first-child{ margin-left: 0;}

@media screen and (max-width: 800px) {
    nav ul {width: 70%;}
    nav ul li{
    max-width: 100px;
    margin-left: 15px;
}
}

@media screen and (max-width: 500px) {
    .nyoki{opacity: 1;}
    nav ul {
        width: 80%;
        margin: 0;
        border-radius: 0 200px 0 0;
        padding-right: 20px;
    }
    nav ul li{
        max-width: 80px;
        margin-left: 15px;
    }
}
/*////////////////////// footer ///////////////////////*/

.copy{
    font-size:7px;
    padding:0 10px;
    width: 100%;
    letter-spacing: .1em;
    color: #ffb6b7;
    position: absolute;
    bottom: 0;
    line-height: .8rem;
    text-align: center;
}

footer{
    background-position: bottom;
    background-size: cover;
    position: relative;
    text-align: center;
}
@media screen and (max-width: 500px) {
    .copy{text-align: left;}
}
/*////////////////////// .page_top_btn ///////////////////////*/
.page_top_btn {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 10000;
}

.page_top_btn a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    width: 150px;
}

.page_top_btn img {
    width: 100%;   /* 親の幅に合わせる */
    height: auto;
    display: block;
}

.page_top_btn span {
    margin-top: -20px;
    line-height: 1.2em;
    text-shadow: 2px 2px 5px #070f70;
}

@media screen and (max-width: 800px) {
    .page_top_btn a {
        width: 60px;
    }
    .page_top_btn span {
        font-size: 90%;
    }
}
@media screen and (max-width: 500px) {
    .page_top_btn{bottom: 20px;}
}

/*////////////////////// Shooting Stars ///////////////////////*/
#shooting-stars{
  position: fixed; inset: 0;
  pointer-events: none;          /* クリック透過 */
  z-index: -1;                    /* parallax(-1)より前、UIより後ろにしたければ 1～3 くらい */
}

/*////////////////////// COMMON ///////////////////////*/
.displaySpOn{ display: none !important; }
.displayPcOn{ display: block !important; }
.fwb{ font-weight: bold !important;}
.fsL{font-size: 120% !important;}
.fsS{font-size: 90% !important;}
.txtd-uL{text-decoration: underline;}
.txtd-Lt{text-decoration: line-through;}
.italic{transform: skewX(350deg); }
.txtbg-w{background-color: #FFF; color: #002036; padding: 0 2.5px; margin: 0 1px;}
.txtbg-b{background-color: #002036; color: #fff; padding: 0 2.5px; margin: 0 1px;}

@media screen and (max-width: 500px) {
    .displaySpOn{ display: block !important; }
    .displayPcOn{ display: none !important; }
}