@charset "utf-8";
/* -----------------------------共通部分----------- */

img {
max-width: 100%;
}

h1,h2 {
  color: #023859;
	font-family: "Montserrat", sans-serif;

}

.my_name {
  display: none;
}
/* -----------------------------header部-------------- */
/* --------------　固定窓　開始-------------- */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 147px;/* ヘッダーの高さに合わせて調整 */
  background-color :#fff;
  z-index: 1000;
}
/* --------------　固定窓　終了-------------- */





/* -----------------------------main部-------------- */

.full-line {
  width: 100%;            /* ビューポート幅いっぱい */
  height: 1px;
  background-color: #333;  /* 線の色 */
  position: fixed; /* スクロールしても固定したい場合 */
  top: 20%;                /* 画面中央に配置 */
  left: 0;
  z-index: 98;
animation: expandLine 1s ease-out forwards;
}
@keyframes expandLine {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}


.vertical-line {
  height: 100%;           /* 画面全体の高さ */
  width: 1px;
  background-color: #666;
  position: fixed;
  left: 10%;
  top: 0;
  z-index: 98;
}






/* -----------------------------ナビメニュー----------- */
nav {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 1rem;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

nav ul {
  display: flex;
  justify-content: flex-end;
  gap: 10px; /* アイテム間の間隔 */
  margin-top: 5rem;
  list-style: none;
}
nav li {
  list-style: none;
  padding-right: 1rem;
  margin-right: 2rem;
  position: relative;
  z-index: 97;
	  font-family: "Montserrat", sans-serif;

}
nav li a {
  text-decoration: none; /* 下線を消す */
  color: #333; /* 文字色（黒系） */
  font-size: 1rem;
  padding: .5rem .5rem;
  border-radius: 50%;

  position: relative;

}
nav li a:hover {
  background-color: #8eb7cd; /* ホバー時の色 */
  color: #333;
    border-radius: 50%;
    transition: .7s;


}

/* 写真部分　*/
.myphoto {
  display: flex;              /* Flexboxにする */
  justify-content: center;    /* 横方向：中央 */
  align-items: center;   

}









@media screen and (min-width: 800px) {




/* --------------　固定窓　開始-------------- */

header {
 height: 147px; /* PC用 */
}
.full-line {
  position: absolute;
  top: 147px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #000;

}


/* --------------　固定窓　終了-------------- */

/* -----------------------------main部-------------- */
main {
padding-top: 10rem;
padding-bottom: 10rem;

  /*outline: 1px solid;*/
  max-width:  75% ;
  margin: auto;

}

/* -------------------profile 部-------------- */
.myphoto img {
  max-width: 50%;
  max-height: 50%;
}
.myphoto {
  display: flex;              /* Flexboxにする */
  justify-content: right;    /* 横方向：中央 */
  align-items: right;   

}




/* ------------------works 見出し部-------------- */

h3 {
  font-family: "Montserrat", sans-serif;
  color: #023859;

  padding-top: 1rem;
  padding-bottom: .5rem;
}


/* ------------------works main部-------------- */
.site_item {
  background-color: #bacbd5;
  border-radius: 20px;
  text-align: center;
}
.site_kinds {
  display: inline-block;
  background-color: #023859;
  width: 100px;
  color: #bacbd5;
  border-radius: 20px;
  padding-left: .3rem;
  margin: 1rem;
}

.site_capture {
  padding-top: 2rem;

}

.text_item {
  line-height: 1.8;
  
}

.item_name {
  color: #023859;
  margin: .5rem auto;
  padding-bottom: 1rem;
}




/* -------スキルのtable------ */
table {
  border: 1px solid;
  font-family: "Montserrat", sans-serif;


}


th {
  text-align: right;
}

table span {
 color: #023859;

}

.profile .item {
  width: 550px;
  margin: 7rem auto;
  text-align: justify;
}

/* 奇数番目：左寄せ気味 */
.profile .item:nth-child(odd) {
  margin-left: 10%;
  margin-right: auto;
  text-align: left;
}

/* 偶数番目：右寄せ気味 */
.profile .item:nth-child(even) {
  margin-left: auto;
  margin-right: 10%;
  text-align: right;
}






}




@media screen and (max-width: 799px) {
  body {
    background-image:none;
  }
  img {
    max-width: 80%;
  }




  .my_name {
    display: block;
      color: #023859;
    font-family: "Montserrat", sans-serif; 
    padding-left: 2rem;
    font-weight: bold;
  
  }
  /* ----------------header 部------ */

   header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 87px; /* デフォルトはモバイル */
  background-color: #fff;
  z-index: 1000;
  }


  .full-line {
    top: 87px;
  }

  .vertical-line {
    display: none;
  }
  /* ----------------header 部　------ */



  nav ul {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
  }

  nav li {
    padding: 0 ;
    margin: 0;
  }

  nav li a {
    font-size: 0.9rem;
    padding: 0.6rem;
    background-color: #f0f0f0;
    border-radius: 12px;
    display: inline-block;
  }


  

  .floating-icon {
    width: 45px;
  }


  p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

/* ----------------------------main部----------- */


  main{
    padding-top: 5rem;

    padding-right:  1rem;
    padding-left:  1rem;

  }

	
	
	

  table {
    padding-bottom: 1rem;
	

  }
	
	th {
	font-size: .875rem;
		

}

 /* ----------------　-見出し部----------- */
 
  h1 {
    font-size: 1.1rem;
    text-align: center;
    padding: 3rem;
  }
  h2 {
    font-size: 1.1rem;
    text-align: center;
    padding-bottom: 1rem;


  }
	
	h3 {
		  color:  #023859;
		  padding-top: .5rem;
		padding-bottom: .5rem;

	}
  
/* ------------------works main部-------------- */

.profile {
	padding-bottom: 6rem;
		
}
.container{
  margin-right: .5rem;
  margin-left: .5rem;


}
.site_item {
  background-color: #bacbd5;
  border-radius: 20px ;
  text-align: center;
  width: 100%;
  height: 100%;
  padding-bottom: .5rem;
}
.site_kinds {
  display: inline-block;
  background-color: #023859;
  width: 100px;
  color: #bacbd5;
  border-radius: 20px;
}

.site_capture {
  max-width: 70%;
  margin-top: 1rem;

}

.text_item {
  text-align: left;

  
}
.item_name {
  color: #023859;

}




}
