@charset "utf-8";

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.main-header {
  position: relative;
  display: block;
  align-items: center;
  margin: 0;
  padding: 0;
  border-bottom: 0;
  text-align: center;
}

.main-header h1 {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  margin: 0;
  padding: 16px 20px;
  font-weight: 600;
  line-height: 1.2;
  min-height: 0;
}

.slide {
  display: none;
  text-align: center;
}

.slide section {
  margin: 0;
  padding: 20px 20px 100px 20px;
  text-align: left;
}

.slide section h2 {
  text-align: left;
  margin: 10px 0 20px 0;
  padding: 0;
  font-weight: 600;
  font-size: 1.3rem;
  border: 0;
}

.slide section h3 {
  text-align: left;
  margin: 40px 0 20px 0;
  padding: 0;
  font-weight: 600;
  font-size: 1.1rem;
  border: 0;
  background: none;
}

.slide img {
  line-height: 0;
  max-width: 100%;
  height: auto;
}

.slide a {
  display: block;
  font-size: large;
  color: #595959;
  text-decoration: none;
  padding: 2%;
  margin: 2% auto;
  text-align: center;
  background-color: #ffe100;
}
.active {
  /*.slide{...}よりも下に記述*/
  display: block;
}

/* footer *--------------------------------------- */
footer {
  position: fixed;
  bottom: 0;
  display: flex;
  width: 100%;
  max-width: 768px;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 12px 20px;
  background-color: rgba(255, 255, 255, 0.9);
  box-sizing: border-box;
}
footer div {
  line-height: 0;
}
footer div img {
  width: 48px;
  height: auto;
}
footer .pager {
  font-size: x-large;
  font-weight: bold;
  line-height: normal;
}
