@charset "utf-8";
.title {
  height: 100vh;
  background-image: url(../images/concept/bg-main.jpg);
  background-repeat: no-repeat;
  /* HTMLでimg要素設定ではないので、表示位置と画像サイズはbackgroundで調整 = 位置（横、縦）サイズ（今回は縦横比を保持したまま領域を完全に覆うサイズに拡大縮小 = cover） */
  background-position: center center;
  background-size: cover;
  /* レイアウトしやすくするためにフレックスボックスを指定 */
  display: flex;
  /* 縦並びに変更 = デフォルトの縦よりもスタイリングしやすので */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  text-shadow: 1px 1px 10px #4b2c14;
}

.title h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-weight: bold;
}

.title p {
  font-size: 14px;
  margin-top: 15px;
}

/*--------------------------------
 Skill
---------------------------------*/
.container {
  margin-top: 220px;
}
.skill-title {
  text-align: center;
  font-size: 2rem;
  margin: 80px;
}
.skill-title::after {
  content:'';
  /* 擬似要素はデフォルトではインライン要素なのでblock指定 */
  display: block;
  width: 100px;
  height: 3px;
  background-color: #000000;
  margin: 0 auto;
  margin-top: 20px;
}


.skill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
}

.skill-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 48%;
  margin: 50px 0;
}

.skill-img {
  width: 60px;
  height: auto;
  margin-right: 20px;
}

.skill-body {
  flex: 1;
}

.skill-name {
  margin-bottom: 10px;
}

.skill-text {
  font-size: 14px;
  line-height: 1.8;
}

.feature {
  display: flex;
  justify-content: space-between;
  /* max-widthを指定しているのは、930px以下の小さいブラウザで見たときにも左右の余白を5%ずつ確保するため */
  width: 930px;
  max-width: 90%;
  margin-top: 170px;
  margin-left: auto;
  margin-right: auto;
  /* フレックスアイテムの交差軸方向（今回は縦方向）の配置を指定。 */
  align-items: flex-start;
}

.feature img {
  width: 360px;
  border-radius: 50%;
}

.feature-text {
  /* 幅は、固定値にするとブラウザ幅が縮小したときにレイアウトが崩れるので、max-widthを使用して可変する */
  max-width: 500px;
  margin-right: 40px;
}

.reverse {
  flex-direction: row-reverse;
}

/* reverseの中のfeature-text */
.reverse .feature-text {
  margin-left: 40px;
  margin-right: 0;
}

.feature-text h2 {
  font-size: 22px;
  font-weight: bold;
  line-height: 30px;
}

.feature-text h2::after {
  content:'';
  /* 擬似要素はデフォルトではインライン要素なのでblock指定 */
  display: block;
  width: 220px;
  height: 3px;
  background-color: #000000;
  margin-top: 20px;
}

.feature-text p {
  font-size: 15px;
  line-height: 28px;
  margin-top: 25px;
}

/* 動画の調整 */
.movie {
  width: 930px;
  max-width: 90%;
  background-color: #f8f8f8;
  padding: 50px 60px;
  margin-top: 55px;
  margin-left: auto;
  margin-right: auto;
}

.movie h2 {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
}

.movie h2::after {
  content:'';
  /* 擬似要素はデフォルトではインライン要素なのでblock指定 */
  display: block;
  width: 36px;
  height: 3px;
  background-color: #000000;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

.movie iframe {
  display: block;
  width: 100%;
  height: 456px;
  margin-top: 30px;
}

.movie p {
  font-size: 15px;
  line-height: 28px;
  margin-top: 20px;  
}

.footer {
  margin-top: 100px;
}
.social-icons {
  display: flex; /* 横並びにする */
  justify-content: center; /* 中央に配置 */
  margin: 60px 10px 0; /* 上下のマージンを追加 */
  gap: 30px;
}

.social-icons a {
  margin: 0 10px; /* アイコンの間にスペースを追加 */
  color: inherit; /* テキストの色を継承 */
  font-size: 24px; /* アイコンのサイズを設定 */
  text-decoration: none; /* 下線を消す */
}

.social-icons a:hover {
  color: gray; /* ホバー時の色を変更 */
}


@media (max-width: 800px){
  .feature {
    flex-direction: column-reverse;
    /* コンセプトエリアの幅を狭くして要素が中央に揃うように調整する */
    width: 500px;
    margin-top: 45px;
  }

  /* コンセプト文の左右の余白を削除して左右のずれをなくす */
  .feature-text {
    margin-right: 0;
  }
  .reverse .feature-text {
    margin-left: 0;
  }

  /* 画像のサイズを揃える */
  .feature img {
    width: 70%;
    height: auto;
    margin: 30px auto;
  }
  .skill-title {
    margin: 30px;
  }
  .skill-list {
    margin: 0 20px;
  }
  .movie {
    width: 500px;
    padding: 30px 25px;
  }

  /* モバイル表示では幅がデバイスによって異なるので正確な高さが出せないため、タブレットからスマホまで無理なく収まるようなサイズ */
  .movie iframe {
    height: 240px;
  }
}