html {
  font-size: 16px;
  font-family: "Noto Sans JP";
}

#app {
  max-width: 800px;
  margin-inline: auto;
}

.c-header {
  height: 60px;
  background: #03a678;
  font-size: 16px;
  padding: 0.5rem 1rem;
}

.c-nav {
  font-size: 16px;
  height: 100%;
}
.c-nav__link {
  display: flex;
  align-items: center;
  height: inherit;
  gap: 1rem;
  color: #fff;
  font-size: 1.3rem;
}

.c-container {
  display: grid;
  justify-content: center;
  margin: 1rem 2rem 0;
  gap: 1rem;
}
.c-container__title {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 700;
}
.c-container__text {
  align-items: center;
}

.c-question {
  display: grid;
  gap: 2rem;
  margin: 1rem auto;
}
.c-question__count {
  margin-inline: 1rem;
}
.c-question__box {
  position: relative;
  border: 3px solid #049dbf;
  padding: 1rem;
  border-radius: 6px;
  margin-inline: 1rem;
}
.c-question__title {
  position: absolute;
  background: #fff;
  color: #049dbf;
  top: 0;
  transform: translateY(-50%);
  font-size: 1.2rem;
  padding-inline: 0.5rem;
}
.c-question__text {
  font-size: 1.15rem;
}
.c-question__select {
  background: #eee;
  width: 100%;
  padding: 2rem;
  margin: auto;
}
.c-question__list {
  display: grid;
  gap: 1rem;
  padding-inline: 2rem;
  margin-top: 2rem;
}
.c-question__list-item {
  list-style-type: num;
}
.c-question__answer {
  display: flex;
  gap: 2rem;
  justify-content: center;
}
.c-question__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  aspect-ratio: 1/1;
  font-size: 1.6rem;
  background: #f2e22e;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.29);
  border-bottom: 3px solid #888;
  transition: 0.4s;
}
.c-question__btn:nth-child(1) {
  background: #f2902e;
}
.c-question__btn:nth-child(2) {
  background: #f2c12e;
}
.c-question__btn:hover {
  color: #fff;
  text-decoration: none;
  box-shadow: none;
  border-bottom: 0;
  transform: translateY(5px);
}
.c-question__answer-text {
  text-align: center;
}

.c-btn {
  background: lightblue;
  color: #fff;
  padding: 0 2em;
  border: 0;
  height: 60px;
  font-size: 32px;
  border-radius: 5px;
  font-weight: 700;
  position: relative;
  font-family: serif;
}
.c-btn:hover {
  background: lightcoral;
  cursor: pointer;
}

.c-modal {
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.5);
}
.c-modal__count {
  background: #fff;
  margin: 20% auto;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.17);
  -webkit-animation: modalopen 1s;
          animation: modalopen 1s;
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
  border-radius: 6px;
  overflow: hidden;
}
.c-modal__header {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}
.c-modal__title {
  font-size: 1.4rem;
}
.c-modal__body {
  display: grid;
  justify-content: center;
  grid-template-columns: 1fr 2fr;
  padding: 1rem;
}
.c-modal__answer {
  padding: 1rem;
}
.c-modal__answer-text {
  font-size: 1.4rem;
  font-weight: 700;
}
.c-modal__text {
  margin-top: 1rem;
}
.c-modal__close {
  font-size: 2rem;
  cursor: pointer;
}
.c-modal__footer {
  background: #fff;
  padding: 3px 15px;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #eee;
  padding: 1rem;
}
.c-modal__btn {
  background: #007bff;
  cursor: pointer;
  border: #007bff;
  color: #fff;
  padding: 0.6rem;
  border-radius: 5px;
}

@-webkit-keyframes modalopen {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalopen {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}