@charset "UTF-8";

/*****
* 初期処理
*****/

*{
  margin: 0;
  padding: 0;
}

body{
  background-color: #ddd;
}


/*
*768pxをタブレット
*/



/*****
* Header処理
*****/

#head_index {
  display: flex;
}

#head_index img{
  left: 0;
}


header nav{
  right: 0;
  background-color: #0000aa;
}



header nav ul{
  display: flex; /*flex扱いに設定する*/
  list-style: none; /*LIST情報をリセットする*/
  flex-wrap: wrap; /*子要素を繰り返す処理*/
  justify-content: space-around; /*子要素の両サイドの隙間ができる*/
  gap: 20px; /*20pxずつ隙間を開ける*/
}

header nav ul li{
  width: 30%;
  font-size: 20px;
  font-weight: 600;
  padding: 10px 0;
  text-align: center;
}

header nav ul li a{
  text-decoration: none;
  color: #fff;
}


/*****
* MAIN処理
*****/

#contents01 {
  display: flex;
  justify-content: center;
  align-items: center;
  background: url(../img/index_main_mv.jpg) no-repeat center/cover;
  height: 80vh;   /*vh: ViewHeightの略　0~100% ビューのサイズに合わせた表示*/
  margin-bottom: 60px;
}

main section div h2{
  font-size: 42px;
  text-shadow: 0 0 10px #0000aa;
  color: #ffffff;
}


main section div h2 span{
  color: #ff0000;
}

main ul {
    list-style: none; /*LIST情報をリセットする*/
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;

}


main ul  li{
  width: 360px; /*スマホの最小サイズが375pxのため*/
  /* height: 240px; */
  background-color: #ddd;
}

main ul  li h3{
  background-color: #000088;
  color: #ffffff;
  width: 100%;
  margin: 0 auto;
  padding: 4px auto;
}


main ul li img{
  width: 100%;
  border-radius: 5%;
}

footer{
  width: 100%;

}


main ul li p{
  padding: 0 10px 20px;
}

footer{
  height: 10vh;
  background-color: #333;
  text-align: center;
}

footer small{
  width: 100%;
  margin: 0 auto;
  color: #ffffff;
}
