html{
  font-size: 16px;
  width: 100vw;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #F1F1F1;
  overflow-x: hidden;
}

body{
  width: 100%;
  height: 100%;
  color: #111111;
  font-family:  "Noto Sans JP", serif;
  font-weight: 300;
  font-style: normal;
  }
  
  

* {
  box-sizing: border-box;
}


a{
  color: #111111;
}
a:hover{
  color: #405273;
}




#bg_co{
  position: fixed;
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 1;
  background-size: cover;      /* 背景画像が枠にフィット */
  background-position: center; /* 背景画像の位置を中央に設定 */
  transition: all 0.5s ease 0s;
}



.side_t{
  display: flex;
  writing-mode:vertical-rl;
}
.side_t p{
  margin: 2rem;
}


#tl_co{
  width : 100%;
  min-height: 100%;
  max-width: 650px;
  overflow-x: hidden; 
  height: auto; 
  margin: 0 0 0 47%;
  background-color: rgba(241, 241, 241, 0);
  border-right: solid 0.05px rgba(89, 87, 87, 0.2);
  border-left: solid 0.05px rgba(89, 87, 87, 0.2);
  z-index: 1000;
  position: absolute;
  top: 0;
}

@media (max-width: 767px) {
  #tl_co{
    margin: 0;
}
.side_t{
  display: none;
}
}
@media (max-width: 1160px) and (min-width: 768px) {
  #tl_co{
    margin-left: 23%;
}
.side_t{
  position: absolute;
  z-index: 1000;
}
}


#about{
  margin-bottom: 3rem;
}

.topimg{
  display: block;
  margin-bottom: 5rem;
  width: 100%;
  height: auto;
}
.ab_tl{
  font-size: 2rem;
  letter-spacing: 1.1rem;
}
.ab_tl p{
  color: #E6DFCD;
  display: block;
  text-align: end;
}
.abm{
  width: 80%;
  height: auto;
  display: block;
  margin: 3rem auto;
}
.ab_top2{
  display: flex;
  justify-content: space-between;
}

.ab_img{
  width: 95%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.ab_img2, .ab_img3{
  width: 45%;
  height: auto;
  margin: 1rem;
} 

.ab_tx img{
  width: 100%;
  height: auto;
}

.ab_tx p{
  font-size: 1.5rem;
  color: #fafffe;
  text-shadow: 1px 2px 3px #152A43;
  letter-spacing: 0.4rem;
  line-height: 2rem;
}

@media (max-width: 768px) {
  .ab_tx p{
    font-size: 1rem;
    letter-spacing: 0.3rem;
    line-height: 1.3rem;
  }
}
@media (max-width: 1020px) {
  .ab_tl {
    font-size: 1.2rem;
    letter-spacing: 0.8rem;
  }

  .ab_tx p{
    margin: 0 0.5rem;
}

.ab_img2, .ab_img3{
  width: 50%;
  margin: 0.1rem;
} 

.ab_img{
  width: 100%;
}
}

.pr_sk_tl{
  margin-bottom: 3rem;
}

.pro2 img{
  width: 100%;
  height: auto;
}

.name{
  margin: 0.5rem 0 8rem;
  color: #081524;
  background-color: rgba(245, 242, 242, 0.5);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 4px;
  padding: 3rem 0.2rem 4rem;
}
.name_j{
  font-size: 2rem;
}
.name_e{
  font-size: 1.5rem;
}
.pro_tx{
  font-size: 1.3rem;
  letter-spacing: 0.2rem;
  line-height: 2rem;
}

@media (max-width: 1020px) {
  .name{
        font-size: 1.2rem;
        backdrop-filter: blur(50px);
  }
}

@media (max-width: 1020px) {
  #profile{
    margin-bottom: 3rem;
  }
  .name{
    background-color: rgba(100, 98, 98, 0.3);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 8px;
    box-shadow: 0 4px 8px transparent;
    padding: 1.8rem 0; 
    margin: 0 0.5rem;
  }
}

#skills{
  background: linear-gradient(rgba(221, 211, 199, 0),rgba(221, 211, 199, 0.4));

  padding-bottom: 20rem;
}
.sk2{
  width: 75%;
  margin: 0 auto 4rem;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 4px;
}

.sk_tl{
  font-size: 1.8rem;
  font-weight: 600;
  padding: 1rem 0 1rem 1rem;
}

.sk2 img{
  width: 35%;
  display: block;
  margin: 0 auto;
}

