/************************************/
/* top */
/************************************/

.top {
  display: flex;
  max-width: 100%;
  gap: 30px;
  justify-content: center;
  margin: 0 10%;
  align-items: center;
  margin-top: calc(var(--header-height) + 30px);
}

.top .content a {
  display: block;
  text-decoration: none;
  font-size: 24px;
  margin-top: 10px;
  color: var(--pink_color);
  padding: 0 5px;
}

.top .content a:hover {
  background: var(--pink_color);
  color: #FFFEFB;
}

.top .top_pic {
  text-align: center;
  width: 900px;
}

.top .top_pic img {
  width: 100%;
}

/************************************/
/* introduction */
/************************************/

#introduction,
#about,
#problem_title,
#solution,
#plan,
#persona,
#moodboard,
#logo,
#wireframe,
#desktop_mockup,
.desktop_other,
#mobile_mockup {
  margin: 0 10%;
  margin-top: 100px;
}

#introduction {
  margin-top: 50px;
}

#introduction p:nth-child(2) {
  margin-bottom: 50px;
}

#introduction a {
  cursor: pointer;
  color: var(--pink_color);
  font-size: 20px;
}

/************************************/
/* problem_research */
/************************************/

.problem_research {
  display: flex;
  gap: 50px;
  margin: 0 10%;
}

.problem, .research {
  width: 50%;
  padding: 10px 20px;
  border: solid 3px var(--pink_color);/*線*/
  border-radius: 10px;/*角の丸み*/
  background: #FFF;
  margin-top: 20px;
}

/************************************/
/* plan */
/************************************/

#plan img {
  width: 100%;
  /* max-width: 900px;左によってしまう。大きさは900pxがいい。 */
}

/************************************/
/* persona */
/************************************/

#persona img {
  width: 100%;
}

/************************************/
/* moodboard */
/************************************/

#moodboard .box {
  display: flex;
  gap: 50px;
}

#moodboard img {
  width: 100%;
}

#moodboard .box_left {
  width: 50%;
  height: 470px;
  background-image: url(../img/moodboard.png);
  background-position: center;
  background-repeat: no-repeat;
  box-sizing: border-box;
  background-size: cover;
}

#moodboard .box_right {
  width: 50%;
  height: 470px;
  /* align-self: center; */
  border: 3px solid var(--pink_color);
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
  background-size: cover;
}

#moodboard .box_right .right_right {
  margin: 0 auto;
  width: 60%;
  margin-top: 90px;
}

/************************************/
/* logo */
/************************************/

#logo img {
  width: 100%;
}

/************************************/
/* wireframes */
/************************************/

#wireframe img {
  width: 100%;
}

/************************************/
/* desktop_mockup */
/************************************/

#desktop_mockup img {
  width: 100%;
}

/************************************/
/* desktop_other */
/************************************/

.desktop_other img {
  width: 100%;
}

/************************************/
/* mobile_mockup */
/************************************/

#mobile_mockup img {
  width: 100%;
}

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

/* 500以下のスクリーンサイズ */
@media screen and (max-width:500px) {
  .top .content {
    margin-top: 0px;
  }

  #introduction p:nth-child(2) {
    margin-bottom: 30px;
  }

  .moodboard .box_left {
    width: 100%;
    height: 300px;
  }

  #about,
  #problem_title,
  #solution,
  #plan,
  #persona,
  #moodboard,
  #logo,
  #wireframe,
  #desktop_mockup,
  .desktop_other,
  #mobile_mockup {
    margin-top: 50px;
  }
}

/* 1024以下のスクリーンサイズ */
@media screen and (max-width: 1024px) { 
  .top {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .top .content {
    order: 2;
  }

  .top .top_pic {
    order: 1;
    width: 100%;
  }

  .problem_research {
    display: block;
  }

  .problem, .research {
    width: 100%;
    box-sizing: border-box;
  }

  #moodboard .box {
    display: block;
  }

  #moodboard .box_right {
    width: 100%;
    margin-top: 20px;
    padding: 0 30px;
    box-sizing: border-box;
    height: auto;
  }

  #moodboard .box_right .right_right {
    margin: 0 auto;
    width: 100%;
  }
  

  #moodboard .box_left {
    width: 100%;
    height: 300px;
  }
}
