@charset "UTF-8";
.modal-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 10;
}
.modal-indicator .loader {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  font-size: 20px;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  text-indent: -9999em;
  -webkit-animation: load5 1.1s infinite ease;
  animation: load5 1.1s infinite ease;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
@-webkit-keyframes load5 {
  0%, 100% {
    box-shadow: 0em -2.6em 0em 0em #ffffff, 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.5), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7);
  }
  12.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.7), 1.8em -1.8em 0 0em #ffffff, 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5);
  }
  25% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.5), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7), 2.5em 0em 0 0em #ffffff, 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  37.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5), 2.5em 0em 0 0em rgba(255, 255, 255, 0.7), 1.75em 1.75em 0 0em #ffffff, 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.5), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.7), 0em 2.5em 0 0em #ffffff, -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  62.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.5), 0em 2.5em 0 0em rgba(255, 255, 255, 0.7), -1.8em 1.8em 0 0em #ffffff, -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  75% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.5), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.7), -2.6em 0em 0 0em #ffffff, -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  87.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.5), -2.6em 0em 0 0em rgba(255, 255, 255, 0.7), -1.8em -1.8em 0 0em #ffffff;
  }
}
@keyframes load5 {
  0%, 100% {
    box-shadow: 0em -2.6em 0em 0em #ffffff, 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.5), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7);
  }
  12.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.7), 1.8em -1.8em 0 0em #ffffff, 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5);
  }
  25% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.5), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7), 2.5em 0em 0 0em #ffffff, 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  37.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5), 2.5em 0em 0 0em rgba(255, 255, 255, 0.7), 1.75em 1.75em 0 0em #ffffff, 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.5), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.7), 0em 2.5em 0 0em #ffffff, -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  62.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.5), 0em 2.5em 0 0em rgba(255, 255, 255, 0.7), -1.8em 1.8em 0 0em #ffffff, -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  75% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.5), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.7), -2.6em 0em 0 0em #ffffff, -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  87.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.5), -2.6em 0em 0 0em rgba(255, 255, 255, 0.7), -1.8em -1.8em 0 0em #ffffff;
  }
}

.modal-dialog {
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 20;
  font-size: 1rem;
}
.modal-dialog .dialog {
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  /* Safari用 */
  transform: translateY(-50%);
  left: 0;
  right: 0;
  margin: auto;
  width: 90%;
  min-height: 20rem;
  max-width: 36rem;
  max-height: 90%;
  background-color: white;
  border: none;
  border-radius: 0.4rem;
  display: flex;
  flex-direction: column;
  padding: 0 1.5rem;
}
.modal-dialog .dialog .header {
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1.5;
  padding: 0.7rem 0;
  color: black;
}
.modal-dialog .dialog .body {
  flex: 1;
  min-height: 0;
  white-space: pre-wrap;
  line-height: 1.4;
}
.modal-dialog .dialog .body .message {
  padding: 0.5rem 0;
}
.modal-dialog .dialog .body .message a {
  color: #0097A7;
}
.modal-dialog .dialog .body .details-container {
  margin: 1rem 0;
}
.modal-dialog .dialog .body .details-container button.toggle-details {
  display: flex;
  justify-content: center;
}
.modal-dialog .dialog .body .details-container button.toggle-details svg {
  width: 1rem;
}
.modal-dialog .dialog .body .details-container .details {
  font-size: 0.8rem;
  white-space: pre-wrap;
  background-color: #F0F0F0;
}
.modal-dialog .dialog .footer {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding: 0.5rem 0;
}
.modal-dialog .dialog .footer button {
  font-size: 1rem;
  font-weight: bold;
  line-height: 2.5;
  background: none;
  color: #0097A7;
}
.modal-dialog .dialog .footer button.cancel {
  color: rgba(0, 0, 0, 0.6);
}
.modal-dialog .dialog .footer button.destructive-change {
  color: #ff6347;
}
.modal-dialog .dialog .footer button:not(:last-child) {
  margin-right: 1.5rem;
}

.svg-icon {
  width: 1.7rem;
  height: 1.7rem;
  flex-shrink: 0;
}

.svg-button {
  width: 1.7rem;
  height: 1.7rem;
  flex-shrink: 0;
}
.svg-button svg {
  width: 100%;
  height: 100%;
}

.search-box {
  display: flex;
  align-items: center;
  border-radius: 5px;
  border: solid 1px rgba(0, 0, 0, 0.2);
  padding: 0.2em 0.3em;
}
.search-box svg {
  color: rgba(0, 0, 0, 0.6);
}
.search-box input[type=text] {
  border: none;
  -webkit-appearance: none;
  appearance: none;
  padding: 0 2px;
  height: auto;
  font-size: 0.9rem;
  width: 100%;
}
.search-box .clear-button {
  margin-left: auto;
}

.user-icon img {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  vertical-align: middle;
}
.user-icon svg {
  vertical-align: middle;
}

