/************************************/
/* profile */
/************************************/

.profile {
  padding: 50px 0px 50px 0px;
  gap: 0 100px;
  display: flex;
  justify-content: center;
  margin-top: var(--header-height);
}

.profile img {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 3px 3px 11px #ccc;
}

.profile p {
  align-self: center;
  font-size: 38px;
  line-height: 50px;
}

/************************************/
/* about */
/************************************/

#about {
  text-align: center;
  margin-bottom: 80px;
  padding-top: 120px;
  margin-top: -120px;
}

.about_pen {
  max-width: 1000px;
  margin: auto;
  font-size: 20px;
  line-height: 30px;
}

.about_pja {
  max-width: 1000px;
  margin: auto;
  font-size: 16px;
  line-height: 30px;
}

/************************************/
/* project */
/************************************/
#project {
  padding-top: 120px;
  margin-top: -120px;
}

.project_container {
  display: flex;
  justify-content: center;
  gap: 100px;
}

#project h1 {
  text-align: center;
}

#project img {
  max-width: 450px;
  width: 100%;
}

#project .btn, .hobby .btn {
  display: block;
  width: 400px;
  max-width: 80%;
  height: 60px;
  font-size: 30px;
  background: var(--pink_color);
  border: none;
  color: #FFFEFB;
  margin: 20px auto;
  border-radius: 15px;
  box-shadow: 0px 10px 5px -5px #ccc;
  text-align: center;
  line-height: 60px;
  text-decoration: none;
  cursor: pointer;
}

#project .btn:hover, .hobby .btn:hover {
  opacity: .9;
}

/************************************/
/* hobby */
/************************************/

.hobby {
  text-align: center;
}

.hobby h1 {
  margin-top: 80px;
}

.hobby img {
  width: 400px;
  max-width: 90%;
}

/************************************/
/* media */
/************************************/

/* 1024以下のスクリーンサイズ */
@media screen and (max-width: 1024px) { 
  .profile {
    display: block;
    width: 300px;
    padding-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
  }

  #about {
    width: 80%;
    justify-self: center;
    margin: 0 auto;
    padding-bottom: 20px;
    padding-top: 100px;
    margin-top: -100px;
  }

  .project_container {
    display: block;
    text-align: center;
  }

  #project .project_left {
    margin-bottom: 70px;
  }
}