* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --theme-primary: #198754;
  --theme-hover: #157347;
  --theme-active: #146c43;
}

html {
  touch-action: manipulation;
  height: 100%;
}

body {
  width: 100%;
  height: 100vh;
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

.btn-common {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: block;
  width: 90%;
  min-height: 50px;
  color: #fff;
  border: 2px solid var(--theme-primary);
  background-color: var(--theme-primary);
  border-color: var(--theme-primary);
  border-radius: 5px;
  font-size: 1.3em;
  box-shadow: 1px 1px 2px #ccc;
  margin: 0 auto;
  padding: 8px 16px;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
@media (hover: hover) {
  .btn-common:hover {
    background-color: var(--theme-hover);
    border-color: var(--theme-hover);
  }
}
.btn-common:focus {
  background-color: var(--theme-hover);
  border-color: var(--theme-hover);
}
.btn-common:active {
  background-color: var(--theme-active);
  border-color: var(--theme-active);
}
.btn-common:disabled {
  opacity: 0.65;
  pointer-events: none;
}

.wrap {
  width: 100%;
  height: 100%;
  overflow: auto;
  font-size: 16px;
  text-align: center;
  background-color: #fffffe;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.container {
  position: relative;
  width: 96%;
  max-width: 640px;
  height: 94%;
  overflow: auto;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 1px 1px 2px #999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.startArea {
  width: 100%;
  height: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0);
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.startArea.show {
  opacity: 1;
  transform: scale(1);
}
.startArea.hide {
  display: none;
}

h1 {
  width: 100%;
  margin-bottom: 40px;
}

h1 img {
  width: 94%;
  border-radius: 5px;
  box-shadow: 1px 1px 2px 1px #666;
}

.startBtns {
  width: 96%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.startBtns a {
  flex: 1 1 46%;
  font-size: 1.2em;
  display: flex;
  justify-content: center;
  align-items: center;
}
