@charset "UTF-8";

/* サンプルに必要なCSS */
* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 16px;
  place-content: center;
  place-items: center;
  height: 100%;
  padding: 64px 16px;
  margin: 0;
  font-family: sans-serif;
  font-size: 16px;
  color: #222;
  background-color: #efefef;
}

body.dark {
  background-color: #222;
}

/* ul,liのリセットCSS */
ul,
li {
  padding: 0;
  margin: 5px;
  list-style-type: none;
}

/* ボタンを横並びにするスタイル */
.buttonList {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* メニューを横並びにするスタイル */
.menu {
  display: flex;
  padding: 0 16px;
  background-color: #efefef;
  /* box-shadow: 0 0 4px rgb(0 0 0 / 30%); */
}

.flex_test-box {
  background-color: #eee;     /* 背景色指定 */
  padding:  10px;             /* 余白指定 */
}

.flex_test-item {
  padding: 10px;
  color:  #fff;               /* 文字色 */
  margin:  10px;              /* 外側の余白 */
  border-radius:  5px;        /* 角丸指定 */
}

.flex_test-item:nth-child(1) {
  background-color:  #2196F3; /* 背景色指定 */
}

.flex_test-item:nth-child(2) {
  background-color:  #4CAF50; /* 背景色指定 */
}

.flex_test-item:nth-child(3) {
  background-color: #3F51B5; /* 背景色指定 */
}

.flex_test-item:nth-child(4) {
  background-color:  #00BCD4; /* 背景色指定 */
}