@charset "UTF-8";

 /*--------------------------------------*
   body, html の基本設定
  *--------------------------------------*/
  html, body {
    margin: 0;
    padding: 0;
    font-family: "fot-chiaro-std", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #fff;
    overflow-x: auto; 
    overflow-y: hidden; 
    max-width: 1920px;
    width: 100vw;
    height: 100vh;
    background-color: black;
    position: relative;
   background-position-y: bottom;
    background-repeat: no-repeat;
    background-size: cover;
  }
  
  #back {
    position: absolute;
    top: 0;
    left: 0;
    width: 1920px;        /* ← 背景画像と同じサイズで固定 */
    height: 1400px;       /* ← 背景画像の実サイズ */
    background-image: url("images/profile_tate19201920.jpg");
    background-repeat: no-repeat;
    background-position-y: bottom;
    background-size: cover;
    z-index: -100;   
  }

  /*ハンバーガーメニュー専用CSS*/
.hamburger{
    width: 40px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}
.hamburger-line{
    display: block;
    width: 26px;
    height: 3px;
    background-color: rgb(251, 251, 251);
    position: relative;
}
.hamburger-line::before{
    content: "";
    display: block;
    width: 26px;
    height: 3px;
   background-color: rgb(251, 251, 251);
    position: absolute;
    top: -10px;
    left: 0;
    transition: 0.3s; /*ゆっくり　「✖️」　になる*/
}

.hamburger-line::after{
    content: "";
    display: block;
    width: 26px;
    height: 3px;
    background-color: rgb(251, 251, 251);
    position: absolute;
    top: 10px;
    left: 0;
    transition: 0.3s; /*ゆっくり　「✖️」　になる*/
}

/*上のhamburger-lineは、「active」がついていない時。下のは「active」 がついた時。クリックしたら、３本線が「✖️」になる*/
.hamburger.active .hamburger-line{
    background: transparent;
}
.hamburger.active .hamburger-line::before{
    top: 0;
    transform: rotate(45deg);
}
.hamburger.active .hamburger-line::after{
    top: 0;
    transform: rotate(-45deg);
}

/* メニューリモコン（黒枠で統一） */
.sub-menu {
  position: fixed;
  height: 24rem;
  top: 2%;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.7); /* すべてのボタンを黒枠の中に統一 */
  border-radius: 0.2rem;
  padding: 0.7rem;
  z-index: 9999;
  transform: translateY(-110%);
  transition: transform 0.3s ease;
}

.sub-menu.active {
    transform: translateY(0);
}

/* リストのドットを消す */
.sub-menu ul {
  list-style: none;
  padding: 0;
}

/* ボタンを統一デザインで設定 */
.sub-menu li {
  margin: 0.5rem 0; /* ボタン間の余白 */
  text-align: center;
}

/* ボタンのリンクデザイン */
.sub-menu a {
  display: block;
  width: clamp(3.625rem, 3.423rem + 0.9vw, 4.5rem); /* ボタンの幅を統一 */
  text-decoration: none;
  font-size: 1rem;
  color: #fff;
  padding: 1rem 0;
  background: transparent; /* 黒枠内に統一されるので透明に */
  border-radius: 0.1rem;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
  text-align: center;
}

/* ホバー時のデザイン */
.sub-menu a:hover {
  background: rgba(255, 255, 255, 0.8);
  color: black;
}


/* アニメーション部分 */

.textAnimation[data-type="highlight_left"] {
  font-size:clamp(1rem, 0.875rem + 0.56vw, 1.563rem); /* MIN18 MAX20 MIN360 MAX1920*/
  letter-spacing:clamp(0.063rem, 0.048rem + 0.06vw, 0.125rem); /*文字の間隔を空ける */  
  border-radius: clamp(0.125rem, 0.082rem + 0.19vw, 0.313rem);
  display: inline-block;
}

