* {
  box-sizing: border-box;
}

body {

  margin: 0;

  padding: 20px;

  background: #f4f6f8;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: #222;

}

/*
  ヘッダー
*/
h1 {

  text-align: center;

}

.notice {

  text-align: center;

}

/*
  アプリ全体
*/
#app {

  max-width: 600px;

  margin: 0 auto;

}

/*
  カード
*/
.card {

  background: #ffffff;

  border-radius: 20px;

  padding: 24px;

  box-shadow:
    0 6px 20px rgba(0,0,0,0.08);

}

/*
  タイトル
*/
.question {

  font-size: 28px;

  font-weight: bold;

  line-height: 1.4;

  margin-bottom: 16px;

}

/*
  説明
*/
.card p {

  font-size: 15px;

  line-height: 1.8;

  color: #444;

}

/*
  補足
*/
.card div {

  line-height: 1.6;

}

/*
  ボタン
*/
.button {

  width: 100%;

  border: none;

  border-radius: 18px;

  padding: 20px;

  margin-bottom: 16px;

  color: white;

  cursor: pointer;

  transition:
    transform 0.08s ease,
    opacity 0.2s ease,
    box-shadow 0.2s ease;

  box-shadow:
    0 4px 12px rgba(0,0,0,0.12);

}

/*
  ホバー
*/
.button:hover {

  opacity: 0.96;

  box-shadow:
    0 6px 16px rgba(0,0,0,0.16);

}

/*
  押した時
*/
.button:active {

  transform: scale(0.98);

}

/*
  戻るボタン
*/
.back-button {

  background: #b0bec5;

  color: #222;

}

/*
  リンク
*/
a {

  color: #1976d2;

  text-decoration: none;

  font-size: 14px;

}

a:hover {

  text-decoration: underline;

}

/*
  スマホ調整
*/
@media (max-width: 480px) {

  body {

    padding: 14px;

  }

  .card {

    padding: 18px;

    border-radius: 16px;

  }

  .question {

    font-size: 24px;

  }

  .button {

    padding: 18px;

  }

}

/*
  規約・ポリシー等
*/
.legal h2 {

  font-size: 17px;

  margin-top: 28px;

  margin-bottom: 10px;

}

.legal p,
.legal li {

  font-size: 14px;

  line-height: 1.8;

  color: #333;

}

.legal ul {

  padding-left: 20px;

  margin-top: 0;

}

.legal .updated {

  font-size: 12px;

  color: #777;

  margin-top: 28px;

}

.legal .back-link {

  display: inline-block;

  margin-bottom: 16px;

}

.footer-links {

  max-width: 600px;

  margin: 16px auto 0;

  text-align: center;

  font-size: 12px;

}

.footer-links a {

  margin: 0 8px;

}

/*
  ハンバーガーメニュー ボタン
*/
.menu-toggle {

  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1001;

  width: 44px;
  height: 44px;

  border: none;
  border-radius: 12px;

  background: #ffffff;
  color: #37474f;

  font-size: 22px;
  line-height: 1;

  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  cursor: pointer;

}

.menu-toggle.hidden {
  display: none;
}

/*
  ハンバーガーメニュー 背景オーバーレイ
*/
.menu-overlay {

  display: none;

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background: rgba(0,0,0,0.4);
  z-index: 999;

}

.menu-overlay.open {
  display: block;
}

/*
  ハンバーガーメニュー ドロワー本体
*/
.menu-drawer {

  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;

  width: 80%;
  max-width: 320px;

  background: #ffffff;

  box-shadow: 2px 0 16px rgba(0,0,0,0.15);

  transform: translateX(-100%);
  transition: transform 0.25s ease;

  z-index: 1000;

  padding: 20px;
  box-sizing: border-box;

  overflow-y: auto;

}

.menu-drawer.open {
  transform: translateX(0);
}

.menu-drawer-header {

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 16px;
  font-weight: bold;
  color: #37474f;

  margin-bottom: 20px;
  padding-bottom: 12px;

  border-bottom: 1px solid #eceff1;

}

.menu-close {

  border: none;
  background: none;

  font-size: 22px;
  line-height: 1;
  color: #78909c;

  cursor: pointer;

}

.menu-section {

  margin-bottom: 24px;

  font-size: 14px;
  line-height: 1.8;
  color: #455a64;

}

.menu-section h2 {

  font-size: 14px;
  font-weight: bold;
  color: #37474f;
  margin: 0 0 8px;

}

.menu-version {

  font-size: 12px;
  color: #90a4ae;

}