.popup-base {
  z-index: 5;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
}
.popup-base:before {
  content: "";
  display: block;
  height: env(safe-area-inset-top);
}
.popup-base:after {
  content: "";
  display: block;
  height: env(safe-area-inset-bottom);
}
.popup-base > .safe-area {
  flex: 1;
  min-height: 0;
  position: relative;
}
.popup-base > .safe-area > .popup {
  position: absolute;
  top: 3%;
  left: 0;
  right: 0;
  background-color: white;
  margin: auto;
  width: 90%;
  max-width: 30rem;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 2px 2px 6px 1px rgba(0, 0, 0, 0.3);
}
.popup-base > .safe-area > .popup.vertical-center {
  top: 50%;
  -webkit-transform: translateY(-50%);
  /* Safari用 */
  transform: translateY(-50%);
}
.popup-base > .safe-area > .popup > *:first-child {
  border-radius: 8px 8px 0 0;
}
.popup-base > .safe-area > .popup > *:last-child {
  border-radius: 0 0 8px 8px;
}

.loop-tab-bar {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #0097A7;
}
.loop-tab-bar .scroll-box {
  display: flex;
}
.loop-tab-bar .scroll-box.scroll-animation {
  transition: transform 0.3s;
}
.loop-tab-bar .scroll-box .button-container {
  display: flex;
  flex-shrink: 0;
  min-width: 100%;
  min-height: 1.4em;
}
.loop-tab-bar .scroll-box .button-container button {
  user-select: none;
  flex-grow: 1;
  font-size: 0.9rem;
  font-weight: bold;
  padding: 6px 16px;
  display: flex;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
}
.loop-tab-bar .scroll-box .button-container button.selected {
  border-bottom: 3px solid #A70096;
  color: white;
}
.loop-tab-bar .scroll-box .button-container button .button-label {
  text-align: center;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  max-width: 160px;
}

