/* common */

body {
  margin: 0;
  font-size: 16px;
  font-family: Verdana, sans-serif;
  color: #333;
}

header {
  background: #f59a00;
  color: #fff;
  text-align: center;
  padding-top: 64px;
}

header h1,
header p {
  margin: 0;
}

header img {
  width: 280px;
  vertical-align: bottom;
}

.btn {
  text-decoration: none;
  background: #fff;
  color: #f59a00;
  display: block;
  width: 140px;
  line-height: 44px;
  margin: 40px auto 48px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 4px;
}

.btn:hover {
  opacity: 0.9;
}

.features img {
  width: 100%;
}

.features > h1{
  text-align: center;
  padding: 64px 0;
  font-weight: normal;
}

.features .container {
  margin: 0 32px;
}
.features p {
  line-height: 1.8;
}

.features section {
  padding-bottom: 64px;
}

.members {
  background: #f2f2f3;
}

.members > h1{
  text-align: center;
  padding: 64px 0;
  font-weight: normal;
}

.members ul {
  list-style: none;
  text-align: center;
  margin: 0;
  padding: 0;
}
.members img {
  width: 160px;
  border-radius: 50%;
}

.members h2 {
  font-size: 20px;
}

.members li {
  padding-bottom: 64px;
}

.call-to-action {
  background: #f59a00;
  color: #fff;
  text-align: center;
  padding: 64px 0;
}

.call-to-action h1 {
  font-weight: normal;
}

/* ※ダウンロードボタンの基本設定は上記の".btn"設定を適用し、変更したい部分は新たに記述し(下記)、上書きを行うことで変更可能となる*/
.call-to-action .btn {
  margin: 0 auto;
}

footer {
  padding: 64px 0;
  background: #323135;
  color: #98969c;
  text-align: center;
}

/* =============================================== */
/* large screen (メディアクエリーの設定:PC用画面表示)*/
/* 【ﾚｽﾎﾟﾝｼﾌﾞｳｪﾌﾞﾃﾞｻﾞｲﾝの設定】 */
/* (※ここでFlexbox関連の設定を行っている！) */

@media (min-width: 900px) {
  header .container {
    display: flex;
    width: 800px;
    margin: 0 auto;
  }

  header .info {
    width: 60%;
    align-self: center;
  }

  header .pic {
    width: 40%;
  }

  .features .container {
    width: 800px;
    margin: 0 auto;
  }

  .features section {
    display: flex;
    /* Flexbox内の要素の配置設定(space-betweenで要素間に余白を配置) */
    justify-content: space-between;
  }

  .features section:nth-child(even) {
    /* Flexbox内の主軸方向を変更：ﾃﾞﾌｫﾙﾄと逆方向に設定 */
    flex-direction: row-reverse;
  }

  .features .pic {
    width: 50%;
  }
  .features .info {
    /* ※単位が異なっていても計算ができるcalc()を使用(※結果としてこのFlexbox内には32pxの余白を作成している) */
    width: calc(50% - 32px);
  }

  .members ul {
    width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
  }

  .members li {
    width: 250px;
  }

}
