* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
    /* フォント */
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}


/* ヘッダー */
header {
    display: flex;
    background: linear-gradient(90deg, #9489f7, #6250a3);
    width: 100%;
    height: auto;
    justify-content: center;
    text-align: center;
    align-items: center;
    flex-direction: column;
}
#icon {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    box-shadow: 0 0 5px whitesmoke;
    margin-top: 50px;
    margin-bottom: 10px;
}
header  h1{
    color: white;
    font-size: 3rem;
    font-weight: 1000;
    letter-spacing: -0.5px;
}
header h2 {
    color: white;
    font-size: 1.7rem;
}

#second-title {
    margin-top: 20px;
    color: white;
    font-weight: 500;
    font-size: 20px;

    /* 切り替え表示のモーション */
    opacity: 1;
    transition: opacity 0.5s ease;
}
/* サイトマップ */
.menu {
    background: #FFFFFF;
    width: 100%;
    height: 60px;
    text-align: center;
    align-items: center;
    box-shadow: 0 3px 5px rgb(192, 192, 192);
    padding: 15px;
    margin-top: 8vh;
}
.menu ul {
    display: inline-flex;
    list-style: none;
    gap: 50px;
    font-size: 20px;
    flex-direction: row;
}
.menu li {
    text-align: center;
}
.menu a {
    display: block;
    text-decoration: none;
    color: black;
}
@media screen and (max-width: 768px) {
  header {
    padding: 40px 20px;
    text-align: center;
  }

  #icon {
    width: 100px;
    height: 100px;
  }

  header h1 {
    font-size: 2rem;
  }

  header h2,
  #second-title {
    font-size: 1.2rem;
  }

  .menu ul {
    flex-direction: column;
    gap: 15px;
  }

  .menu {
    padding: 20px 0;
    height: auto;
  }

  .about-container {
    padding: 20px;
    max-width: 90%;
  }
}
@media screen and (max-width: 768px) {
  .menu ul {
    flex-direction: column; /* スマホでは縦並び */
    align-items: center;
  }
}




/* メインコンテンツ */
main {
    width: 100%;
    overflow: hidden;
}



/* 自己紹介 */
#about {
    justify-content: center;
    text-align: center;
    align-self: center;
    background: #F9FAFB;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
}
.about-title {
    text-align: center;
    margin-top: 5vh;
    font-size: 30px;
    font-weight: bold;
}
.about-container {
    background: #FFFFFF;
    width: 50%;
    margin: auto;
    padding: 50px;
    display: flex;
    border-radius: 15px;
    box-shadow: 0 1px 5px rgba(192, 192, 192, 0.486);
}
.aboutme {
    margin: 10px;
    width: 50%;
}
.aboutme h2 {
    text-align: left;
    font-size: 25px;
    font-weight: bold;
    margin-top: -20px;
    margin-bottom: 10px;
}
.aboutme p {
    text-align: left;
    color: rgb(61, 61, 61);
}
.dream {
    margin: 10px;
    width: 50%;
    background: linear-gradient(45deg, #3E7FF6, #9036EA);
    padding: 30px;
    border-radius: 15px;
    border: none;
    color: white;
}

.dream h1{
    font-size: 30px;
}
.dream h2 {
    margin-top: 5px;
    font-size: 20px;
}
.dream p {
    margin-top: 10px;
    font-size: 15px;
}



/* スキル */
#skills {
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 70vh;
    background-color: #F3F4F6;
}
.skill-title {
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    margin-top: 7vh;
    margin-bottom: 5vh;
}
.lang-tech {
    display: flex;
    width: 50%;
    margin: auto;
    gap: 50px;
    margin-top: 0;
}
.skill-container {
    width: 50%;
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.skill-container h2 {
    text-align: left;
    margin-top: -10px;
    margin-bottom: 10px;
}
.category {
    width: 100%;
    padding: 10px;
    border-radius: 15px;

}
#pro-lang {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 10px;
    margin-left: 10px;
}
#level {
    width: 60px;
    height: 30px;
    border-radius: 30px;
    color: white;
    text-align: center;
}


footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 15vh;

    text-align: center;
    background-color: #1F2937;
}
footer h2 {
    color: white;
    font-weight: 700;
}
footer h3 {
    color: gray;
    font-weight: 500;
}
footer p a {
    text-decoration: none;
    color: black;
    font-weight: 700;
}