.main-view > .skin {
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.main-view > .container {
  max-width: 1000px;
  height: 100%;
  display: flex;
  margin-left: auto;
  margin-right: auto;
  overflow-x: hidden;
}
@media screen and (min-width: 900px) {
  .main-view > .container .right-col {
    flex: 1;
    min-width: 0;
  }
  .main-view > .container .menu-container {
    width: 240px;
  }
}
@media screen and (max-width: 899px) {
  .main-view > .container .right-col {
    width: 100%;
    flex-shrink: 0;
  }
  .main-view > .container .menu-container {
    z-index: 2;
    position: absolute;
    width: 260px;
    height: 100%;
    right: 0;
    transition: transform 0.3s;
    transform: translateX(100%);
    will-change: transform;
  }
  .main-view > .container .menu-container.appear {
    transform: translateX(0);
  }
}

.top-view {
  background-color: #0097A7;
  color: white;
}
.top-view .container {
  position: relative;
  top: 40%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  max-width: 22rem;
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.top-view .container .title {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 5rem;
}
.top-view .container .btn-login {
  background-color: white;
  color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  width: 100%;
  max-width: 17em;
  margin-bottom: 1.8rem;
  padding: 0.7em 0;
}
.top-view .container .btn-login img {
  height: 1.4rem;
  margin-right: 0.7rem;
}
.top-view .container .local-container {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}
.top-view .container .local-container button.help {
  margin-left: 0.5rem;
  width: 1.5rem;
  height: 1.5rem;
}
.top-view .container .local-container button.help svg {
  width: 100%;
  height: 100%;
}

.add-word-list-dialog .popup {
  display: flex;
  flex-flow: column;
}
.add-word-list-dialog .popup .title {
  background-color: #0097A7;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.7rem 1rem;
}
.add-word-list-dialog .popup .main {
  flex: 1;
  min-height: 0;
  padding: 0 1rem;
}
.add-word-list-dialog .popup .main .block {
  padding: 1rem 0;
}
.add-word-list-dialog .popup .main input[type=text].name {
  width: 100%;
}
.add-word-list-dialog .popup .main .sub-note {
  margin-top: 0.5rem;
}
.add-word-list-dialog .popup .main select {
  width: 100%;
}
.add-word-list-dialog .popup .main .caption {
  font-weight: bold;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.7);
}
.add-word-list-dialog .popup .main .language-setting {
  margin: 1rem 0;
  width: 100%;
}
.add-word-list-dialog .popup .main .language-setting th, .add-word-list-dialog .popup .main .language-setting td {
  vertical-align: middle;
}
.add-word-list-dialog .popup .main .language-setting td.arrow {
  text-align: center;
  padding: 0.5rem 0;
}
.add-word-list-dialog .popup .footer {
  display: flex;
  padding: 1rem;
  justify-content: center;
}
.add-word-list-dialog .popup .footer button:not(:last-child) {
  margin-right: 1.5rem;
}

.list-management-row {
  padding: 0 0.8rem 1.6rem 0.8rem;
  display: flex;
  align-items: center;
}
.list-management-row svg {
  color: rgba(0, 0, 0, 0.7);
}
.list-management-row .trash {
  margin-right: 10px;
}
.list-management-row .card {
  flex: 1;
  min-width: 0;
  background-color: white;
  border-radius: 5px;
  display: flex;
  align-items: center;
  padding: 1rem 0.5rem;
  box-shadow: 2px 2px 6px 1px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.list-management-row .card .name {
  font-size: 1.1rem;
  flex: 1;
  min-width: 0;
  margin-right: 12px;
}
.list-management-row .card button:not(:last-child) {
  margin-right: 12px;
}

.list-management-view {
  z-index: 3;
  background-color: #F0F0F0;
  display: flex;
  flex-direction: column;
}
.list-management-view .header-container {
  padding-top: env(safe-area-inset-top);
  background-color: #0097A7;
  color: white;
}
.list-management-view .header-container .header {
  padding: 0.5rem 0.5rem;
  min-height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.list-management-view .header-container .header .title {
  font-weight: bold;
  font-size: 1.1rem;
}
@media screen and (min-width: 900px) {
  .list-management-view .header-container .header .menu-button {
    visibility: hidden;
  }
}
.list-management-view .control {
  padding: 1rem 0.6rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.list-management-view .control button:not(:last-child) {
  margin-right: 1.5rem;
}
.list-management-view .list-container {
  flex: 1;
  min-height: 0;
}
.list-management-view .list-container .list-management-row {
  width: 100%;
  transition: all 0.4s ease;
}
.list-management-view .list-container .lists-enter-from, .list-management-view .list-container .lists-leave-to {
  opacity: 0;
}
.list-management-view .list-container .lists-leave-active {
  position: absolute;
  width: 100%;
}
.list-management-view .footer-container {
  padding-bottom: env(safe-area-inset-bottom);
}
.list-management-view .footer-container .footer {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.5rem;
  justify-content: center;
}
.list-management-view .footer-container .footer button:not(:last-child) {
  margin-right: 1.5rem;
}

.word-detail-view {
  background-color: rgba(0, 0, 0, 0.6);
}
.word-detail-view .popup {
  display: flex;
  flex-direction: column;
}
.word-detail-view .popup .header {
  display: flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  background-color: #0097A7;
  color: white;
}
.word-detail-view .popup .header .word {
  flex: 1;
  min-width: 0;
  font-weight: bold;
  font-size: 1.1rem;
  border: solid 1px rgba(255, 255, 255, 0.4);
  margin-right: 0.5rem;
  caret-color: white;
}
.word-detail-view .popup > hr {
  margin: 0 0.5rem;
}
.word-detail-view .popup .main {
  flex: 1;
  min-height: 0;
  font-size: 1rem;
  padding: 0 0.5rem;
}
.word-detail-view .popup .main .block {
  padding: 0.5rem 0;
}
.word-detail-view .popup .main .caption-row {
  display: flex;
  align-items: center;
}
.word-detail-view .popup .main .caption-row .caption {
  font-weight: bold;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.7);
}
.word-detail-view .popup .main .caption-row .translation {
  margin-left: auto;
}
.word-detail-view .popup .main .description-container {
  position: relative;
  width: 100%;
  max-height: 320px;
  border: solid 1px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}
.word-detail-view .popup .main .description-container .description {
  box-sizing: border-box;
  padding: 0.6rem;
  font-size: 1rem;
}
.word-detail-view .popup .main .description-container .description.guide {
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  visibility: hidden;
}
.word-detail-view .popup .main .description-container .description.input {
  border: none;
  resize: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  font: inherit;
  letter-spacing: inherit;
  display: block;
}
.word-detail-view .popup .main .link-container {
  display: flex;
  flex-wrap: wrap;
}
.word-detail-view .popup .main .link-container a:not(:last-child) {
  margin-right: 1rem;
}
.word-detail-view .popup .main .dictionary-link {
  display: flex;
  align-items: center;
  color: #0097A7;
  line-height: 2.2;
}
.word-detail-view .popup .main .dictionary-link svg {
  width: 1.2rem;
  height: 1.2rem;
}
.word-detail-view .popup .main .delete-row {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}
.word-detail-view .popup .main .delete-row .delete {
  display: flex;
  align-items: center;
  color: #ff6347;
}
.word-detail-view .popup .footer {
  position: relative;
}
.word-detail-view .popup .footer .button-container {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.5rem;
  justify-content: center;
}
.word-detail-view .popup .footer .button-container button:not(:last-child) {
  margin-right: 1.5rem;
}
.word-detail-view .popup .footer .button-container .accept-change:disabled {
  opacity: 0.2;
}
.word-detail-view .popup .footer .trash {
  position: absolute;
  right: 1rem;
  top: 0;
  height: 100%;
}

.add-word-box {
  background-color: rgba(0, 0, 0, 0.75);
  padding-top: env(safe-area-inset-top);
}
.add-word-box .top-container {
  display: flex;
  align-items: center;
  padding: 0.8rem 0.4rem;
  max-width: 50rem;
  margin: auto;
}
.add-word-box .top-container button {
  color: white;
  margin-right: 0.5rem;
}
.add-word-box .top-container .input-area {
  flex: 1;
  min-width: 0;
}
.add-word-box .top-container .input-area .word-container {
  position: relative;
  width: 100%;
}
.add-word-box .top-container .input-area .word-container .word {
  box-sizing: border-box;
  border: none;
  padding: 0.6rem;
  font-size: 1rem;
  border-radius: 5px;
}
.add-word-box .top-container .input-area .word-container .textarea-guide {
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  visibility: hidden;
}
.add-word-box .top-container .input-area .word-container .text-input {
  resize: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  font: inherit;
  letter-spacing: inherit;
  display: block;
}
.add-word-box .top-container .input-area .suggestion-container {
  position: absolute;
  z-index: 3;
  background-color: white;
  border-radius: 8px;
  width: calc(100% - 3rem);
  overflow-y: scroll;
  padding-bottom: 50vh;
  max-width: 47rem;
}
.add-word-box .top-container .input-area .suggestion-container > div {
  padding: 0.5rem 0.5rem;
}
.add-word-box .guide-message {
  color: white;
  padding: 1rem;
  text-align: center;
}

.word-row:nth-child(even) {
  background-color: #F0F0F0;
}
.word-row .main {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.7rem;
}
.word-row .main input[type=checkbox] {
  margin-right: 0.5rem;
}
.word-row .main .word {
  flex: 1;
  min-width: 0;
  word-break: break-word;
  cursor: pointer;
}
.word-row .main .word.has-description {
  color: #A70096;
  text-decoration: underline;
}
.word-row .main .right-box {
  margin-left: auto;
  display: flex;
  align-items: center;
  color: rgba(0, 0, 0, 0.7);
}
.word-row .main .right-box .svg-button {
  margin-left: 1rem;
}
.word-row hr {
  margin: 0 0.6rem;
}

.word-list-view {
  display: flex;
  flex-direction: column;
}
.word-list-view .row {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.7rem;
}
.word-list-view .count-area {
  display: flex;
  align-items: center;
  margin-right: 0.7rem;
}
.word-list-view .count-area > *:not(:last-child) {
  margin-right: 0.2rem;
}
.word-list-view .count-area .check {
  width: 1rem;
  height: 1rem;
}
.word-list-view .count-area .separator {
  padding: 0 0.1em;
}
.word-list-view .search-box {
  flex: 1;
  min-width: 0;
}
.word-list-view .sound-button {
  margin-left: 0.7rem;
}
.word-list-view .sound-button.play {
  color: #0097A7;
}
.word-list-view .sound-button.stop {
  color: #ff6347;
}
.word-list-view .list-container {
  flex: 1;
  min-height: 0;
  padding-bottom: calc(6rem + env(safe-area-inset-bottom));
  position: relative;
}
.word-list-view .list-container.animation-enabled .word-row {
  transition: all 0.4s ease;
}
.word-list-view .list-container.animation-enabled .word-list-enter-from {
  transform: translateY(-100%);
}
.word-list-view .list-container.animation-enabled .word-list-leave-to {
  opacity: 0;
}
.word-list-view .list-container.animation-enabled .word-list-leave-active {
  position: absolute;
  width: 100%;
}
.word-list-view .list-container .empty-message {
  padding: 0 1.5rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.6);
  position: relative;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}

.word-list-container {
  width: 100%;
  height: 100%;
  position: relative;
  background-color: white;
}
.word-list-container > .main {
  margin: auto;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.word-list-container > .main > .header-container {
  padding-top: env(safe-area-inset-top);
  background-color: #0097A7;
  color: white;
}
.word-list-container > .main > .header-container .header {
  padding: 0.5rem 0.5rem;
  min-height: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.word-list-container > .main > .header-container .header > .title {
  font-weight: bold;
  font-size: 1.1rem;
}
@media screen and (min-width: 900px) {
  .word-list-container > .main > .header-container .header .menu-button {
    visibility: hidden;
  }
}
.word-list-container > .main > .pager {
  flex: 1;
  min-height: 0;
}
.word-list-container .add-button {
  position: absolute;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  right: 1rem;
  width: 60px;
  height: 60px;
  background-color: #A70096;
  color: white;
  text-align: center;
  font-size: 32px;
  border-radius: 999px;
}

.menu-view {
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  flex-direction: column;
}
.menu-view > .header-container {
  padding-top: env(safe-area-inset-top);
  background-color: #0097A7;
  color: white;
}
.menu-view > .header-container .header {
  padding: 0.5rem 0.5rem;
  min-height: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.menu-view > .header-container .header .user-info {
  display: flex;
  align-items: center;
  font-weight: bold;
}
.menu-view > .header-container .header .user-info .user-icon {
  margin-right: 0.5rem;
}
.menu-view > .header-container .header .sign-in {
  display: flex;
  align-items: center;
  font-weight: bold;
}
.menu-view > .header-container .header .sign-in svg {
  width: 1.4rem;
  height: 1.4rem;
  margin-right: 0.3rem;
}
@media screen and (min-width: 900px) {
  .menu-view > .header-container .header .close {
    visibility: hidden;
  }
}
.menu-view .menu-list {
  flex: 1;
  min-height: 0;
  font-size: 1rem;
  padding: 0 0.5rem;
}
.menu-view .menu-list .block:first-child {
  margin-top: 0.5rem;
}
.menu-view .menu-list .block:not(:last-child) {
  margin-bottom: 1rem;
}
.menu-view .menu-list .block h2 {
  font-size: 0.8rem;
  padding: 0.5rem 0;
  color: rgba(0, 0, 0, 0.6);
}
.menu-view .menu-list .block > button {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  width: 100%;
}
.menu-view .menu-list .block > button svg {
  color: #0097A7;
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.3rem;
}
.menu-view .footer {
  padding: 0.7rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.2);
}

.help-view {
  background-color: #F0F0F0;
  z-index: 3;
  display: flex;
  flex-direction: column;
}
.help-view .header-container {
  padding-top: env(safe-area-inset-top);
  background-color: #0097A7;
  color: white;
}
.help-view .header-container .header {
  padding: 0.5rem 0.5rem;
  min-height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.help-view .header-container .header > .title {
  font-weight: bold;
  font-size: 1.1rem;
}
.help-view > .main {
  flex: 1;
  min-height: 0;
}
.help-view > .main .help-item {
  font-size: 0.9rem;
  margin: 0 0.5rem;
  padding: 0.7rem 0;
  display: flex;
  align-items: center;
  border-bottom: solid 1px rgba(0, 0, 0, 0.2);
}
.help-view > .main .help-item svg {
  color: rgba(0, 0, 0, 0.7);
  margin-left: auto;
  width: 1.3rem;
  height: 1.3rem;
}
.help-view .footer-container {
  margin-bottom: env(safe-area-inset-bottom);
}
.help-view .footer-container .footer {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.5rem;
  justify-content: center;
}
.help-view .footer-container .footer button:not(:last-child) {
  margin-right: 1.5rem;
}

.list-setting-view {
  background-color: #F0F0F0;
  z-index: 3;
  display: flex;
  flex-direction: column;
}
.list-setting-view .header-container {
  padding-top: env(safe-area-inset-top);
  background-color: #0097A7;
  color: white;
}
.list-setting-view .header-container .header {
  padding: 0.5rem 0.5rem;
  min-height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.list-setting-view .header-container .header > .title {
  font-weight: bold;
  font-size: 1.1rem;
}
.list-setting-view > .main {
  flex: 1;
  min-height: 0;
}
.list-setting-view > .main .block {
  background-color: white;
  padding: 1rem 1rem;
  margin: 1rem 0;
}
.list-setting-view > .main .block .row {
  display: flex;
  align-items: center;
}
.list-setting-view > .main .block .row > .caption {
  width: 40%;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.7);
}
.list-setting-view > .main .block .row > .value {
  flex: 1;
  min-width: 0;
}
.list-setting-view > .main .block .row > .value > input, .list-setting-view > .main .block .row > .value select {
  width: 100%;
}
.list-setting-view > .main .block hr {
  margin: 1rem 0;
}
.list-setting-view > .main .block .arrow {
  text-align: center;
}
.list-setting-view > .main .block .sub-note {
  margin-top: 0.5rem;
}
.list-setting-view > .main .delete-area {
  margin: 3rem 0;
  display: flex;
  justify-content: center;
}
.list-setting-view > .main .delete-area button {
  color: #ff6347;
  display: flex;
  align-items: center;
}
.list-setting-view .footer-container {
  margin-bottom: env(safe-area-inset-bottom);
}
.list-setting-view .footer-container .footer {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.5rem;
  justify-content: center;
}
.list-setting-view .footer-container .footer button:not(:last-child) {
  margin-right: 1.5rem;
}

.sort-order-dialog .popup {
  display: flex;
  flex-flow: column;
}
.sort-order-dialog .popup .title {
  background-color: #0097A7;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.7rem 1rem;
}
.sort-order-dialog .popup .main {
  flex: 1;
  min-height: 0;
  padding: 0 1rem;
}
.sort-order-dialog .popup .main .sort-option {
  padding: 1rem 0;
}
.sort-order-dialog .popup .footer {
  display: flex;
  padding: 1rem;
  justify-content: center;
}
.sort-order-dialog .popup .footer button:not(:last-child) {
  margin-right: 1.5rem;
}

.language-select-view {
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  background-color: #0097A7;
  color: white;
}
.language-select-view .container {
  max-width: 40rem;
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
}
.language-select-view .caption {
  font-size: 1.2rem;
  font-weight: bold;
  padding: 1rem 0;
  text-align: center;
}
.language-select-view select {
  margin: 0 1rem 1rem 1rem;
  border: none;
  color: rgba(0, 0, 0, 0.8);
}
.language-select-view .language-box {
  flex: 1;
  min-height: 0;
  background-color: white;
  margin: 0 1rem;
  border-radius: 8px;
  color: rgba(0, 0, 0, 0.8);
  padding: 0.5rem 0;
}
.language-select-view .language-box .language-row {
  padding: 0.5rem 0.5rem;
}
.language-select-view .language-box .language-row.selected {
  background-color: #F0F0F0;
}
.language-select-view .footer {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  justify-content: center;
}
.language-select-view .footer .footer-button.ok {
  background-color: #A70096;
}
.language-select-view .footer .footer-button:not(:last-child) {
  margin-right: 1.5rem;
}

.vocabulary-test-question {
  z-index: 3;
  background-color: #F0F0F0;
  display: flex;
  flex-direction: column;
}
.vocabulary-test-question .header-container {
  padding-top: env(safe-area-inset-top);
  background-color: #A70096;
  color: white;
}
.vocabulary-test-question .header-container .header {
  padding: 0.5rem 0.5rem;
  min-height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.vocabulary-test-question .header-container .header .title {
  font-weight: bold;
  font-size: 1.1rem;
}
.vocabulary-test-question .main {
  flex: 1;
  min-height: 0;
  background-color: #F0F0F0;
}
.vocabulary-test-question .main .number {
  text-align: center;
  padding: 1rem;
}
.vocabulary-test-question .main .message {
  font-size: 2rem;
  margin: 0rem 1rem;
  padding: 1.5rem;
  border-radius: 8px;
  background-color: white;
  text-align: center;
}
.vocabulary-test-question .answer {
  padding: 1rem;
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
}
.vocabulary-test-question .answer svg:not(:last-child) {
  margin-right: 2rem;
}
.vocabulary-test-question .answer svg {
  width: 8rem;
  height: 8rem;
}
.vocabulary-test-question .answer svg.check {
  color: #39ac48;
}
.vocabulary-test-question .answer svg.cross {
  color: #ff6347;
}
.vocabulary-test-question .footer-container {
  padding-bottom: env(safe-area-inset-bottom);
}
.vocabulary-test-question .footer-container .footer {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.5rem;
  justify-content: center;
}
.vocabulary-test-question .footer-container .footer button:not(:last-child) {
  margin-right: 1.5rem;
}

.vocabulary-test-result {
  z-index: 3;
  background-color: #F0F0F0;
  display: flex;
  flex-direction: column;
}
.vocabulary-test-result .header-container {
  padding-top: env(safe-area-inset-top);
  background-color: #A70096;
  color: white;
}
.vocabulary-test-result .header-container .header {
  padding: 0.5rem 0.5rem;
  min-height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.vocabulary-test-result .header-container .header .title {
  font-weight: bold;
  font-size: 1.1rem;
}
.vocabulary-test-result .main {
  flex: 1;
  min-height: 0;
}
.vocabulary-test-result .main .level {
  font-size: 2rem;
  text-align: center;
  font-weight: bold;
  padding: 1.5rem 0;
}
.vocabulary-test-result .main .number {
  text-align: center;
  margin-bottom: 3rem;
}
.vocabulary-test-result .main .download-prompt {
  text-align: center;
  padding: 1rem;
}
.vocabulary-test-result .footer-container {
  padding-bottom: env(safe-area-inset-bottom);
}
.vocabulary-test-result .footer-container .footer {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.5rem;
  justify-content: center;
}
.vocabulary-test-result .footer-container .footer button:not(:last-child) {
  margin-right: 1.5rem;
}

.vocabulary-test-view {
  z-index: 3;
  background-color: #F0F0F0;
  display: flex;
  flex-direction: column;
}
.vocabulary-test-view .header-container {
  padding-top: env(safe-area-inset-top);
  background-color: #A70096;
  color: white;
}
.vocabulary-test-view .header-container .header {
  padding: 0.5rem 0.5rem;
  min-height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.vocabulary-test-view .header-container .header .title {
  font-weight: bold;
  font-size: 1.1rem;
}
.vocabulary-test-view .main {
  flex: 1;
  min-height: 0;
  background-color: #F0F0F0;
}
.vocabulary-test-view .main .message {
  margin: 2rem 1rem;
  padding: 1.5rem;
  border-radius: 8px;
  background-color: white;
}
.vocabulary-test-view .main .note {
  font-size: 0.9rem;
  margin: 1rem;
}
.vocabulary-test-view .main svg {
  width: 2rem;
  height: 2rem;
  vertical-align: middle;
}
.vocabulary-test-view .main svg.check {
  color: #39ac48;
}
.vocabulary-test-view .main svg.cross {
  color: #ff6347;
}
.vocabulary-test-view .footer-container {
  padding-bottom: env(safe-area-inset-bottom);
}
.vocabulary-test-view .footer-container .footer {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.5rem;
  justify-content: center;
}
.vocabulary-test-view .footer-container .footer button:not(:last-child) {
  margin-right: 1.5rem;
}

.download-list-view {
  z-index: 3;
  display: flex;
  flex-direction: column;
  background-color: white;
}
.download-list-view .header-container {
  padding-top: env(safe-area-inset-top);
  background-color: #0097A7;
  color: white;
}
.download-list-view .header-container .header {
  padding: 0.5rem 0.5rem;
  min-height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.download-list-view .header-container .header .title {
  font-weight: bold;
  font-size: 1.1rem;
}
.download-list-view .control {
  padding: 1rem;
  display: flex;
  align-items: center;
}
.download-list-view .control .title {
  font-weight: bold;
}
.download-list-view .control .test {
  font-weight: bold;
  margin-left: auto;
  color: #0097A7;
}
.download-list-view .list-container {
  flex: 1;
  min-height: 0;
}
.download-list-view .list-container .list-row {
  border-bottom: solid 1px rgba(0, 0, 0, 0.2);
}
.download-list-view .list-container .list-row label {
  display: flex;
  padding: 0.6rem 0.7rem;
  width: 100%;
  align-items: center;
}
.download-list-view .list-container .list-row label .list-size {
  margin-left: auto;
  font-size: 0.9rem;
}
.download-list-view .list-container .list-row.selected {
  background-color: #F0F0F0;
}
.download-list-view .footer-container {
  padding-bottom: env(safe-area-inset-bottom);
}
.download-list-view .footer-container .footer {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.5rem;
  justify-content: center;
}
.download-list-view .footer-container .footer button:not(:last-child) {
  margin-right: 1.5rem;
}

.purchase-dialog .popup {
  display: flex;
  flex-flow: column;
}
.purchase-dialog .popup .title {
  background-color: #0097A7;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.7rem 1rem;
  text-align: center;
}
.purchase-dialog .popup .main {
  flex: 1;
  min-height: 0;
  padding: 1.5rem 1.2rem 4rem 1.2rem;
  text-align: center;
}
.purchase-dialog .popup .main .description {
  margin-bottom: 1rem;
}
.purchase-dialog .popup .main .price .value {
  font-size: 2.5rem;
  font-weight: bold;
  margin-right: 0.5rem;
}
.purchase-dialog .popup .main .price .unit {
  font-size: 1rem;
}
.purchase-dialog .popup .main .restore {
  color: #A70096;
  padding: 0.5rem;
}
.purchase-dialog .popup .main .link-area {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}
.purchase-dialog .popup .main .link-area a {
  color: #0097A7;
  line-height: 2;
}
.purchase-dialog .popup .footer {
  display: flex;
  padding: 1rem;
  justify-content: center;
}
.purchase-dialog .popup .footer button:not(:last-child) {
  margin-right: 1.5rem;
}

.review-dialog .popup {
  display: flex;
  flex-flow: column;
}
.review-dialog .popup > .title {
  background-color: #0097A7;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.7rem 1rem;
  text-align: center;
}
.review-dialog .popup > .main {
  flex: 1;
  min-height: 0;
  padding: 0 1.5rem;
  text-align: center;
}
.review-dialog .popup > .main .description {
  padding: 1rem 0;
}
.review-dialog .popup > .main .note {
  display: flex;
  align-items: center;
  padding: 1rem 0;
}
.review-dialog .popup > .footer {
  display: flex;
  padding: 1rem;
  justify-content: center;
}

.setting-view {
  background-color: #F0F0F0;
  z-index: 3;
  display: flex;
  flex-direction: column;
}
.setting-view .header-container {
  padding-top: env(safe-area-inset-top);
  background-color: #0097A7;
  color: white;
}
.setting-view .header-container .header {
  padding: 0.5rem 0.5rem;
  min-height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.setting-view .header-container .header > .title {
  font-weight: bold;
  font-size: 1.1rem;
}
.setting-view > .main {
  flex: 1;
  min-height: 0;
}
.setting-view > .main .block {
  background-color: white;
  padding: 1rem 1rem;
  margin: 1rem 0;
}
.setting-view > .main .block .row {
  display: flex;
  align-items: center;
}
.setting-view > .main .block .row:not(:last-child) {
  margin-bottom: 1rem;
}
.setting-view > .main .block .row > .caption {
  width: 40%;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.7);
}
.setting-view > .main .block .row > .caption-line {
  font-weight: bold;
  color: rgba(0, 0, 0, 0.7);
}
.setting-view > .main .block .row > .value {
  flex: 1;
  min-width: 0;
}
.setting-view > .main .block .row > .value > input, .setting-view > .main .block .row > .value select {
  width: 100%;
}
.setting-view > .main .block hr {
  margin: 1rem 0;
}
.setting-view > .main .block .arrow {
  text-align: center;
}
.setting-view > .main .block .sub-note {
  margin-top: 0.5rem;
}
.setting-view .footer-container {
  margin-bottom: env(safe-area-inset-bottom);
}
.setting-view .footer-container .footer {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.5rem;
  justify-content: center;
}
.setting-view .footer-container .footer button:not(:last-child) {
  margin-right: 1.5rem;
}

.ad-optimize-dialog .popup {
  display: flex;
  flex-flow: column;
}
.ad-optimize-dialog .popup .title {
  background-color: #0097A7;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.7rem 1rem;
  text-align: center;
}
.ad-optimize-dialog .popup .main {
  flex: 1;
  min-height: 0;
  padding: 1.5rem 1.2rem;
  text-align: center;
}
.ad-optimize-dialog .popup .main .description {
  white-space: pre-wrap;
}
.ad-optimize-dialog .popup .footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  justify-content: center;
}
.ad-optimize-dialog .popup .footer .footer-button {
  width: 90%;
  max-width: 20rem;
}
.ad-optimize-dialog .popup .footer button:not(:last-child) {
  margin-bottom: 1.5rem;
}

.speech-test-view {
  z-index: 3;
  display: flex;
  flex-direction: column;
  background-color: white;
}
.speech-test-view .header-container {
  padding-top: env(safe-area-inset-top);
  background-color: #0097A7;
  color: white;
}
.speech-test-view .header-container .header {
  padding: 0.5rem 0.5rem;
  min-height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.speech-test-view .header-container .header .title {
  font-weight: bold;
  font-size: 1.1rem;
}
.speech-test-view .control {
  padding: 0.5rem;
  border-bottom: solid 1px rgba(0, 0, 0, 0.2);
}
.speech-test-view .control .language {
  width: 100%;
}
.speech-test-view .list-container {
  flex: 1;
  min-height: 0;
  align-items: center;
}
.speech-test-view .list-container .list-row {
  border-bottom: solid 1px rgba(0, 0, 0, 0.2);
  margin-left: 0.5rem;
  padding: 0.5rem;
  display: flex;
}
.speech-test-view .list-container .list-row .info {
  flex: 1;
  min-width: 0;
}
.speech-test-view .list-container .list-row .info .name {
  font-weight: bold;
}
.speech-test-view .list-container .list-row .info .uri {
  font-size: 0.8rem;
}
.speech-test-view .list-container .list-row .info .default {
  color: #0097A7;
}
.speech-test-view .footer-container {
  padding-bottom: env(safe-area-inset-bottom);
}
.speech-test-view .footer-container .footer {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.5rem;
  justify-content: center;
}
.speech-test-view .footer-container .footer button:not(:last-child) {
  margin-right: 1.5rem;
}

.switch {
  display: inline-block;
}
.switch input[type=checkbox] {
  position: absolute;
  margin-left: -9999px;
  visibility: hidden;
}
.switch label {
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  user-select: none;
  padding: 2px;
  width: 60px;
  height: 30px;
  background-color: #d0d0d0;
  border-radius: 30px;
  transition: background 0.4s;
}
.switch label:before, .switch label:after {
  display: block;
  position: absolute;
  content: "";
}
.switch label:before {
  top: 2px;
  left: 2px;
  bottom: 2px;
  right: 2px;
  background-color: #fff;
  border-radius: 30px;
  transition: background 0.4s;
}
.switch label:after {
  top: 4px;
  left: 4px;
  bottom: 4px;
  width: 22px;
  background-color: #d0d0d0;
  border-radius: 22px;
  transition: margin 0.4s, background 0.4s;
}
.switch input:checked + label {
  background-color: #0097A7;
}
.switch input:checked + label:after {
  margin-left: 30px;
  background-color: #0097A7;
}

body {
  font-family: "Lato", "Roboto", "Meiryo", sans-serif;
  color: rgba(0, 0, 0, 0.8);
  font-size: 1rem;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
}
@media screen and (max-width: 899px) {
  html, body {
    background-color: #0097A7;
  }
}

hr {
  color: rgba(0, 0, 0, 0.2);
}

.screen {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.scrollable {
  overflow-y: scroll;
  position: relative;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

input[type=text], input[type=password], input[type=number], input[type=email], input[type=url], textarea, select {
  border: solid 1px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  padding: 0.4rem;
}

button.round {
  border-radius: 999px;
  padding: 0.7em 2em;
}

.drop-shadow {
  box-shadow: 2px 2px 6px 1px rgba(0, 0, 0, 0.3);
}

select.common {
  background-image: url("/svg/chevron-down.svg");
  background-position: right 10px center;
  background-repeat: no-repeat;
  background-size: 13px 13px;
  background-color: white;
}

/* Checkbox, Radio */
input[type=checkbox], input[type=radio] {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  position: relative;
  transition: all 0.15s ease-out 0s;
  color: white;
  cursor: pointer;
  display: inline-block;
  margin-right: 0.3rem;
  outline: none;
  flex-shrink: 0;
}

/* Radio */
input[type=radio] {
  border-radius: 50%;
  border: 2px solid #0097A7;
  height: 18px;
  width: 18px;
  top: -2px;
}
input[type=radio]:checked:before {
  transform: scale(1);
}
input[type=radio]:before {
  content: "";
  display: block;
  width: calc(18px - 2px * 2 - 2px * 2);
  height: calc(18px - 2px * 2 - 2px * 2);
  border-radius: 50%;
  margin: 2px;
  transform: scale(0);
  transition: all ease-out 250ms;
}

/* Checkbox */
input[type=checkbox] {
  border-radius: 10%;
  border: 2px solid #0097A7;
  height: 20px;
  width: 20px;
}

input[type=checkbox]:before, input[type=checkbox]:after {
  position: absolute;
  content: "";
  background: white;
  transition: all 0.2s ease-in-out;
}

input[type=checkbox]:before {
  left: 2px;
  top: 6px;
  width: 0;
  height: 2px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
}

input[type=checkbox]:after {
  right: 9px;
  bottom: 3px;
  width: 2px;
  height: 0;
  transform: rotate(40deg);
  -webkit-transform: rotate(40deg);
  -moz-transform: rotate(40deg);
  -ms-transform: rotate(40deg);
  -o-transform: rotate(40deg);
  transition-delay: 0.2s;
}

input[type=checkbox]:checked:before {
  left: 1px;
  top: 10px;
  width: 6px;
  height: 2px;
}

input[type=checkbox]:checked:after {
  right: 5px;
  bottom: 1px;
  width: 2px;
  height: 14px;
}

input[type=checkbox]:indeterminate:before, input[type=checkbox]:indeterminate:after {
  width: 7px;
  height: 2px;
  transform: rotate(0);
  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -ms-transform: rotate(0);
  -o-transform: rotate(0);
}

input[type=checkbox]:indeterminate:before {
  left: 1px;
  top: 7px;
}

input[type=checkbox]:indeterminate:after {
  right: 1px;
  bottom: 7px;
}

input[type=checkbox]:checked, input[type=checkbox]:indeterminate, input[type=radio]:checked:before {
  background: #0097A7;
}

.footer-button {
  border-radius: 999px;
  color: white;
  text-align: center;
  background-color: #0097A7;
  padding: 0.5rem 0.5rem;
  min-width: 8rem;
  min-height: 2.3rem;
}
.footer-button.cancel {
  background-color: #A3A3A3;
}

.sub-button {
  font-weight: bold;
  color: #0097A7;
  font-size: 0.9rem;
}

.safe-area-top {
  height: env(safe-area-inset-top);
}

.safe-area-bottom {
  height: env(safe-area-inset-bottom);
}

.sub-note {
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(0, 0, 0, 0.6);
}

.rotation-animation {
  animation: rotation 2s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(-360deg);
  }
}
