@charset "utf-8";
/* ------------------------------------------------------------
	***global style
------------------------------------------------------------ */
/*共通.inner*/
.inner{ width: 100%; max-width: 1100px; margin: auto; padding: 1em 3vw; box-sizing: border-box; }
/*強調*/
.empText{font-weight: bold;}
/*ターニングポイントで切り替え用*/
.sw{display: none;}
.pc{display: block;}

@media screen and (max-width :1300px){
 
}
@media screen and (max-width :767px){
 .sw{display: block;}
 .pc{display: none;}
}

.flexbox{ display: flex; }

a:link,a:visited{ color: #606060;}
a:hover,a:active{ color: rgb(43,125,199); text-decoration: underline;}


:root{
/* ハッシュタグの色 */
  --color-kokugo: #FF1A1A;
  --color-koten: #00B938;
  --color-bijyutu: #F300DB;
  --color-syakai: #05ABDF;
  --color-rekishi: #FF941A;
  --color-seikatu: #B5DF05;
  --color-zuko: #A02B93;
  

  /* タイル系の背景 */
  --tilestyle-base: rgba(255, 255, 255, 0.65);
  --tileStyle-shadow: 5px 5px 0px rgba(0, 0, 0, 0.16);
  /* ボタンリンクのスタイル：リスト */
  --linkBtn-list-bg-link: linear-gradient(#58ccff 0%, #3490ec 100%);
  --linkBtn-list-bg-active: linear-gradient(#ffbc58 0%, #ffe600 100%);

  /* ボタンリンクのスタイル：ポイント */
  --linkBtn-point-bg-link: linear-gradient(#00c2ff 0%, #7490ff 100%);
  --linkBtn-point-bg-active: linear-gradient(#ffdd31 0%, #ffb24e 100%);
  --linkBtn-point-shadow: 5px 5px 0px rgba(0, 0, 0, 0.1);

}


/* ------------------------------------------------------------
	#wrapper
------------------------------------------------------------ */
#wrapper{
  width: 100%; height: 100%; box-sizing: border-box; position: relative; z-index: auto; overflow: hidden;}
#wrapper::before{
  position: fixed; top:0; left: 0; content: '';z-index: -9999;
  width: 100%;
  height: 500vh;
  background: linear-gradient(#9388e7 0%, #5f93f6 15%, #68d4ff 30%, #8cff72 55%, #ffb759 65%, #ff6b90 80%, #9388e7 100%);
  background-size: 200% 200%;
  animation: grdwall 45s ease-in-out infinite;
  align-items: center;
  justify-content: center;}
#wrapper::after{
  position: fixed; top: 0; left: auto; right: 0; content: '';z-index: -9999;
  width: 100%; max-width:100vh; height: 110vh;
  background: url(../image/cube_2.svg);
  background-repeat: no-repeat;
  background-position-x: -10%;
  background-position-y: 25%;
  background-size: 120%;
  opacity: 0.5;
}

@keyframes grdwall {
    0%{background-position:50% 0%}
    50%{background-position:50% 150%}
    100%{background-position:50% 0%}
}


/*--------------------------------------------------------
  header
----------------------------------------------------------*/
header{
  background: var(--tilestyle-base); height: 5rem; width: 5rem; position: fixed; top: 0; right: 0; z-index: 5000;
  backdrop-filter: blur(5px);
  nav{ 
    display: flex; justify-content: center; align-items: center;
    box-sizing: border-box; position: relative;
    width: 100%; height:100%; font-size: 90%;
    .inner{
      display: flex; flex-direction: column; justify-content: center; align-items: center;
      opacity: 0; 
      h1{
        position: static; margin-bottom: 2em; opacity: 0;
        img{width: 100%;}
      }
      ul{
        text-align: left; z-index: 0;  position: static; opacity: 0;
        li{
          display: block; margin: 0.25em; text-align: left;
          padding: 0.25em ; font-size: 1.5rem; 
          a{ height: 1em; font-weight: bold;}
          a:link, a:visited{ color: rgba(23,23,23,1.00); }
          a:active, a:hover{ color: rgb(84, 84, 84); }
          small{ display: block; font-size: 60%; padding:0.35rem 2rem; }
        }
        li::before{
          content:'▲'; display: inline-block; width: 1em; height: 1em; position: relative; top: -0.15em;
          font-size: 85%; transform: rotate(90deg); margin-right: 0.75em;
        }
      }
    }
  }
}
header nav button{
  width: 5rem; height: 5rem; top: 0; right: 0; position: absolute; display: block; box-sizing: border-box; z-index: 100;
  cursor: pointer;
  span{ width: 55%; left: 25%; display: block; border-top: solid rgb(60, 60, 60) 2px; position: absolute;margin: auto;}
  span:nth-child(1){ top: 32%; }
  span:nth-child(2){ opacity: 1; }
  span:nth-child(3){ top: 67%; }
}




/* アニメーション */
header,header nav ul, header nav .inner, header nav button, header nav button span{
  -webkit-transition-property: all;
  -webkit-transition-duration: 0.5s;
  -webkit-transition-timing-function: ease;
  transition-property: all;
  transition-duration: 0.5s;
  transition-timing-function: ease;
}
header nav ul ,header nav h1{
  -webkit-transition-duration: 0.15s;
  transition-duration: 0.15s;
}
header nav ul{
  -webkit-transform: translateX(100vw);
  transform: translateX(100vw);
}


header.open{ width: 30rem; height: 100%;
  nav button{
    span{ margin: auto;top: 50%; }
    span:nth-child(1){ -webkit-transform: rotate(45deg); transform: rotate(45deg); }
    span:nth-child(2){ opacity: 0; }
    span:nth-child(3){ -webkit-transform: rotate(-45deg); transform: rotate(-45deg); }
  }
}
header nav.open .inner{ opacity: 1;}
header nav.open ul,header nav.open h1 { opacity: 1;}
header nav.open ul{
  -webkit-transform: translateX(0);
  transform: translateX(0);
}


@media screen and (max-width :767px){
  header.open{ width: 100%; height: 100%;}
}
/* アニメーションend */

/* ------------------------------------------------------------
	.retop
------------------------------------------------------------ */
.retop{
  position: fixed; width: 3em; height: 3em; cursor: pointer; bottom: 0; right: 0;
  z-index: 8888;
  background-color: rgba(0, 0, 0,0.2);
  transition-property: all;
  transition-duration: 0.5s;
  opacity: 0;
  a{ display: block; width: 100%; height: 100%; font-size: 0;}
}
.retop.show{ opacity: 1; }
.retop a::after{
  content: ''; font-size: 1rem; display: block;
  width: 45%; height: 45%;
  border-top: solid #ffffff 2px;
  border-left: solid #ffffff 2px;
  transform-origin: center;
  transform: rotate(45deg) translateX(100%) translateY(25%);
}

/* ------------------------------------------------------------
	.mainVisual
------------------------------------------------------------ */
.mainVisual{
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; position: relative; text-align: center;
  z-index: auto;
  }
.mainVisual .inner{
  position: relative; z-index: 2000; max-width: 1200px; height: auto; padding: 0 1rem; box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  h1 {
    width: 80%; max-width: 1000px; height: auto; align-self: center;
    margin-bottom: 4em;
    img{ width: 100%;}
  }
  p{
    margin-bottom: 4em; line-height: 1.65;
    font-size: 1.25rem; font-weight: bold;
    rt{ font-size: 0.35em;}
  }
  h1 img, p>img{
    -webkit-filter: drop-shadow(var(--tileStyle-shadow));
    filter: drop-shadow(var(--tileStyle-shadow));
  }

}

/* メインビジュアル上部 */
.mainVisual .topLink{
  align-self:flex-end; margin-right: 5rem;
  li{
    display: inline-block; font-weight: bold; font-size: 135%; padding: 1em;
    a:link, a:visited{ color: rgb(255, 255, 255); }
    a:active, a:hover{ color: rgb(238, 238, 238); }
  }
}

/* メインビジュアル下部 */
.mainVisual .mvFooter{
  font-size: 1.8rem; font-weight: bold; position: absolute; bottom: 4rem; width: 100% ;
  rt{ font-size: 0.35em;}
  .minText{ font-size: 60%; font-weight: normal;}
  a{text-decoration: underline;}
}
.mainVisual .mvFooter::after{
  width: 3rem; height: 3rem; content: ''; box-sizing: border-box;
  display: block; position: absolute; left: 0; right: 0; margin: auto;
  border: #ffffff 5px solid; border-top: none; border-left: none;
  transform-origin: center;
  transform: rotate(45deg);
}


@media screen and (max-width :767px){
  .mainVisual .topLink{display: none;}
  .mainVisual .inner{
    h1 {width: 100%;}
    p{ font-size: 1rem;}
  }
  .mainVisual .mvFooter{font-size: 1.2rem;}
}
/* ------------------------------------------------------------
	footer
------------------------------------------------------------ */
footer{ 
  padding: 4rem 1rem; font-size: 0.85em; text-align: center; color: #ececec;
  background-color: rgba(0,0,0,0.50); backdrop-filter: blur(5px);
  .inner,.copy{width: 95%; max-width: 880px; margin: auto; display: flex; align-content: center; }
  figure img{ width: 100%;}
  .inner{
    display: flex; margin-bottom: 3em;
    .logo{width: 50%; display: flex; justify-content: center; align-items: center;}
    ul{width: 50%; box-sizing: border-box; text-align: left; padding: 0 1em;
      li{ padding: 0.5em 0; font-size: 1.4rem; }
      small{ display: block; font-size: 60%; padding:0.35rem 2rem; }
      li::before{
        content:'▲'; display: inline-block; width: 1em; height: 1em; position: relative; top: -0.15em;
        font-size: 85%; transform: rotate(90deg); margin-right: 0.75em;
      }
    }
    a:link,a:visited{color: #ededed; text-decoration: none;}
    a:hover,a:active{color: #dcdcdc; text-decoration: underline;}
  }
  .copy{
    display: flex; align-items: center; justify-content: center;
    figure{width:10vw;}
    small{width: auto; font-size: 85%; margin-left: 2em; text-align: justify; }
  }
}

footer.other{
  .inner{
    .logo{width: 100%;}
  }
}
@media screen and (max-width :767px){
  footer{ 
    padding: 4rem 0;
    .inner{flex-direction: column; margin-bottom: 0;
      .logo{width: 100%; margin-bottom: 2.5em;}
      ul{
        width: 100%; font-size: 80%;
        li{ padding: 0.5em 0;}
      }
    }
    .copy{
      display: flex; flex-direction: column;
      figure{width:30vw; margin: 1.5em auto;}
      small{width: auto; font-size: 85%; margin-left: 0em; text-align: justify; }
    }
  }
  
}


/* ------------------------------------------------------------
	contents
------------------------------------------------------------ */
/* **共通** */
/* コンテンツタイトル */
#contents1 h2,#contents2 h2{
  -webkit-filter: drop-shadow(var(--tileStyle-shadow));
  filter: drop-shadow(var(--tileStyle-shadow));
  text-align: center;
  width: 15rem; margin: auto auto 3rem auto ;
}
#contents2 h2{
  width: 80%; max-width: 30rem;
}

/* コンテンツ全体の上下余白 */
#contents1,#contents2{ margin: 5rem auto;}


/* **ライブラリ** */
:root{
  /* ライブラリコンテンツ内の余白 */
  --contents-margin: 1.35rem;
  --contents-padding: 2.15rem;
}

/* #contents1{ } */
#contents1 .inner{ max-width: 1250px; }
#contents1 .inner ul.itemList{ display: flex; flex-direction: row; flex-wrap: wrap; }
#contents1 .inner ul.itemList>li{
  display: flex; flex-direction: column;
  background-color: var(--tilestyle-base);
  box-shadow: var(--tileStyle-shadow);
  box-sizing: border-box;
  width: 48%; margin: 1%;

  /* nestting */
  h3{ font-size: 160%; height: 2.5em; text-align: left; 
    margin-bottom: var(--contents-margin);
    padding: var(--contents-padding); padding-bottom: 0;
    display: flex; align-items: stretch; flex-direction: column; justify-content: center;
    span{display: block; font-size: 60%; margin-top: 0.5em;}
  }
  figure{
    margin-bottom: var(--contents-margin);
    padding:0 var(--contents-padding);
    img{ width: 100%; border-radius: 0.75rem;}
  }
  .textBox{
    margin-bottom: var(--contents-margin);
    padding:0 var(--contents-padding);
    line-height: 1.35;
    font-size: 95%;
  }
  .tagSet{
    margin-bottom: var(--contents-margin);
    padding:0 var(--contents-padding);
    li{ display:inline-block; border: solid 1px; border-radius: 0.75rem; box-sizing: border-box;
        font-size:95%; padding: 0.40em 0.5em 0.30em 0.25em; margin: 0.15em; line-height: 1;
        background-color: #ffffff;
      }
  }
  .linkSet{
    margin-top: auto;
    li{
      width: 100%; height: auto;
      background: var(--linkBtn-list-bg-link); 
      &:hover{ background: var(--linkBtn-list-bg-active);}
      a{
        display: block; text-align: center; padding: 0.75rem; width: 100%; box-sizing: border-box; 
        color: #ffffff; text-decoration: none; font-weight: bold; font-size: 125%;
         /* アニメーション設定 */
        -webkit-transition-property: all;
        -webkit-transition-duration: 0.35s;
        -webkit-transition-timing-function: ease;
        transition-property: all;
        transition-duration: 0.35s;
        transition-timing-function: ease;
        &:hover{ transform: scale(1.15);}
        &::after{
          content: ''; display: inline-block; box-sizing: border-box; vertical-align: bottom;
          width: 1em; height: 1em; padding: 0.75rem;  margin-left: 0.35em; 
          background-repeat: no-repeat; background-position: center;
          background-size: 100%;
        }
      }
    }
    li.link-cube a::after{ background-image: url(../image/icon_outlink.svg); background-size: 90%;}
    li.link-dl a::after{ background-image: url(../image/icon_dl.svg);}
    li.link-plus a::after{ background-image: url(../image/icon_plus.svg);}
  }
}

@media screen and (max-width :767px){
  :root{--contents-padding: 1.5rem;}
  #contents1 .inner ul.itemList>li{
    width: 98%; margin: 2% 1%;
    h3{ font-size: 125%; }
    .tagSet{
      margin-bottom: var(--contents-margin);
      padding:0 var(--contents-padding);
      li{ display:inline-block; border: solid 1px; border-radius: 0.75rem; box-sizing: border-box;
        font-size:100%;}
    }
  }
}
/* **ABOUT** */
#contents2 .inner{
  background-color: var(--tilestyle-base);
  box-shadow: var(--tileStyle-shadow);
  width: 100%; max-width: 860px; padding-bottom: 3rem;  
  display: flex; flex-direction: column; align-items: center;
  h3{ font-size: 180%; margin: var(--contents-margin) auto; text-align: center;}
  figure{
    width: 100%; max-width: 400px; margin-bottom:var(--contents-margin) ;
    img{ width: 100%; border-radius: 0.75rem;}
  }
  .textBox{
    width: 100%; max-width: 680px; margin-bottom:var(--contents-margin) ; box-sizing: border-box;
  }
  .textBox.attention{
    background-color: rgba(0, 0, 0, 0.15); padding: 1.5rem;
    margin: 2rem auto;
  }
  .attention{
    font-size: 1.15rem;
    dl dt:nth-child(1){ font-size: 100%; font-weight: bold; text-align: center; margin-top: 1em; }
    dl dd:nth-child(2){ font-size: 95%; text-align: center; margin-bottom: 2em;}
    dl dt:nth-child(3){ font-size: 0; }
    dl dd:nth-child(4){
      font-size: 75%;
      ul{
        list-style-type: decimal; list-style-position: outside;
        li{line-height: 1.35; margin-bottom: 0.5em; margin-left: 1.5em; }
      }
    }
  }
  
  .large{ text-align: center; font-size: 160%; font-weight: bold; margin-top: 3.5rem; margin-bottom: 1.75rem; }
  .textBox.pskey{ text-align: center; font-size: 0.85em;}
  .linkBtn{
    width: 100%; max-width: 30rem; height: auto;
    margin-bottom:var(--contents-margin) ;
    background: var(--linkBtn-point-bg-link); 
    box-shadow: var(--linkBtn-point-shadow);
    &:hover{ background: var(--linkBtn-point-bg-active);}
    a{
      display: block; text-align: center; padding: 1.5rem 0.75rem; width: 100%; box-sizing: border-box; 
      color: #ffffff; text-decoration: none; font-weight: bold; font-size: 145%;
      -webkit-transition-property: all;
      -webkit-transition-duration: 0.35s;
      -webkit-transition-timing-function: ease;
      transition-property: all;
      transition-duration: 0.35s;
      transition-timing-function: ease;
      &:hover{ transform: scale(1.15);}
      &::after{
        content: ''; display: inline-block; box-sizing: border-box; vertical-align: middle;
        width: 1em; height: 1em; padding: 0.75rem;  margin-left: 0.35em; margin-top: -0.15rem; 
        background-repeat: no-repeat; background-position: center;
        background-image: url(../image/icon_outlink.svg); background-size: 90%;
      }
    }
  }
}

