/*********************/
.star{
    border-radius: 100%;
    background-color: white;
    position: absolute;
    z-index: -1;
    animation: moveit;
    animation-duration: 2s;
    animation-iteration-count: infinite;
  opacity:0;
  } 
  
  @keyframes moveit{
    0% {opacity: 0.1;}
    50% {opacity: 1;}
    100% {opacity: 0.1;} 
  }
  /****************/
  .star-night{
    position: relative;
    min-height: 100%;
  }
  /******************
  :
  kv
  :
  /****************/

  section.kv{
    min-height: 100vh;
    position: relative;
    background-size: 250px;
  background-image:  url(../image/kv-frame-corner-gold-top-left.svg),
   url(../image/kv-frame-corner-gold-top-right.svg),
    url(../image/kv-frame-corner-gold-bottom-right.svg),
     url(../image/kv-frame-corner-gold-bottom-left.svg);
  background-position: left top,right top,right bottom,left bottom;
  background-repeat: no-repeat;
  overflow: hidden;
}
.wrap_lottie{
    width: 120vw;
    height:auto;
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}
img.cloud{
    mix-blend-mode:screen;
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    opacity: .5;
}
section.kv img.text{
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    max-width: 800px;
}
/********************************************/

section.kadou table,
section.kadou td,
section.kadou th {
	/*border: 1px solid #323232;*/
	border-collapse: collapse;
    margin: 0 auto;
    width: 100%;
    height: 5rem;
    background: rgb(29, 34, 50);
}
section.kadou table{
    border-bottom: solid 2px #B49462;
    box-shadow: rgba(3, 10, 30, .8) 5px 5px 20px;
}
section.kadou td,
section.kadou th {
	padding: 1.5rem 0.5rem;
	width: 30px;
	height: 25px;
}
tr:nth-child(3) td,
tr:nth-child(4) td{
    border-bottom: dotted #333333 1px;
}
section.kadou th span{
    display: block;
    font-size: 0.7rem;
    color: #9f9f9f;
}
section.kadou td{
    font-size: .8rem;
}
section.kadou tr:nth-child(1) th{
    color: #d6e2f9;
    background-color: #060a15;
    position: relative;
}
section.kadou tr:nth-child(1) th:after {
        content: '';
        position: absolute;
        bottom: -10px;  /* 三角形の位置を調整 */
        left: 50%;      /* 中央配置 */
        transform: translateX(-50%);  /* 中央配置の調整 */
        border-left: 20px solid transparent;
        border-right: 20px solid transparent;
        border-top: 10px solid #060a15;  /* 背景色と同じ色を使用 */
}
section.kadou tr:nth-child(1) th:nth-child(1):after {
    border: none;
}

section.kadou tr:nth-child(1) th:nth-child(1){
    border-right: solid #373737 1px;
}
section.kadou td:nth-child(1){
    border-right: solid #373737 1px;
}
@media (max-width: 768px) {
    section.kv{
        background-size: 180px;
    }
    
}
/*******/
  /******************
  :
  Profile
  :
  /****************/
  section.profile{

    overflow-x: hidden;
  }
section.profile .profile-right p{
    text-align: left;
    border-bottom: dotted 1px #83878e;
    padding-bottom: 50px;
    margin-bottom: 50px;
}
section.profile .profile-left img{
  width: clamp(180px,260px,300px);
  margin: 0 auto;
}

@media (max-width: 768px) {
section.profile .profile-left img{
  max-width: 200px;
}
}

@keyframes float {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-30px);
    }
  }


@media (max-width: 768px) {
      section.profile .profile-left img{
        margin: 0 auto 50px;
      }
.wrap_lottie{
        width: 250vw;
        height:auto;
        position: absolute;
        top:50%;
        left:50%;
        transform: translate(-50%,-50%);
    }
  }
