/* 重要用語を確認！ */
.back {
  background-image: url("../image/bg.png");
}

.hidden {
  display: none !important;
}

.footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 10px;
}

.btn-line {
  display: inline-block;
  padding: 0.3rem 1rem;

  font-weight: bold;
  text-decoration: none;
  text-align: center;
  color: #0091d4;
  background: #ffffff;
  border: solid 2px #0091d4;
  border-radius: 30px;
  opacity: 0.9;
  cursor: pointer;
  user-select: none;
}

.btn-fill {
  display: inline-block;
  padding: 0.5rem 2rem;

  font-weight: bold;
  text-decoration: none;
  text-align: center;
  color: #ffffff;
  background: #0091d4;
  border-radius: 30px;
  opacity: 0.9;
  cursor: pointer;
  user-select: none;
}

.btn-circle {
  display: inline-block;
  width: 4rem;
  height: 4rem;
  padding: 1.2rem 0;

  font-weight: bold;
  text-decoration: none;
  text-align: center;
  border-radius: 100%;
  opacity: 0.9;
  cursor: pointer;
  user-select: none;

  color: #ffffff;
  background: #333333;
}

.bg-fill {
  color: #ffffff;
  background: #0091d4;
}

.bg-outline {
  color: #0091d4;
  background: #ffffff;
  border: solid 2px #0091d4;
}

/* page-1 */
#frame-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;

  margin: 3rem;
}

#list-1 {
  width: 25%;
}
#list-2 {
  width: 60%;
}

.frame {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;

  border: solid 2px #0091d4;
  border-radius: 1rem;
}

.frame-header {
  text-align: center;
  margin: 0.05rem;
  padding: 0.75rem 0;
  background: #c2d9f2;
  border-radius: calc(1rem - 2px) calc(1rem - 2px) 0 0;
}

.frame-body {
  height: 70vh;
  overflow-y: auto;
  transform: translateZ(0);
  border-radius: 0 0 calc(1rem - 2px) calc(1rem - 2px);
}

@media screen and (max-width: 760px) {
  #frame-container {
    margin: 0;
  }

  #list-1 {
    width: 100%;
    height: 25vh;
  }
  #list-2 {
    width: 100%;
    height: 62vh;
  }

  .frame {
    border: none;
    border-radius: 0;
  }

  .frame-header {
    margin: 0;
    padding: 0.15rem 0;
    border-radius: 0;
  }

  .frame-body {
    border-radius: 0;
  }

  .sp-hidden {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  #list-1 {
    height: 23vh;
  }
  #list-2 {
    height: 47vh;
  }
  .frame-body {
    font-size: 0.75rem;
  }
}

/* page-2 */
#now-page-index {
  margin-top: 4rem;
}

.swiper-slide {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.word-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* align-items: center; */
  margin-left: auto;
  margin-right: auto;

  width: 70vw;
  height: 50vh;
  padding: 1rem;
  background: #ffffff;
  border: solid 1px #cccccc;
  border-radius: 1rem;
  overflow: auto;
}

.keyword-icon {
  margin-bottom: 1rem;
  padding: 0 0.5rem;
  color: #666;
  border: solid 1px #666;
  border-radius: 0.5rem;
}

.title {
  font-size: 2.5rem;
  font-weight: bold;
}

.explain {
  font-size: 1.3rem;
  font-weight: bold;
}

@media screen and (max-width: 480px) {
  #now-page-index {
    margin-top: 2rem;
  }

  .keyword-icon {
    font-size: 0.75rem;
  }

  .title {
    font-size: 1.25rem;
  }

  .explain {
    font-size: 1rem;
  }
}

/* チェックリスト */
.list-group-item {
  user-select: none;
  padding: 0.68rem;
  border: none;

  margin-bottom: -1px !important;
  border-radius: 0 !important;
}
.list-group input {
  display: none;
}
.list-group input + .list-group-item {
  cursor: pointer;
  background-color: transparent;
}
.list-group input:checked + .list-group-item {
  background-color: #0275d8;
  color: #fff;
}
.list-group input + .list-group-item:before {
  content: "\f0c8";
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  margin-right: 0.5em;
}
.list-group input:checked + .list-group-item:before {
  content: "\f14a";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 0.5em;
}
@media screen and (max-width: 480px) {
  #group-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
  }

  #group-list > .list-group-item {
    width: 50%;
  }
}

/* すべて選択 */
#all-select {
  display: none;
}
#all-label {
  display: block;
  cursor: pointer;
  user-select: none;
  padding: 0.75rem;
  margin-bottom: -1px;
}
#all-select:checked + #all-label {
  background-color: #cc00cc;
  color: #fff;
}
#all-select + #all-label:before {
  content: "\f0c8";
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  margin-right: 0.5em;
}
#all-select:checked + #all-label:before {
  content: "\f14a";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 0.5em;
}