@media screen and (max-width :767px){
  #contents2 .inner{
    .textBox.attention{
      padding: 0.8rem;
    }
    .attention{
      font-size: 1rem;
    }
    .large{ font-size: 140%; margin-top: 3.5rem; margin-bottom: 1.75rem; }

  }
}

/* ------------------------------------------------------------
  terms
------------------------------------------------------------ */
#terms{ margin: 3rem 0.5rem;}
#terms .inner{
  background: var(--tilestyle-base);
  box-shadow: var(--tileStyle-shadow);
  padding-bottom: 5rem;
  .topLine{
    border: solid 2px #ffffff; padding: 2em; margin: 1rem auto 3rem auto;
  }
  .mainText{ margin: auto 2rem ;}
  .inText{ padding: 1em; font-size: 90%; }
  h1{font-size: 200%; text-align: center; margin-top: 1em;}
  h2{font-size: 140%; text-align: center; margin-bottom: 1em; color: #1a5fa5; }
  h3{font-size: 120%; text-align: left; margin-bottom: 1em;margin-top: 2em; color: #1a5fa5;}
  h4{ margin-bottom: 1em;}
  p{ margin-bottom: 1em; font-size: 90%;}
  p:last-child{ margin-bottom: 0em;}
  ul{
    list-style: disc; list-style-position:outside;
    font-size: 80%; padding: 1em 1.5em;
    li{ line-height: 1.35; padding-bottom: 0.5em; }
    li::marker{ color: #1a5fa5;}
  }
  dl{
    padding: 0 1em;
    dt{ font-size: 90%; font-weight: bold;}
  }
  a{text-decoration: underline; word-wrap:break-word;}

}

@media screen and (max-width :767px){
  #terms{ margin: 1rem 0.35rem;}
  #terms .inner{
    padding: 1.0rem;
    h1{ font-size: 150%; }
    h2{ font-size: 125%; }
    .topLine{ padding: 1rem;}
    .mainText{margin: 1rem auto;}
  }
}

/* ------------------------------------------------------------
  mordal contents close OBJ
------------------------------------------------------------ */

.closeBtn{ width: 3em; height: 3em; display: block; position: fixed; top: 3%; right: 3%; z-index: 7000; background-color: rgba(255,255,255,0.80) }

.closeBtn p{
  width: 80%; height: 0; display: block; padding: 0 !important;
  position: absolute; margin: auto; top: 0; bottom: 0; left: 0; right: 0;
  border-top: solid rgba(63,63,63,1.00) 2px;
  transform-origin:center;
}
.closeBtn p:first-child{ transform: rotate(45deg); }
.closeBtn p:last-child{ transform: rotate(-45deg); }

.closeArea{ width: 100%; height: auto; display: block; position: fixed; left: 0; z-index: 7000; }
.closeArea.top{ top: 0;}
.closeArea.bottom{ bottom: 0;}





/* ------------------------------------------------------------
	waypoints animation
------------------------------------------------------------ */
.animation-box{
  -webkit-transition: transform,opacity 0.5s ease-in;
  transition: all 0.5s ease-in;
  opacity: 0;
  transform: translateY(50px);
}
.animation-box.active{
  opacity: 1;
  transform: translateY(0);
}
.slideInL{
  -webkit-transition: opacity 0.5s ease-in;
  transition: transform,opacity 0.5s ease-in;
  transform: translateX(-9999px);
  opacity: 0;
}
.animation-box.active{
  opacity: 1;
}