/******************
  :
  Message
  :
/****************/
section.message{
    position: relative;
    background-image: url(../image/message-snow.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
  section.message p{
writing-mode:vertical-rl;
line-height: 3rem;
margin: 0 auto;
text-align: left;
  }
section.message .section-inner{
    display: flex;
    gap:0px;
    flex-direction: row-reverse;
    max-width: 800px;
    justify-content:space-evenly;
    padding: 10% 0 0;
}

@media (max-width: 768px){
    
  section.message p{
    line-height: 1.7rem;
    font-size: .8rem;
      }
      
}
/****************** 171a29  0e1d35 182744
  :
  Service
  :
  /****************/
  section.service{
    
    overflow-x: hidden;
  }
  section.service ul{
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 60px 40px; 
  }
section.service h3 img{
    margin: 0 auto 30px;
    max-width: 300px;
}
section.service li img:nth-child(2){
  width: 100%;
  margin: 0 auto 30px;
}
section.service p{
    text-align: left;
}
section.service a {
    text-decoration: none;
    color: #fff;
    background-color: #0B162C;
    display: block;
    padding: .7rem;
    margin: 20px auto;
}
@media (max-width: 768px) {
section.service ul {
    grid-template-columns: repeat(1, 1fr);
  }
}
/******************
  :
  Showcase
  :
  /****************/
.showcase-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 16px; 
  }
  .showcase-content div{
aspect-ratio: 1 / 1;
background-color: #1d3c6f;
  }
  /* タブレット用レイアウト */
  @media (max-width: 1024px) {
    .showcase-content {
      grid-template-columns: repeat(3, 1fr); /* 横に3つ配置 */
    }
  }
  
  /* スマホ用レイアウト */
  @media (max-width: 768px) {
    .showcase-content {
      grid-template-columns: repeat(2, 1fr); /* 横に2つ配置 */
    }
  }
  
/******************
  :
  Flow
  :
/****************/
section.flow {
    position: relative;
}
.flow-content{
    width: 100%;
 
}
.flow-content .step{
    position: relative;
    background-image: url(../image/flow-star.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 40px;
    display: flex;
    justify-content: center;
    margin-bottom: 170px;
}
.flow-content .step:last-child{
  margin-bottom: 0;
}
.flow-content .step:after{
    content: "";
    width: 1px;
    height: 170px;
    background-color: white;
    position: absolute;
    left: 50%;
    bottom:-170px;
}
.flow-content .step:last-child:after{
    width: unset;
    height:unset;
    bottom:0px;

}
.flow-content .step h3{
  text-align: left;
  margin-bottom: 20px;
  position: relative;
  padding-left: 80px;
}
.flow-content .step p{
    text-align: left;
}
.flow-content h3:before{
  content:"";
  width: 70px;
  height: 70px;
  position: absolute;
  left: 0px;
  top:50%;
  transform: translateY(-50%);
  background-image: url();
  background-repeat: no-repeat;
  background-size: contain;
}

.flow-content .step1 h3:before{
  background-image: url(../image/flow01.svg);
}
.flow-content .step2 h3:before{
  background-image: url(../image/flow02.svg);
}
.flow-content .step3 h3:before{
  background-image: url(../image/flow03.svg);
}
.flow-content .step4 h3:before{
  background-image: url(../image/flow04.svg);
}
.flow-content .step1,
.flow-content .step3{
    width: 100%;
    padding-right: 55%;
}
.flow-content .step2,
.flow-content .step4{
    width: 100%;
    padding-left: 55%;
}

.shooting-star {
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #FFF;
    position: relative;
    transform-origin: 100% 0;
    opacity: 0; 
    visibility:hidden; 
  }
  
  .shooting-star:after {
    content: '';
    position: absolute;
    top: 0px;
    left: 4px;
    border: 2px solid rgb(255, 255, 255);
    border-width: 2px 150px 2px 150px;
    border-color: transparent transparent transparent #FFF;
    transform: rotate(-45deg) translate3d(1px, -1px, 0);
    transform-origin: 0% 100%;
  }
  
  .shooting-star1 {
    top: 0;
    left:15%;
  }
  
  
  .shooting-star2 {
    top: 800px;
    left:90%;
  }
  
  .shooting-star0 {
    top: 0;
    left:30%;
  }
  
  .shooting-star.animate {
    visibility: visible; /* 可視化 */
    animation: star-ani 0.8s 1 ease-out; /* アニメーションを適用 */
  }
  
  @keyframes star-ani {
    0% {
      opacity: 0;
      transform: scale(0) rotate(0) translate3d(0, 0, 0);
    }
    50% {
      opacity: 1;
      transform: scale(1) rotate(0) translate3d(-200px, 200px, 0);
    }
    100% {
      opacity: 0;
      transform: scale(1) rotate(0) translate3d(-300px, 300px, 0);
    }
  }
@media (max-width: 768px){
.flow-content .step{
    margin-bottom: 40px;
    background: none;
    padding-bottom: 40px;
}

.flow-content .step:after{
  height: 1px;
  width: 100%;
  background-color: rgb(107, 106, 106);
  position: absolute;
  left: 0%;
  bottom:0px;
}
.flow-content .step p{
    padding: 0px 0px 0 0px;
    text-align: left;
    width: 100%;
}
.flow-content .step p br{
    display: none;
}
.flow-content .step1,
.flow-content .step3{
    padding-right: unset;
}
.flow-content .step2,
.flow-content .step4{
    padding-left: unset;
}

.flow-content .step h3{
  margin: 30px 0 ;
  padding-left:0;
  text-align: center;
}
.flow-content .step h3::before{
  width: 40px;
  height: 40px;
  left: 40px;
  background: none;
}


  /* shooting-star の位置 */
  .shooting-star {
    top: -40%;
    left:30%;
  }
  
  /* shooting-star2 の位置をずらす */
  .shooting-star2 {
    top: 500px;
    left:70%;
  }
  
  }

  /***************/
  
section.at-last .at-last-content{
    max-width: 900px;
    background-color: #0A1220;
    margin: 0% auto 10%;
    padding: 5%;
  }
  
  section.at-last p{
    text-align: left;
  }
  section.at-last ul{
    display: flex;
    justify-content: center;
    margin: 5% 0 0;
    gap:30px
  }
  section.at-last ul a{
    border: solid 1px #fff;
    padding: .5rem 1rem;
    margin: 0;
  }
  section.at-last ul a{
    border: solid 1px #fff;
    padding: 1rem 3rem;
    margin: 0 auto;
    display: block;
  }
  @media (max-width: 768px){
    section.at-last{
      padding: 20% 1rem;
      margin: 0;
      
    }
    
  section.at-last .at-last-content{
    padding: 10% 1rem;
  }
  section.at-last ul{
    display: flex;
    justify-content: center;
    margin: 40px 0 0;
    gap:30px;
    flex-direction: column;
  }
  section.at-last ul a{
    border: solid 1px #fff;
    padding: .9rem 0;
    margin: 0 auto;
    max-width: 80%;
    display: block;
  }
  }

  /**************/

section.news {
    text-align: left;
    display: flex;
    justify-content: center;
    gap: 15%;
    width: 100%;
    align-items: flex-start;
  }
  section.news h2{
    flex: 1;
    text-align: center;
  }
  section.news ul{
    flex: 3;
  }
  section.news li{
    width: 100%;
    align-items: center;
    text-align: left;
    margin-bottom: 3rem;
    line-height: 1.9;
  }
  .news-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  section.news li a {
    color:#b5c3ff;
    border-bottom: dotted 1px #b5c3ff;
  }
  .news-date{
    color: #e8cb9b;
    padding: 0 1rem 0 0;
  }
  .news-tag {
    background-color:#B49462;
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0px 4px;
    border-radius: 4px;
    margin-right: 1rem;
  }
  
  
  @media (max-width: 768px) {

    section.news h2{
        flex: 1;
        text-align: center;
        min-width: 150px;
      }
    section.news {
        gap: 10%;
        width: 100%;
        align-items:center;
        flex-direction: column;
        padding-top: 0;
      }
      section.news li{
        margin-bottom: 2rem;
        display: flex;
        gap:0;
        padding-bottom: 2rem;
        border-bottom:solid #535353 1px
      }
      section.news li:last-child{
        
        border-bottom:none
      }
      
  }
  
  @media (max-width: 480px) {
    .news-title {
      font-size: 1.5rem;
    }
  
    .news-date {
      font-size: 0.9rem;
    }
  
    .news-content {
      font-size: 0.9rem;
    }
  }
/*****************************/

.screenshot .section-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
@media (max-width: 768px) {
  .screenshot .section-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.src {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.src img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

/* hoverでズーム感 */
.src:hover img {
  transform: scale(1.05);
}

/* 中央に表示するリンク */
.overlay-link {
  position: absolute;
  inset: 0; /* top, right, bottom, left: 0; の短縮 */
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-decoration: none;
}
.overlay-link span{
  position: relative;
}
.overlay-link span:after{
  background-image: url(../image/icon-open-in-newtab.svg);
  min-width: 17px;
  height: 17px;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: inline-block;
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
}

.src:hover .overlay-link {
  opacity: 1;
}

.screenshot p a{
  color: #fff;
  border-bottom: #fff dotted 1px;
}
a.btn_blue{
  background-color: #DFBF7C;
  padding: .8rem 1rem;
  display: inline-block;
  background-color: #0A1220;
  color:#ffffff ;
  margin-bottom: 30px;
  min-width: 260px;
}