.sk_tx{
  padding: 1rem;
  font-size: 1.5rem;
  line-height: 2rem;
}

.sk3{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 1rem 0;
  padding: 0.2rem 2rem;
}

.sk_to{
  display: inline-block;
  text-align: center;
  border:  1.5px solid #111111;
  padding: 0.5rem 0.8rem;
  margin: 0.5rem 0.2rem;

}

@media (max-width: 768px) {
  .sk_tx{
    font-size: 1.2rem;
  }
  .sk2{
    width: 95%;
    backdrop-filter: blur(80px);
}
}

@media (max-width: 1020px) {
  .sk2{
      width: 95%;
      backdrop-filter: blur(50px);
  }
}





#career{
  background: linear-gradient(rgba(221, 211, 199, 0.4),rgba(131, 159, 171, 0.6));
  font-size: 1.5rem;
  padding: 6rem 0 8rem;
  color: #fcfcfc;
}
.timeline {
  margin: 1.5rem 0 8rem;
  padding: 1rem;
}

.timeline-date {
  width: auto;
  padding: 30px 0 5px 0
  font-weight: 600;
}

.timeline-content {
  width: 100%;
  border-left: none;
  padding: 0;
  margin: 1.5rem 0;
}

.timeline-content:before {
  content: none;
}

.bio{
  margin: 6rem 0 0;
  padding-top: 2rem;
}

.timeline li{
  margin-bottom: 10rem;
}
@media (max-width: 1020px) {

  .timeline li{
    margin-bottom: 1rem;
  }
}


#works{
  background: linear-gradient(rgba(131, 159, 171, 0.6),rgba(131, 159, 171, 0.65));
  padding-bottom: 10rem;
}

.wk_tl{
  margin-bottom: 3.5rem;
}



#gallery{
    background: linear-gradient(rgba(131, 159, 171, 0.65),rgba(241, 241, 241, 0.8));
    padding-bottom: 1rem;
}

.ga_co{

}

.ga_co img{
  width: 90%;
  height: auto;
  margin: 0.1rem 1rem;
}

.ga_co div:nth-child(odd) {
  display: flex;
  flex-direction: row-reverse;
}

#foot_t{
  padding: 4rem 0;
  background: linear-gradient(rgba(241, 241, 241,0.8),rgba(241, 241, 241, 9));
}




.toptf{
  display: block;
  color: #fcfcfc;
  border: #fcfcfc solid 0.5px;
  border-radius: 34px;
  padding: 0.1rem 1.5rem;
}

.sliding-text-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 360px;
}

.sliding-text {
  position: absolute;
  white-space: nowrap;
  display: inline-block;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.sliding-text p,
.sliding-text a {
  display: inline-block;
  margin: 0 20px;
  font-size: 1.3rem; /* フォントサイズ調整 */
  color: #fcfcfc; /* 文字色調整 */
  text-decoration: none;
  text-shadow: 1px 2px 3px #808080;
}

.sliding-text a {
  font-size: 1rem;
  font-weight: 600;
  padding: 0.3rem 2rem 0.38rem;
}

.sliding-text a:hover {
  background-color: #405273;
  color: #111111;
}

.ptf{
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}


@media (max-width: 768px) {
  .sliding-text {
    top: 30%;
}
}


.backtotop{
  text-align: center;
  margin: 4rem 0;
}
.backtotop img{
  width: 30%;
  animation: rotate-anime 16s linear infinite;
  padding-top: 0.5rem;
  filter: drop-shadow(3px 3px 150px #405273);
  
}
@keyframes rotate-anime {
  0%  {transform: rotate(0);}
  100%  {transform: rotate(360deg);}
}

@media (max-width: 1020px) {
  .backtotop{
    margin-bottom: 2rem;
  }
  .backtotop img{
    width: 40%;
  }
}



  /* コンテナは横スクロール可能にし、隠れた部分は非表示に */
  .scroll-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%; /* 画面幅に調整 */
    height: 300px; /* 任意の高さ */
  }

  .scroll-image {
    height: 100%; /* コンテナに合わせる */
    display: inline-block;
  }


















  .slidein{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px auto;
    transition: 1.5s cubic-bezier(0.75, 0, 0.25, 1);
  }
  

  .slide_left{
    transform: translateX(calc(-50vw - 50%));
  }
  .slide_right{
    transform: translateX(calc(50vw + 50%));
  }
  .show{
    transform: translateX(0);
  }
  
  

  .animation_box {
    transform: translateY(-50px);
    transition: 1s ease;
  }