.textAnimation:not(:first-of-type) {
  margin-top: 1rem;
}

#text_all {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: nowrap; 
  max-width: 1980px; 
  height: auto;
}

/* テキスト部分 */
#text_all {
  width: max-content;
}

#text_all .text_left {
  display: block;
  box-sizing: border-box;
  position: relative;
  line-height: clamp(0.313rem, 0.24rem + 0.32vw, 0.625rem);
  padding-left:clamp(2rem, 1.308rem + 3.08vw, 5rem);
  min-width: 360px;
  flex-wrap: nowrap;
  margin-top:clamp(0.938rem, 0.721rem + 0.96vw, 1.875rem);
  letter-spacing: clamp(0.063rem, 0.005rem + 0.26vw, 0.313rem); /*文字の間隔を空ける */              
  line-height: 1;  
  
}

.r-arrow {
  width: clamp(5.625rem, 5.337rem + 1.28vw, 6.875rem);
}



.text_01::after {
  content: "";
  position: absolute;
  top: -40px;    /* 外側に広げてぼかしの効果を強調 */
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(to top right, rgba(37, 12, 81, 0.714) 15%, transparent 50%);
  filter: blur(25px);  /* 強めのぼかし効果 */
  z-index: -1;         /* 擬似要素を背面に配置 */
}

/* 名前・受賞歴 　*/
.text_01 {
  font-size: clamp(1.563rem, 1.462rem + 0.45vw, 2rem);
}

.name-text1,
.name-text2 {   
  font-size:clamp(1.125rem, 0.991rem + 0.63vw, 1.75rem); /* MIN18 MAX28 MIN360 MAX1920 */
  display: block;
  position: relative;   
  box-sizing: content-box;  
  line-height: 0.6; 
  letter-spacing: .05rem; 
  flex-wrap: nowrap;
  z-index: 1; /* テキストが前面に表示されるように */ 
}

.text_02{
  padding-bottom: clamp(1rem, 0.875rem + 0.56vw, 1.563rem);
}
/* 背景色輪郭ぼかし */
.text_02::after {
  content: "";
  position: absolute;
  top: -40px;    /* 外側に広げてぼかしの効果を強調 */
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(to top right, rgba(37, 12, 81, 0.714) 15%, transparent 50%);
  filter: blur(25px);  /* 強めのぼかし効果 */
  z-index: -1;         /* 擬似要素を背面に配置 */ 
}


.text_right {
  display: flex;
  flex-wrap: nowrap;
  box-sizing: border-box;
  align-items: stretch;
  max-width: 1000px;
  width: 100%;
}

.text_right .text_03 {
  padding-top: clamp(15.625rem, 13.231rem + 10.64vw, 26rem);
  margin-left:clamp(1.25rem, 0.673rem + 2.56vw, 3.75rem);
  padding-right: clamp(1rem, -1.571rem + 3.81vw, 3rem);
  display: flex;
  position: relative;
  justify-content: flex-start;
  align-items: flex-end;
  flex-direction: column;
  
}


.g-icon {
  width: clamp(18rem, 17.111rem + 3.95vw, 22rem);
  min-width: 15rem;
  height: auto;
  background-color:rgba(27, 8, 65, 0.304) ;
  padding: clamp(0.5rem, 0.472rem + 0.12vw, 0.625rem);
  border-radius: 0.3rem; /* 角丸も調整可能 */
  
}
.icon-box{
  display: flex;
  max-width: 800px;
  max-height: 650px;
  height: 100%;
  margin-top:clamp(1.5rem, 1.167rem + 1.48vw, 3rem);
  width: clamp(22.5rem, 16.389rem + 27.16vw, 50rem);
  align-items: center;
  height: auto;
  
}

.text_right .text_04 {
    display: grid;
    grid-template-columns: repeat(3,auto);
    grid-template-rows: auto;
    align-content: center;
}

