/****************************************:

基本色
#544739　テキスト
#859a93　アクセント
#fffcf7　ベース

*****************************************:*/


/* 全体 */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "M PLUS 1p", sans-serif;
  color: #544739;
  background-color: #fff;
  line-height: 1.6;
}

/****************************************:

header

*****************************************:*/

.header {
  position: fixed;
  width: 100%;
  height: 50px;
  background-color: rgba(217,226, 223,0.5);
  top: 0;
  z-index: 10000;
}

.header-inner {
  margin: 0 auto;
  padding: 10px;
  max-width: 1080px;
}

/* .header-nav {
  margin-top: 40px;
} */

.nav-list {
  display: flex;
  justify-content: center;
  gap: 0 30px;
}

.nav-item {
  font-size: 18px;
  font-weight: bold;
}

/* ナビゲーションホバー */
.nav-item a {
  position: relative;
  color: #544739;
  transition: background-color 0.3s, color 0.3s;
}

.nav-item a::before{
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 0;
	height: 2px;
	background: #545454;
	transition: 0.3s;
}

.nav-item a:hover::before{
	width: 100%;
}


/****************************************:

section

*****************************************:*/

.section-wrap {
  max-width: 1080px;
  margin: 0 auto;
  scroll-margin-top: 50px;
  background-color: #fff;
}

.section-inner {
  margin: 0 auto;
  padding: 20px 0;
  width: 95%;
}

.section-wrap + .section-wrap .section-inner {
  border-top: 2px solid #859a93;
}

.section-items {
  margin-top: 4px;
  /* border: 2px solid #b9aefb; */
}

.section-ttl {
  margin-top: 20px;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  color: #859a93;
  
  position: relative;
  z-index: 100;
}

.section-items-ttl {
  margin-top: 20px;
  font-size: 24px;
  font-weight: bold;
}

/* ----- 擬似要素による装飾 ----- */
.section-ttl.__home::before {
  position: absolute;
  content: "ようこそ";
  color: #544739;
  z-index: -1;
  font-size: 16px;
  font-weight: bold;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.section-ttl.__about::before {
  position: absolute;
  content: "私について";
  color: #544739;
  z-index: -1;
  font-size: 16px;
  font-weight: bold;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.section-ttl.__exp::before {
  position: absolute;
  content: "学んだこと";
  color: #544739;
  z-index: -1;
  font-size: 16px;
  font-weight: bold;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.section-ttl.__skill::before {
  position: absolute;
  content: "スキル";
  color: #544739;
  z-index: -1;
  font-size: 16px;
  font-weight: bold;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.section-ttl.__others::before {
  position: absolute;
  content: "その他の活動";
  color: #544739;
  z-index: -1;
  font-size: 16px;
  font-weight: bold;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.section-ttl.__contact::before {
  position: absolute;
  content: "お問い合わせ";
  color: #544739;
  z-index: -1;
  font-size: 16px;
  font-weight: bold;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}


/****************************************:

timeline

*****************************************:*/

.timeline, .timeline-item {
  position: relative;
}

/* 縦線 */
.timeline::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 100%;
  left: 10%;   
  transform: translateX(-50%) ;  
  background-color: #859a93;
}

/* ドット */
.timeline-item::before {
  content: ""; 
  position: absolute;
  left: 10%;             
  top: 50%;
  transform: translate(-50%, -50%); 
  width: 16px;
  height: 16px;
  background-color: #859a93;
  border-radius: 50%;
}

.timeline-item {
  display: flex;
  align-items: center;
}

.timeline-year {
  width: calc(10% + 10px);
  text-align: center; 
  font-weight: bold;
  font-size: 16px;
}

.timeline-item-content {
  flex: 1;
  margin-left: 10px;
  padding: 20px 10px;
  border: 5px double #859a93;
}

.timeline-item + .timeline-item {
  margin-top: 16px;
}

.content-ttl {
  font-size: 16px;
  font-weight: bold;
}

.content-txt {
  font-size: 16px;
  margin-top: 8px;
}
/****************************************:

btn

*****************************************:*/

.btn-container {
  display: flex;
  justify-content: left;
  align-items: center;
  margin-top: 8px;
  gap: 0 10px;
}

.link-btn {
  text-align: center;
  width : 150px;
  padding: 6px 0;

  background-color: #fffcf7;
  border: 1px solid #859a93;
  box-shadow: 0 2px 3px rgba(0,0,0,0.2);
  border-radius: 5px;

  cursor : pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.link-btn:hover {
  background-color: #859a93;
  color: #fffcf7;
}

.link-btn a{
    display: block;
}

/****************************************:

home

*****************************************:*/
#home {
  padding-top: 50px;
}
.home-items-wrap {
  display: flex;
  justify-content: center;
  align-items: center;

}

.prof-icon-img-box {
  max-width: 250px;
}

.prof-icon-img-box img {
  object-fit: cover;
}

.home-txt {
  flex: 1;
}

.home-txt-ttl {
  font-size: 24px;
  font-weight: bold;
  margin-top: 12px;
}

.home-txt-sub {
  margin-top: 12px;
}


/****************************************:

about

*****************************************:*/

/****************************************:

experience

*****************************************:*/

.timeline-item-content .tech-tag {
  /* color: #135ca6; */
  color: #859a93;
  font-weight: bold;
}

/****************************************:

skills

*****************************************:*/

.skill-table {
  width: 100%;
  margin: 0 auto;
  border: 1px solid #544739;
}

.skill-table-th {
  background-color: #fffcf7;
  text-align: center;
  padding: 12px 0;
  border-right: 1px solid #544739;
  border-bottom: 1px solid #544739;
}

.skill-table-td {
  padding: 12px 0;
  border-right: 1px solid #544739;
  border-bottom: 1px solid #544739;
  vertical-align: middle; 
}

/* ----- 言語の表データの設定 ----- */
.lang-contents {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lang-icon-container {
  width: 50%; 
  font-size: 40px;
  text-align: center;
}

.lang-name-container {
  width: 50%;
}

/* ----- iconの色 ----- */
/* Python */
.fa-python {
  color: #3776AB;
}

/* C言語（汎用的にコードアイコンを使用） */
.fa-code {
  color: #555;
}

/* HTML */
.fa-html5 {
  color: #E34F26;
}

/* CSS */
.fa-css3-alt {
  color: #1572B6;
}

/* SQL */
.fa-database {
  color: #f39c12;
}

/* ----- レベルの設定 ----- */
.level {
  text-align: center;
}

/* ----- 実績の設定 ----- */
.skill-details-list {
  list-style-type: disc;
  padding-left: 32px;
}

/* ----- 資格の設定 ----- */
.cert-list {
  display: flex;
  gap: 0 20px;
}

.cert-item {
  font-size: 18px;
}
/****************************************:

others

*****************************************:*/

/****************************************:

contact

*****************************************:*/
.contact-txt {
  text-align: center;
}

.sns-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 20px;
  margin-top: 10px;
}
.sns-item {
  display: flex;
  align-items: center;
}

.sns-icon {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

/****************************************:

footer

*****************************************:*/

.footer {
  text-align: center;
  background-color: #D9E2DF;
}

.small {
  display: block;
  padding: 10px 0;
}