@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700&display=swap');

body {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  margin: 0;
  padding: 0;
  color: #3f3f3f;
  text-align: center;

  background-image: url('../img/header-bg.png');
  /* 画像パスに置き換え */
  background-size: cover;
  /* 全体に拡大縮小してフィット */
  background-position: center;
}

/* 白や薄い色を重ねて背景を淡くする */
body::before {
  content: "";
  position: fixed;
  /* ページ全体にかぶせる */
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
  /* 白を60%透明で重ねる */
  z-index: -1;
  /* コンテンツより下 */
}

header {
  padding: 20px;
  /* background-color: #007AFF; */
  /* color: white; */
  background-color: #DAB26F;
  /* color: white; */

  background-image: url('../img/header-bg.png');
  /* 画像パスに置き換え */
  background-size: cover;
  /* 全体に拡大縮小してフィット */
  background-position: center;
  /* 中央寄せ */
}

header h1 {
  margin: 0;
  font-size: 2em;
}


footer {
  margin-top: 40px;
  padding: 20px;
  background: #f7f7f7;
  font-size: 0.9em;
}

footer a {
  margin: 0 10px;
  color: #007AFF;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.screenshots {
  margin: 40px 0;
}

.screenshots h2 {
  margin-bottom: 20px;
  font-size: 1.5em;
  color: #007AFF;
}

.screenshot-gallery {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.screenshot-gallery img {
  width: 240px;
}

.intro {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20px;
  padding-bottom: 20px;
  flex-wrap: wrap;
  /* 画面が狭いときは折り返す */
  background-color: white;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.intro img {
  width: 140px;
  border-radius: 20%;
}

.intro-text {
  margin-left: 20px;
  margin-right: 20px;
}

@media (max-width: 600px) {
  .intro-text {
    max-width: 100%;
  }
}