.text_04 {
  margin-left:clamp(3.125rem, 2.431rem + 3.09vw, 6.25rem);
  margin-right:clamp(6.25rem, 4.861rem + 6.17vw, 12.5rem);
  width: clamp(22.5rem, 16.389rem + 27.16vw, 50rem);
  height: auto;
}

/* モーダルCSSここから */
.modalArea {
  visibility: hidden; /* displayではなくvisibility */
  opacity : 0;
  position: fixed;
  z-index: 10; /* サイトによってここの数値は調整 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: .4s;
}

.modalBg {
  width: 100%;
  height: 100%;
  background-color: transparent;
}

.modalWrapper {
  position: absolute;
  top: 30%;
  left: 50%;
  transform:translate(-60%,-60%);
  width: 50%;
  max-width: 19rem;
  min-width: 16rem;
  padding: clamp(0.75rem, 0.721rem + 0.13vw, 0.875rem);
  line-height: 1.5;
  background-color: #1d02459f;
  color: aliceblue;
}

.closeModal {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  cursor: pointer;
}

.is-show { /* モーダル表示用クラス */
  visibility: visible;
  opacity : 1;
}
/* 基本的なモーダルCSSはここまで*/

/* モーダルCSSアレンジ　 ホバーエフェクト用　*/
.skill-ai,
.skill-ps,
.skill-html,
.skill-js,
.skill-mj,
.skill-af,
.skill-luma,
.skill-premia,
.skill-bl,
.skill-php,
.skill-cs {
  position: relative;
  display: inline-block;
}

/* 透けるホバーエフェクト */
.skill-ai::after,
.skill-ps::after,
.skill-html::after,
.skill-js::after,
.skill-mj::after,
.skill-af::after,
.skill-luma::after,
.skill-premia::after,
.skill-bl::after,
.skill-php::after,
.skill-cs::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2); /* 白っぽく透明 */
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 0.3rem; /* 角丸も調整可能 */
  pointer-events: none; /* SVGのクリックを邪魔しないように */
}

.skill-ai:hover::after,
.skill-ps:hover::after,
.skill-html:hover::after,
.skill-js:hover::after,
.skill-mj:hover::after,
.skill-af:hover::after,
.skill-luma:hover::after,
.skill-premia:hover::after,
.skill-bl:hover::after,
.skill-php:hover::after,
.skill-cs:hover::after {
  opacity: 1;
}

/* モーダルCSSここまで */



.ai-icon, .ps-icon, .html-icon, .js-icon, .mj-icon, .af-icon, .luma-icon, .premia-icon, .bl-icon, .php-icon, .cs-icon {
  padding: clamp(0.6rem, 0.508rem + 0.41vw, 1rem);
  width: clamp(9.375rem, 8.798rem + 2.56vw, 11.875rem);
}



@keyframes showTextFromBottom {
    0% {                /* 最初は透明 */
        opacity: 0;
        transform: translateY(60px);  /* アレンジ　文字が下からふわっとくる。spanをinline-block要素にすること　*/
    }
    100% {
        opacity: 1;    /* 最後は透明を解除する */
    }
}

@keyframes showTextFromTop {
    0% {                /* 最初は透明 */
        opacity: 0;
        transform: translateY(-60px);  /* アレンジ　文字が下からふわっとくる。spanをinline-block要素にすること　*/
    }
    100% {
        opacity: 1;    /* 最後は透明を解除する */
    }
}

.textAnimation span {   /* アレンジ　文字が下からふわっとくる。ここでspanをinline-block要素にする */
    display: inline-block;
    animation: showText 2s backwards; /* 3秒かけて透明から透明解除に */
}

.textAnimation span:nth-of-type(odd) { 
    animation: showTextFromTop 3s backwards;

}

.textAnimation span:nth-of-type(even) { 
    animation: showTextFromBottom 2s backwards;

}


