/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 全体 */
body {
  font-family: 'Tilt Warp', sans-serif;
  font-size: 1rem; /* 16px */
}

/* ヒーロー */
.hero {
  position: relative;
  height: 100vh;
  background: url("images/bg.jpg") no-repeat center / cover;
  background-attachment: fixed;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* オーバーレイ */
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  top: 0;
  left: 0;
}

/* コンテンツ全体 */
.content {
  position: relative;
  width: 100%;
  max-width: 900px;
  padding: 20px;
  color: #fff;

  display: flex;
  flex-direction: column;
  align-items: center; /* ← 全体を中央に寄せる */
}

/* 上ブロック（中央） */
.top {
  text-align: center;
  margin-bottom: 20px;
}

/* 下ブロック（中央に置く箱） */
.bottom {
  max-width: 750px;
  width: 100%;
}

/* ← ここが重要：中身は左揃え */
.bottom h2,
.text {
  text-align: left;
}

/* テキスト */
.sub {
  font-size: 2.15rem; /* 約18px */
  opacity: 0.8;
  margin-bottom: 10px;
}

.logo {
  font-size: 3rem; /* 約48px */
  margin-bottom: 10px;
  font-weight: 900;

  /* 疑似イタリック */
  display: inline-block;
  transform: skew(-10deg);
}

h2 {
  font-size: 1.5rem; /* 約24px */
  margin-bottom: 30px;
}

.text p {
  font-size: 0.875rem; /* 約14px */
  line-height: 1.2;
  opacity: 0.9;
  margin-bottom: 14px;
}

/* タブレット */
@media (max-width: 1024px) {
  .logo {
    font-size: 36px;
  }

  h2 {
    font-size: 20px;
  }
}

/* スマホ */
@media (max-width: 768px) {

  .hero {
    background-attachment: scroll;
  }

  .bottom {
    max-width: 90%;
  }

  .sub {
    font-size: 14px;
  }

  .logo {
    font-size: 26px;
  }

  h2 {
    font-size: 16px;
  }

  .text p {
    font-size: 13px;
  }
}
