body {
  background-color: #f8f8f8;
  font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;
  font-size: 0.9rem;
}
h1 {
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
}
a {
  color: #0288d1;
}

/* コンテナを中央に寄せるための外枠 */
.outer-container {
  width: 100%;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;      /* 折り返しを許可 */
  gap: 10px;            /* アイテム間の隙間 10px */
  padding-top: 10px;
  
  /* コンテナ自体の設定 */
  width: fit-content;   /* 中身のアイテムに合わせてコンテナ幅を決定 */
  margin: 0 auto;       /* 左右に均等な余白を作り、中央に配置 */
  max-width: 100%;      /* 画面幅を超えないように制御 */

  /* アイテムの並び（デフォルトで左寄せ） */
  justify-content: center; /* 中央寄せ */
}

.ghost {
  height: 0; /* 高さを出さない */
  width: 240px;
  padding: 10px;
  visibility: hidden;
}

.square {
  width: 240px;
  height: 240px;
  padding: 10px;
  justify-content: center;
}
.square header {
  padding: 10px;
  text-align: center;
}

.hero {
  color: #757575;
  background-image: url("/labo-image-square.jpg");
  background-color:rgba(255,255,255,0.7);
  background-blend-mode: lighten;
}
.hero h1 {
  color: #4caf50;
  font-weight: 400;
}

.link-box {
  background-color: #03a9f4;
  color: white;
}
.link-box:hover {
  box-shadow: 2px 2px 3px #aaa;
  cursor: pointer;
}