/* フェードインアニメーション */
@keyframes fadeIn {
  from {
    opacity: 0; /* 完全に透明 */
  }
  to {
    opacity: 1; /* 完全に表示 */
  }
}

/* 初期状態を透明に設定 */
.fade-in {
  animation: fadeIn 1.5s ease-in-out; /* 1.5秒かけてフェードイン */
  animation-fill-mode: forwards; /* フェードイン完了後に状態を維持 */
  background-color: black;
  opacity: 0; /* 初期状態は透明 */
}

/* === アニメーション定義 === */
@keyframes letter-glow {
  0% {
    opacity: 0;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.1);
  }
  66% {
    opacity: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
  }
  100% {
    opacity: 0.8;
    text-shadow: none;
  }
}

@keyframes blur {
  0% {
    opacity: 0;
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

/* === Name === */
.name-text1 span {
  opacity: 0;
  display: inline-block;
  animation: letter-glow 0.7s ease both;
}

.name-text1 span:nth-of-type(1) { animation-delay: 0.5s; }
.name-text1 span:nth-of-type(2) { animation-delay: 0.7s; }
.name-text1 span:nth-of-type(3) { animation-delay: 0.9s; }
.name-text1 span:nth-of-type(4) { animation-delay: 1.1s; }
.name-text1 span:nth-of-type(5) { animation-delay: 1.3s; }

.name-text1 .name-blur {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  animation: letter-glow 0.7s ease both, blur 2s ease both;
  animation-delay: 1.5s;
}

.is-act .name-text1 span,
.is-act .name-text1 .name-blur {
  opacity: 1;
}

/* === Creator Name === */
.name-text2 span {
  opacity: 0;
  display: inline-block;
  animation: letter-glow 0.7s ease both;
}

.name-text2 span:nth-of-type(1)  { animation-delay: 0.1s; }
.name-text2 span:nth-of-type(2)  { animation-delay: 0.2s; }
.name-text2 span:nth-of-type(3)  { animation-delay: 0.3s; }
.name-text2 span:nth-of-type(4)  { animation-delay: 0.4s; }
.name-text2 span:nth-of-type(5)  { animation-delay: 0.5s; }
.name-text2 span:nth-of-type(6)  { animation-delay: 0.6s; }
.name-text2 span:nth-of-type(7)  { animation-delay: 0.7s; }
.name-text2 span:nth-of-type(8)  { animation-delay: 0.8s; }
.name-text2 span:nth-of-type(9)  { animation-delay: 0.9s; }
.name-text2 span:nth-of-type(10) { animation-delay: 1.0s; }
.name-text2 span:nth-of-type(11) { animation-delay: 1.1s; }
.name-text2 span:nth-of-type(12) { animation-delay: 1.2s; }
.name-text2 span:nth-of-type(13) { animation-delay: 1.3s; }

.name-text2 .creator-name-blur {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  animation: letter-glow 0.7s ease both, blur 2s ease both;
  animation-delay: 1.5s;
}

.is-act .name-text2 span,
.is-act .name-text2 .creator-name-blur {
  opacity: 1;
}


/* ===== スマホ中サイズ（431px～767px） ===== */
@media screen and (min-width: 431px) and (max-width: 767px)  {
  #back{   
    background-image: url("images/profile_tate19201920.jpg");
    background-size: cover;
    background-position-y: bottom;
      
}
.content_all {
   width: clamp(26.938rem, 100vw, 47.938rem); 
  
}

}

/* ===== スマホ中サイズ（430px以下） ===== */
 @media screen and (max-width: 430px) {
  #back{
  background-image: url("images/profile_tate19201920.jpg");
     background-size: cover;
     background-position-y: bottom;
  }
  .textAnimation[data-type="highlight_left"] {
    font-size:clamp(1rem, 0.779rem + 0.98vw, 1.25rem); /* MIN18 MAX20 MIN360 MAX1920*/
    letter-spacing:clamp(0.05rem, 0.041rem + 0.04vw, 0.063rem); /*文字の間隔を空ける */
    border-radius: clamp(0.125rem, 0.014rem + 0.49vw, 0.25rem);
    display: inline-block;
  }
  
  .textAnimation:not(:first-of-type) {
    margin-top: 1rem;
  }

  #text_all .text_left {
    display: block;
    box-sizing: border-box;
    position: relative;
    flex: 35%;
    line-height: clamp(0.313rem, 0.24rem + 0.32vw, 0.625rem);
    padding-left:clamp(2rem, 1.308rem + 3.08vw, 5rem);
    max-width: 430px;
    min-width: 360px;
    height: auto;
    flex-wrap: nowrap;
    margin-top:clamp(0.938rem, 0.721rem + 0.96vw, 1.875rem);
    letter-spacing: clamp(0.05rem, 0.039rem + 0.05vw, 0.063rem); /*文字の間隔を空ける MIN0.8px MAX1px MIN360 MAX766*/          
    line-height: 1;    
  }

  .text_01 {
    font-size: clamp(1.563rem, 1.462rem + 0.45vw, 2rem);
  }
  .text_04  {

    max-width: 430px;
    min-width: 360px;
     width: max-content;
     
  }
  
  .name-text1,
  .name-text2 {   
    font-size:clamp(1.125rem, 0.991rem + 0.63vw, 1.75rem); /* MIN18 MAX28 MIN360 MAX1920 */
    display: block;
    position: relative;   
    box-sizing: content-box;  
    line-height: 0.6; 
    letter-spacing: .05rem; 
    flex-wrap: nowrap;
    z-index: 1; /* テキストが前面に表示されるように */ 
  }

  #textall .text_left {
    max-width: clamp(22.5rem, 19.167rem + 14.81vw, 37.5rem);
    display: flex;
    height: auto;
    align-items: center;

  }
  
 }

 /* ボタンのスタイル */
#scroll-right {
    position: fixed;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 500;
    pointer-events: auto;
    display: inline-block; /* SVGのスタイル適用を確実にする */
}

/* SVG の fill を明示的に設定 */
#scroll-right svg {
    width: clamp(1.875rem, 1.442rem + 1.92vw, 3.75rem);
    height: auto;
    fill: #fff; /* 初期状態は白 */
    transition: fill 0.3s ease;
}

/* ホバー時に色を変更 */
#scroll-right:hover svg path {
    fill: #00bcd4 !important; /* ホバー時の色を確実に適用 */
}

/* back矢印*/
#scroll-left {
    position: fixed;
    right: 5%;
    top: 55%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 500;
    pointer-events: auto;
    display: inline-block; /* SVGのスタイル適用を確実にする */
}

/* SVG の fill を明示的に設定 */
#scroll-left svg {
    width: clamp(1.875rem, 1.442rem + 1.92vw, 3.75rem);
    height: auto;
    fill: #fff; /* 初期状態は白 */
    transition: fill 0.3s ease;
}

/* ホバー時に色を変更 */
#scroll-left:hover svg path {
    fill: #00bcd4 !important; /* ホバー時の色を確実に適用 */
}

 @media screen and (max-width:430px) {
       .main-content {
        height: auto;
       }
    }
    
    /*　ipad */
@media screen and (min-width:  390px) and (max-width: 1024px) and (min-height: 600px) and (max-height:1400px){
  .text_all{
    margin-top: clamp(2.5rem, 1.635rem + 3.85vw, 6.25rem);
    padding-top: clamp(2.5rem, 1.635rem + 3.85vw, 6.25rem);
  }
  .text_04 {
    width: 100%;
    margin-top: clamp(2.5rem, 1.635rem + 3.85vw, 6.25rem);

  }

    .video-box {
        margin-top: clamp(2.5rem, 1.635rem + 3.85vw, 6.25rem);
    }
}


