@charset "UTF-8";
body {
  background: #fffaf0;
  /*text-align: center;*/
  font-family: Verdana, sans-serif;
  color: black;
  font-size: 16px;
  margin: 0;
}

.top-main {
  margin: 100px auto;
  text-align: center;
}

.container {
  margin: auto;
  width: 80%;
}

#container {
  /*margin-top: 50px;*/
  padding: 0 10%;
}

th, td {
  vertical-align: center;
}

#btn {
  -webkit-appearance: none;
  width: 200px;
  margin: 0 auto;
  padding: 7px;
  border-radius: 5px;
  background: #00aaff;
  box-shadow: 0 4px 0 #0088cc;
  cursor: pointer;
}

#btn:hover {
  opacity: 0.8;
}

#card {
  margin: 60px auto 20px;
  /**/
  width: 500px;
  height: 100px;
  cursor: pointer;
  font-size: 38px;
  line-height: 100px;
  perspective: 100px;
  transform-style: preserve-3d;
  transition: transform 0.8s;
}

#card-front, #card-back {
  display: block;
  width: 100%;
  height: 100%;
  /*border-radius: 5px;*/
  position: absolute;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

#card-front {
  background: #fff;
  color: #333;
}

#card-back {
  background: #00aaff;
  /*transform: scale(-1, 1);*/
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

.open {
  /*transform: scale(-1, 1);*/
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

.margin-5 {
  margin: 5px;
}

.margin-3 {
  margin: 3px;
}

.width-200 {
  width: 200px;
  height: 30px;
  line-height: 30px;
}

.width-100 {
  width: 150px;
}

.btn a {
  font-size: 2vw;
}

.btn:hover {
  opacity: 0.8;
}

.btn-info {
  text-align: center;
  display: inline-block;
  font-size: 20px;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  border: 1px solid #5bc0de;
  background-color: #5bc0de;
}

a.hidden {
  display: none;
}

li.signin, li.signup {
  display: inline-block;
  width: 64px;
  height: 24px;
  text-align: center;
}

li.signin:hover, li.signup:hover {
  display: inline-block;
  opacity: 0.6;
}

.header {
  /*padding: 50px 0;*/
  text-align: right;
}

.header > li {
  display: inline-block;
  /*text-align: right;*/
  /*margin-left: 10px;*/
  padding: 10px;
  border: 1px solid white;
  background-color: lightgray;
  border-radius: 5px;
  margin-right: 10px;
}

.header > li > a {
  text-decoration: none;
}

ul.header {
  padding: 0;
}

.signup-form, .signin-form {
  padding: 50px 0;
  text-align: center;
  width: 350px;
  height: 500px;
  margin: 50px auto;
  background-color: #f5f5f5;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.4);
}

.signup-form form, .signin-form form {
  padding-top: 20px 0;
  margin: 20px 10px;
}

.signup-form > .title, .signin-form > .title {
  padding: 20px 0;
  margin: 0 10px;
  border-bottom: 1px solid gray;
}

.field > input {
  width: 180px;
  height: 20px;
  border-radius: 5px;
}

.field {
  margin: 20px;
}

/* flash */
.flash .notice {
  background: #00bfff;
  color: #ffffff;
  text-align: center;
  margin: 0 auto 10px;
  padding: 5px;
  border-radius: 5px;
  display: block;
  width: 90%;
  font-size: 0.8rem;
}

.flash {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 1050;
  max-width: 600px;
  width: auto;
}

.flash .alert {
  background-color: deeppink;
  color: white;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 1.5;
}

@media screen and (max-width: 700px) {
  .flash .alert {
    font-size: 0.8rem;
  }
}
.flash .btn-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  cursor: pointer;
  margin-left: 20px;
}

.flash .notice button {
  background: #00bfff;
  border: 0px;
  /*color: #808080;*/
  font-size: 20px;
}

.flash .alert button {
  background: #ff1493;
  border: 0px;
  /*color: #808080;*/
  font-size: 20px;
}

/*  flash end */
footer {
  margin: 100px 0 100px;
  text-align: center;
}

.header_kanji_chest_logo {
  position: absolute;
  left: 30px;
  top: 10px;
  height: 40px;
  text-align: left;
}

ul.header {
  position: relative;
}

/* back button */
.back-button {
  margin: 50px 0;
}

.back-button > a {
  text-decoration: none;
}

#admin-menu {
  width: 76%;
  margin: 0 auto;
}

.height-50 {
  height: 50px;
  line-height: 50px;
}

.height-70 {
  height: 70px;
  line-height: 70px;
}

@media screen and (max-width: 900px) {
  .flex-2 {
    display: block;
  }
}
/* テーブルを横スクロール可能に */
.table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2rem;
}

/* テーブル全体のデザイン */
.user-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 14px;
}

.user-table th,
.user-table td {
  border: 1px solid #ccc;
  padding: 0.6em 0.8em;
  text-align: left;
  white-space: nowrap;
}

.user-table th {
  background-color: #f8f8f8;
}

/* ステータスの色分け */
.paid {
  color: green;
  font-weight: bold;
}

.unpaid {
  color: red;
  font-weight: bold;
}

/* タイトルやリンクのスタイル */
.heading {
  font-size: 24px;
  margin-bottom: 1em;
}

.detail-link {
  color: blue;
  font-weight: bold;
  text-decoration: none;
}

.detail-link:hover {
  text-decoration: underline;
}

.filter-toggle {
  text-decoration: none;
  color: #0077cc;
  font-weight: bold;
}

.filter-toggle:hover {
  text-decoration: underline;
}

a.signout, a.signin, a.sign_up, a.payment-link {
  text-decoration: none;
  color: #000;
}

a.signout:hover, a.signin:hover, a.sign_up:hover, a.payment-link:hover {
  opacity: 0.5;
}

.tansu-center img {
  display: inline-block;
  width: 100vw;
}

.kanji_chest_logo {
  width: 50%;
}

.top-pics1 {
  display: inline-block;
  width: 150px;
  height: 150px;
}

.top-pics2 {
  display: inline-block;
  width: 150px;
  height: 150px;
}

.top-pics3 {
  display: inline-block;
  width: 150px;
  height: 150px;
}

.top-pics4 {
  display: inline-block;
  width: 150px;
  height: 150px;
}

.top-pics5 {
  display: inline-block;
  width: 150px;
  height: 150px;
}

.top-pics6 {
  display: inline-block;
  width: 150px;
  height: 150px;
}

.top-pics7 {
  display: inline-block;
  width: 150px;
  height: 150px;
}

.top-pics8 {
  display: inline-block;
  width: 150px;
  height: 150px;
}

.top-pics9 {
  display: inline-block;
  width: 150px;
  height: 150px;
}

.top-pics10 {
  display: inline-block;
  width: 150px;
  height: 150px;
}

@media screen and (min-width: 950px) {
  #kanji_chest_logo {
    display: inline-block;
    padding: 30px 30px;
    border-radius: 50%;
    background: #f5deb3;
    box-shadow: 5px 5px 10px #cd853f;
    width: 50%;
    height: 150px;
  }
  .tooltip1 {
    position: relative;
    cursor: pointer;
    display: inline-block;
  }
  .tooltip1 p {
    margin: 0;
    padding: 0;
  }
  .description1 {
    display: none;
    position: absolute;
    padding: 10px;
    font-size: 16px;
    line-height: 1.6em;
    color: #fff;
    border-radius: 5px;
    background: #ffa07a;
    width: 100px;
  }
  .description1:before {
    content: "";
    position: absolute;
    bottom: -25px;
    right: 60%;
    border: 15px solid transparent;
    border-top: 15px solid #ffa07a;
    margin-left: -15px;
  }
  .tooltip1:hover .description1 {
    display: inline-block;
    top: -40px;
    left: 0px;
  }
  .tooltip2 {
    position: relative;
    cursor: pointer;
    display: inline-block;
  }
  .tooltip2 p {
    margin: 0;
    padding: 0;
  }
  .description2 {
    display: none;
    position: absolute;
    padding: 10px;
    font-size: 16px;
    line-height: 1.6em;
    color: #fff;
    border-radius: 5px;
    background: #ffa07a;
    width: 100px;
  }
  .description2:before {
    content: "";
    position: absolute;
    bottom: -25px;
    right: 60%;
    border: 15px solid transparent;
    border-top: 15px solid #ffa07a;
    margin-left: -15px;
  }
  .tooltip2:hover .description2 {
    display: inline-block;
    top: -40px;
    left: 0px;
  }
  .tooltip3 {
    position: relative;
    cursor: pointer;
    display: inline-block;
  }
  .tooltip3 p {
    margin: 0;
    padding: 0;
  }
  .description3 {
    display: none;
    position: absolute;
    padding: 10px;
    font-size: 16px;
    line-height: 1.6em;
    color: #fff;
    border-radius: 5px;
    background: #ffa07a;
    width: 100px;
  }
  .description3:before {
    content: "";
    position: absolute;
    bottom: -25px;
    right: 60%;
    border: 15px solid transparent;
    border-top: 15px solid #ffa07a;
    margin-left: -15px;
  }
  .tooltip3:hover .description3 {
    display: inline-block;
    top: -40px;
    left: 0px;
  }
  .tooltip4 {
    position: relative;
    cursor: pointer;
    display: inline-block;
  }
  .tooltip4 p {
    margin: 0;
    padding: 0;
  }
  .description4 {
    display: none;
    position: absolute;
    padding: 10px;
    font-size: 16px;
    line-height: 1.6em;
    color: #fff;
    border-radius: 5px;
    background: #ffa07a;
    width: 100px;
  }
  .description4:before {
    content: "";
    position: absolute;
    bottom: -25px;
    right: 60%;
    border: 15px solid transparent;
    border-top: 15px solid #ffa07a;
    margin-left: -15px;
  }
  .tooltip4:hover .description4 {
    display: inline-block;
    top: -40px;
    left: 0px;
  }
  .tooltip7 {
    position: relative;
    cursor: pointer;
    display: inline-block;
  }
  .tooltip7 p {
    margin: 0;
    padding: 0;
  }
  .description7 {
    display: none;
    position: absolute;
    padding: 10px;
    font-size: 16px;
    line-height: 1.6em;
    color: #fff;
    border-radius: 5px;
    background: #ffa07a;
    width: 100px;
  }
  .description7:before {
    content: "";
    position: absolute;
    bottom: -25px;
    right: 60%;
    border: 15px solid transparent;
    border-top: 15px solid #ffa07a;
    margin-left: -15px;
  }
  .tooltip7:hover .description7 {
    display: inline-block;
    top: -40px;
    left: 0px;
  }
  .tooltip8 {
    position: relative;
    cursor: pointer;
    display: inline-block;
  }
  .tooltip8 p {
    margin: 0;
    padding: 0;
  }
  .description8 {
    display: none;
    position: absolute;
    padding: 10px;
    font-size: 16px;
    line-height: 1.6em;
    color: #fff;
    border-radius: 5px;
    background: #ffa07a;
    width: 100px;
  }
  .description8:before {
    content: "";
    position: absolute;
    bottom: -25px;
    right: 60%;
    border: 15px solid transparent;
    border-top: 15px solid #ffa07a;
    margin-left: -15px;
  }
  .tooltip8:hover .description8 {
    display: inline-block;
    top: -40px;
    left: 0px;
  }
  .tooltip9 {
    position: relative;
    cursor: pointer;
    display: inline-block;
  }
  .tooltip9 p {
    margin: 0;
    padding: 0;
  }
  .description9 {
    display: none;
    position: absolute;
    padding: 10px;
    font-size: 16px;
    line-height: 1.6em;
    color: #fff;
    border-radius: 5px;
    background: #ffa07a;
    width: 100px;
  }
  .description9:before {
    content: "";
    position: absolute;
    bottom: -25px;
    right: 60%;
    border: 15px solid transparent;
    border-top: 15px solid #ffa07a;
    margin-left: -15px;
  }
  .tooltip9:hover .description9 {
    display: inline-block;
    top: -40px;
    left: 0px;
  }
  .tooltip10 {
    position: relative;
    cursor: pointer;
    display: inline-block;
  }
  .tooltip10 p {
    margin: 0;
    padding: 0;
  }
  .description10 {
    display: none;
    position: absolute;
    padding: 10px;
    font-size: 16px;
    line-height: 1.6em;
    color: #fff;
    border-radius: 5px;
    background: #ffa07a;
    width: 100px;
  }
  .description10:before {
    content: "";
    position: absolute;
    bottom: -25px;
    right: 60%;
    border: 15px solid transparent;
    border-top: 15px solid #ffa07a;
    margin-left: -15px;
  }
  .tooltip10:hover .description10 {
    display: inline-block;
    top: -40px;
    left: 0px;
  }
  .tooltip5 {
    position: relative;
    cursor: pointer;
    display: inline-block;
  }
  .tooltip5 p {
    margin: 0;
    padding: 0;
  }
  .description5 {
    display: none;
    position: absolute;
    padding: 10px;
    font-size: 16px;
    line-height: 1.6em;
    color: #fff;
    border-radius: 5px;
    background: #ffa07a;
    width: 100px;
  }
  .description5:before {
    content: "";
    position: absolute;
    bottom: -25px;
    right: 60%;
    border: 15px solid transparent;
    border-top: 15px solid #ffa07a;
    margin-left: -15px;
  }
  .tooltip5:hover .description5 {
    display: inline-block;
    top: -40px;
    left: 0px;
  }
  .tooltip6 {
    position: relative;
    cursor: pointer;
    display: inline-block;
  }
  .tooltip6 p {
    margin: 0;
    padding: 0;
  }
  .description6 {
    display: none;
    position: absolute;
    padding: 10px;
    font-size: 16px;
    line-height: 1.6em;
    color: #fff;
    border-radius: 5px;
    background: #ffa07a;
    width: 100px;
  }
  .description6:before {
    content: "";
    position: absolute;
    bottom: -25px;
    right: 60%;
    border: 15px solid transparent;
    border-top: 15px solid #ffa07a;
    margin-left: -15px;
  }
  .tooltip6:hover .description6 {
    display: inline-block;
    top: -40px;
    left: 0px;
  }
  #tangocho {
    margin-top: 100px;
    text-align: center;
  }
}
@media screen and (max-width: 950px) {
  #kanji_chest_logo {
    display: block;
    position: absolute;
    top: 150px;
    margin: 0 11vw 0 0;
    padding: 30px 0px;
    border-radius: 50%;
    background: #f5deb3;
    box-shadow: 5px 5px 10px #cd853f;
  }
  .top-main {
    padding-top: 500px;
  }
  .tooltip1 {
    position: relative;
    cursor: pointer;
    display: inline-block;
  }
  .tooltip1 p {
    margin: 0;
    padding: 0;
  }
  .description1 {
    display: none;
    position: absolute;
    padding: 10px;
    font-size: 16px;
    line-height: 1.6em;
    color: #fff;
    border-radius: 5px;
    background: #ffa07a;
    width: 100px;
  }
  .description1:before {
    content: "";
    position: absolute;
    bottom: -25px;
    right: 60%;
    border: 15px solid transparent;
    border-top: 15px solid #ffa07a;
    margin-left: -15px;
  }
  .tooltip1:hover .description1 {
    display: inline-block;
    top: -40px;
    left: 0px;
  }
  .tooltip2 {
    position: relative;
    cursor: pointer;
    display: inline-block;
  }
  .tooltip2 p {
    margin: 0;
    padding: 0;
  }
  .description2 {
    display: none;
    position: absolute;
    padding: 10px;
    font-size: 16px;
    line-height: 1.6em;
    color: #fff;
    border-radius: 5px;
    background: #ffa07a;
    width: 100px;
  }
  .description2:before {
    content: "";
    position: absolute;
    bottom: -25px;
    right: 60%;
    border: 15px solid transparent;
    border-top: 15px solid #ffa07a;
    margin-left: -15px;
  }
  .tooltip2:hover .description2 {
    display: inline-block;
    top: -40px;
    left: 0px;
  }
  .tooltip3 {
    position: relative;
    cursor: pointer;
    display: inline-block;
  }
  .tooltip3 p {
    margin: 0;
    padding: 0;
  }
  .description3 {
    display: none;
    position: absolute;
    padding: 10px;
    font-size: 16px;
    line-height: 1.6em;
    color: #fff;
    border-radius: 5px;
    background: #ffa07a;
    width: 100px;
  }
  .description3:before {
    content: "";
    position: absolute;
    bottom: -25px;
    right: 60%;
    border: 15px solid transparent;
    border-top: 15px solid #ffa07a;
    margin-left: -15px;
  }
  .tooltip3:hover .description3 {
    display: inline-block;
    top: -40px;
    left: 0px;
  }
  .tooltip4 {
    position: relative;
    cursor: pointer;
    display: inline-block;
  }
  .tooltip4 p {
    margin: 0;
    padding: 0;
  }
  .description4 {
    display: none;
    position: absolute;
    padding: 10px;
    font-size: 16px;
    line-height: 1.6em;
    color: #fff;
    border-radius: 5px;
    background: #ffa07a;
    width: 100px;
  }
  .description4:before {
    content: "";
    position: absolute;
    bottom: -25px;
    right: 60%;
    border: 15px solid transparent;
    border-top: 15px solid #ffa07a;
    margin-left: -15px;
  }
  .tooltip4:hover .description4 {
    display: inline-block;
    top: -40px;
    left: 0px;
  }
  .tooltip7 {
    position: relative;
    cursor: pointer;
    display: inline-block;
  }
  .tooltip7 p {
    margin: 0;
    padding: 0;
  }
  .description7 {
    display: none;
    position: absolute;
    padding: 10px;
    font-size: 16px;
    line-height: 1.6em;
    color: #fff;
    border-radius: 5px;
    background: #ffa07a;
    width: 100px;
  }
  .description7:before {
    content: "";
    position: absolute;
    bottom: -25px;
    right: 60%;
    border: 15px solid transparent;
    border-top: 15px solid #ffa07a;
    margin-left: -15px;
  }
  .tooltip7:hover .description7 {
    display: inline-block;
    top: -40px;
    left: 0px;
  }
  .tooltip8 {
    position: relative;
    cursor: pointer;
    display: inline-block;
  }
  .tooltip8 p {
    margin: 0;
    padding: 0;
  }
  .description8 {
    display: none;
    position: absolute;
    padding: 10px;
    font-size: 16px;
    line-height: 1.6em;
    color: #fff;
    border-radius: 5px;
    background: #ffa07a;
    width: 100px;
  }
  .description8:before {
    content: "";
    position: absolute;
    bottom: -25px;
    right: 60%;
    border: 15px solid transparent;
    border-top: 15px solid #ffa07a;
    margin-left: -15px;
  }
  .tooltip8:hover .description8 {
    display: inline-block;
    top: -40px;
    left: 0px;
  }
  .tooltip9 {
    position: relative;
    cursor: pointer;
    display: inline-block;
  }
  .tooltip9 p {
    margin: 0;
    padding: 0;
  }
  .description9 {
    display: none;
    position: absolute;
    padding: 10px;
    font-size: 16px;
    line-height: 1.6em;
    color: #fff;
    border-radius: 5px;
    background: #ffa07a;
    width: 100px;
  }
  .description9:before {
    content: "";
    position: absolute;
    bottom: -25px;
    right: 60%;
    border: 15px solid transparent;
    border-top: 15px solid #ffa07a;
    margin-left: -15px;
  }
  .tooltip9:hover .description9 {
    display: inline-block;
    top: -40px;
    left: 0px;
  }
  .tooltip10 {
    position: relative;
    cursor: pointer;
    display: inline-block;
  }
  .tooltip10 p {
    margin: 0;
    padding: 0;
  }
  .description10 {
    display: none;
    position: absolute;
    padding: 10px;
    font-size: 16px;
    line-height: 1.6em;
    color: #fff;
    border-radius: 5px;
    background: #ffa07a;
    width: 100px;
  }
  .description10:before {
    content: "";
    position: absolute;
    bottom: -25px;
    right: 60%;
    border: 15px solid transparent;
    border-top: 15px solid #ffa07a;
    margin-left: -15px;
  }
  .tooltip10:hover .description10 {
    display: inline-block;
    top: -40px;
    left: 0px;
  }
  .top-pics5 {
    padding-bottom: 50px;
  }
  .tooltip5 {
    position: relative;
    cursor: pointer;
    display: inline-block;
  }
  .tooltip5 p {
    margin: 0;
    padding: 0;
  }
  .description5 {
    display: none;
    position: absolute;
    padding: 10px;
    font-size: 16px;
    line-height: 1.6em;
    color: #fff;
    border-radius: 5px;
    background: #ffa07a;
    width: 100px;
  }
  .description5:before {
    content: "";
    position: absolute;
    bottom: -25px;
    right: 60%;
    border: 15px solid transparent;
    border-top: 15px solid #ffa07a;
    margin-left: -15px;
  }
  .tooltip5:hover .description5 {
    display: inline-block;
    top: -40px;
    left: 0px;
  }
  .top-pics6 {
    padding-bottom: 50px;
  }
  .tooltip6 {
    position: relative;
    cursor: pointer;
    display: inline-block;
  }
  .tooltip6 p {
    margin: 0;
    padding: 0;
  }
  .description6 {
    display: none;
    position: absolute;
    padding: 10px;
    font-size: 16px;
    line-height: 1.6em;
    color: #fff;
    border-radius: 5px;
    background: #ffa07a;
    width: 100px;
  }
  .description6:before {
    content: "";
    position: absolute;
    bottom: -25px;
    right: 60%;
    border: 15px solid transparent;
    border-top: 15px solid #ffa07a;
    margin-left: -15px;
  }
  .tooltip6:hover .description6 {
    display: inline-block;
    top: -40px;
    left: 0px;
  }
  #tangocho {
    margin-top: 100px;
    text-align: center;
  }
}
@media screen and (max-width: 700px) {
  .top-main {
    padding-top: 350px;
  }
  #tangocho {
    margin-top: 100px;
    text-align: center;
  }
}
@media screen and (max-width: 500px) {
  .top-main {
    padding-top: 250px;
  }
  #tangocho {
    margin-top: 100px;
    text-align: center;
  }
}
.width-5 {
  width: 5%;
}

.width-10 {
  width: 10%;
}

.width-15 {
  width: 15%;
}

.width-20 {
  width: 20%;
}

.width-25 {
  width: 25%;
}

.width-30 {
  width: 30%;
}

.width-35 {
  width: 35%;
}

.width-40 {
  width: 40%;
}

.width-45 {
  width: 45%;
}

.width-50 {
  width: 50%;
}

.width-55 {
  width: 55%;
}

.width-60 {
  width: 60%;
}

.width-65 {
  width: 65%;
}

.width-70 {
  width: 70%;
}

.width-75 {
  width: 75%;
}

.width-80 {
  width: 80%;
}

.width-85 {
  width: 85%;
}

.width-90 {
  width: 90%;
}

.width-95 {
  width: 95%;
}

.width-100 {
  width: 100%;
}

.height-5 {
  height: 5px;
}

.height-10 {
  height: 10px;
}

.height-15 {
  height: 15px;
}

.height-20 {
  height: 20px;
}

.height-25 {
  height: 25px;
}

.height-30 {
  height: 30px;
}

.height-35 {
  height: 35px;
}

.height-40 {
  height: 40px;
}

.height-45 {
  height: 45px;
}

.height-50 {
  height: 50px;
}

.height-55 {
  height: 55px;
}

.height-60 {
  height: 60px;
}

.height-65 {
  height: 65px;
}

.height-70 {
  height: 70px;
}

.height-75 {
  height: 75px;
}

.height-80 {
  height: 80px;
}

.height-85 {
  height: 85px;
}

.height-90 {
  height: 90px;
}

.height-95 {
  height: 95px;
}

.height-100 {
  height: 100px;
}

.height-105 {
  height: 105px;
}

.height-110 {
  height: 110px;
}

.height-115 {
  height: 115px;
}

.height-120 {
  height: 120px;
}

.height-125 {
  height: 125px;
}

.height-130 {
  height: 130px;
}

.height-135 {
  height: 135px;
}

.height-140 {
  height: 140px;
}

.height-145 {
  height: 145px;
}

.height-150 {
  height: 150px;
}

.height-155 {
  height: 155px;
}

.height-160 {
  height: 160px;
}

.height-165 {
  height: 165px;
}

.height-170 {
  height: 170px;
}

.height-175 {
  height: 175px;
}

.height-180 {
  height: 180px;
}

.height-185 {
  height: 185px;
}

.height-190 {
  height: 190px;
}

.height-195 {
  height: 195px;
}

.height-200 {
  height: 200px;
}

.height-205 {
  height: 205px;
}

.height-210 {
  height: 210px;
}

.height-215 {
  height: 215px;
}

.height-220 {
  height: 220px;
}

.height-225 {
  height: 225px;
}

.height-230 {
  height: 230px;
}

.height-235 {
  height: 235px;
}

.height-240 {
  height: 240px;
}

.height-245 {
  height: 245px;
}

.height-250 {
  height: 250px;
}

.height-255 {
  height: 255px;
}

.height-260 {
  height: 260px;
}

.height-265 {
  height: 265px;
}

.height-270 {
  height: 270px;
}

.height-275 {
  height: 275px;
}

.height-280 {
  height: 280px;
}

.height-285 {
  height: 285px;
}

.height-290 {
  height: 290px;
}

.height-295 {
  height: 295px;
}

.height-300 {
  height: 300px;
}

.height-305 {
  height: 305px;
}

.height-310 {
  height: 310px;
}

.height-315 {
  height: 315px;
}

.height-320 {
  height: 320px;
}

.height-325 {
  height: 325px;
}

.height-330 {
  height: 330px;
}

.height-335 {
  height: 335px;
}

.height-340 {
  height: 340px;
}

.height-345 {
  height: 345px;
}

.height-350 {
  height: 350px;
}

.height-355 {
  height: 355px;
}

.height-360 {
  height: 360px;
}

.height-365 {
  height: 365px;
}

.height-370 {
  height: 370px;
}

.height-375 {
  height: 375px;
}

.height-380 {
  height: 380px;
}

.height-385 {
  height: 385px;
}

.height-390 {
  height: 390px;
}

.height-395 {
  height: 395px;
}

.height-400 {
  height: 400px;
}

.height-405 {
  height: 405px;
}

.height-410 {
  height: 410px;
}

.height-415 {
  height: 415px;
}

.height-420 {
  height: 420px;
}

.height-425 {
  height: 425px;
}

.height-430 {
  height: 430px;
}

.height-435 {
  height: 435px;
}

.height-440 {
  height: 440px;
}

.height-445 {
  height: 445px;
}

.height-450 {
  height: 450px;
}

.height-455 {
  height: 455px;
}

.height-460 {
  height: 460px;
}

.height-465 {
  height: 465px;
}

.height-470 {
  height: 470px;
}

.height-475 {
  height: 475px;
}

.height-480 {
  height: 480px;
}

.height-485 {
  height: 485px;
}

.height-490 {
  height: 490px;
}

.height-495 {
  height: 495px;
}

.height-500 {
  height: 500px;
}

.text-center {
  text-align: center;
}

#idiom-show {
  text-align: center;
}
#idiom-show .idiom-area {
  margin: 0 auto;
  width: 70%;
  border-radius: 10px;
  background: rgba(245, 222, 179, 0.3803921569);
  box-shadow: 2px 2px 2px 2px #deb887;
}
#idiom-show .idiom-area > .idiom {
  font-size: 1.2rem;
}
#idiom-show .talk-png {
  display: inline-block;
  position: relative;
}
#idiom-show .talk-png > .audio {
  position: absolute;
  top: 30px;
  right: 30px;
}
#idiom-show #play:after {
  font-size: 1.5rem;
  display: inline-block;
  content: "\f04b";
  font-family: fontAwesome;
  color: #4169e1;
}
#idiom-show #pause:after {
  font-size: 1.5rem;
  content: "\f04c";
  font-family: FontAwesome;
  color: #4169e1;
}
#idiom-show .idiom-area > div:not(:last-child) {
  margin: 0 auto;
  width: 80%;
  border-bottom: 1px solid gray;
}
#idiom-show .idiom-area > div {
  padding: 20px 0;
}
#idiom-show .title {
  padding: 30px;
  font-size: 1.5rem;
  font-weight: bold;
}
#idiom-show table.table {
  width: 70%;
  margin: 0 auto;
  border-collapse: collapse;
}
#idiom-show table td, #idiom-show th {
  height: 30px;
  line-height: 30px;
  border: 1px solid black;
  background: #f5deb3;
}
@media screen and (max-width: 634px) {
  #idiom-show {
    width: 100%;
  }
  #idiom-show .idiom-area {
    width: 100%;
  }
  #idiom-show .talk-png, #idiom-show .talk-png > img {
    width: 70vw;
    height: 70vw;
  }
}

.width-300 {
  width: 300px;
}

.width-400 {
  width: 400px;
}

.size-100 {
  width: 100px;
  height: 100px;
}

.size-200 {
  width: 200px;
  height: 200px;
}

.size-300 {
  width: 300px;
  height: 300px;
}

.size-400 {
  width: 400px;
  height: 400px;
}

.size-500 {
  width: 500px;
  height: 500px;
}

#idiom-index {
  max-width: 500px;
  margin: 0 auto;
  padding: 0 10px;
  text-align: center;
}
#idiom-index .index-idiom {
  width: 100%;
  text-align: center;
  display: block;
  margin: 0;
  padding: 8px 0;
  box-sizing: border-box;
}
#idiom-index .back-button {
  margin-top: 20px;
  font-weight: bold;
  color: purple;
  text-align: left;
}

#idiom-select {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 10px;
  row-gap: 10px;
}
#idiom-select .body-part > a {
  display: block;
  padding: 10px 0;
  background-color: #4fc3f7;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
@media screen and (max-width: 634px) {
  #idiom-select {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 10px;
  }
}

span.Heading {
  font-weight: bold;
}

.inquiries-table tbody td {
  overflow-x: scroll;
}

#inquiry-index {
  width: 80%;
  margin: 150px auto;
}

.n1-answer-point > span {
  padding-right: 15px;
}

#n2tango-category .table-4 {
  display: block;
  margin: 0 auto;
}
#n2tango-category .table-2 {
  display: none;
}
@media screen and (max-width: 830px) {
  #n2tango-category .table-4 {
    display: none;
  }
  #n2tango-category .table-2 {
    display: block;
    margin: 0 auto;
  }
}

#container {
  margin-top: 0;
}

body > header > ul > li.home {
  text-align: left;
  padding-left: 50px;
}
body > header > ul > li.home a {
  text-decoration: none;
  color: #000;
}

header {
  width: 100vw;
  height: 80px;
  background: #fff;
}

header > ul {
  list-style: none;
  margin: 0;
  display: grid;
  padding: 0;
  grid-template-columns: 45vw 15vw 20vw 20vw;
}

@media screen and (max-width: 700px) {
  header > ul {
    width: 100vw;
    font-size: 1rem;
    padding-left: 0;
    grid-template-columns: 40vw 30vw 15vw 15vw;
  }
}
@media screen and (max-width: 500px) {
  header > ul {
    width: 100vw;
    padding-left: 0;
    font-size: 0.8rem;
    grid-template-columns: 30vw 30vw 20vw 15vw;
  }
}
@media screen and (max-width: 400px) {
  header > ul {
    width: 100vw;
    padding-left: 0;
    font-size: 0.6rem;
    grid-template-columns: 30vw 25vw 15vw 15vw;
  }
}
@media screen and (max-width: 320px) {
  header > ul {
    width: 100vw;
    padding-left: 0;
    font-size: 0.6rem;
    grid-template-columns: 35vw 25vw 15vw 15vw;
  }
}
header > ul > li {
  text-align: center;
  line-height: 80px;
}

#top-img {
  width: 100%;
  height: 46.25vw;
  background-size: cover;
  background-image: url("/new-image/top-image.png");
}

.top-message {
  text-align: center;
  padding: 20px 0 0 0;
  font-size: 1.8rem;
}

.top-title {
  text-align: center;
  padding: 0px 0 0 0;
  font-size: 1.8rem;
}

#overview {
  width: 100%;
  height: 319vw;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url("/new-image/top-page-background-new-20250115.png");
  position: relative;
}

.kasa {
  width: 30vw;
  height: 30vw;
}

.yama {
  width: 30vw;
  height: 30vw;
}

.tsuki {
  width: 30vw;
  height: 30vw;
}

.login {
  width: 20vw;
  position: absolute;
  top: 61vw;
  left: 35vw;
}

.signup {
  width: 20vw;
  position: absolute;
  top: 61vw;
  left: 59vw;
}

.logout {
  width: 20vw;
  position: absolute;
  top: 61vw;
  left: 50vw;
}

.login:hover, .signup:hover {
  opacity: 0.7;
}

#top > #overview > .logo {
  width: 15vw;
}

#top > #overview > .pic-1 {
  position: absolute;
  top: 20vw;
  left: 30vw;
}

#top > #overview > .pic-2 {
  position: absolute;
  top: 35vw;
  left: 15vw;
}

#top > #overview > .pic-3 {
  position: absolute;
  top: 40vw;
  left: 35vw;
}

.new_payment_banner {
  display: block;
  position: fixed;
  bottom: 10px;
}

.new_payment_banner {
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 150px;
  height: 50px;
  line-height: 50px;
  border-radius: 10px;
  text-align: center;
  background: orange;
  opacity: 1;
  color: #fff;
  z-index: 3;
  text-decoration: none;
}

.new_payment_banner:hover {
  text-decoration: none;
  color: #fff;
  opacity: 0.8;
}

.payment-description {
  text-align: center;
  font-size: 1.1rem;
  margin: 20px 0;
  color: #333;
  line-height: 1.6;
}

.payment-description-eng {
  font-size: 0.8rem;
  text-align: center;
  margin: 20px 0;
  color: #333;
  line-height: 1.6;
}

.paypal-center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.paypal-center #paypal-button-container {
  width: 80%;
  max-width: 400px;
}
.paypal-center iframe {
  width: 100% !important;
}

.photo-index {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.new-photo {
  float: right;
}

#quiz-new .n1-quiz-title, #quiz-edit .n1-quiz-title {
  width: 30%;
  height: 30px;
}
#quiz-new .form-control, #quiz-edit .form-control {
  width: 95%;
  height: 30px;
}
#quiz-new .submit-button, #quiz-edit .submit-button {
  display: inline-block;
  width: 200px;
  height: 50px;
  background: rgba(0, 255, 164, 0.6117647059);
  border: 0;
  font-size: 1.2rem;
}
#quiz-new .submit-button:hover, #quiz-edit .submit-button:hover {
  opacity: 0.7;
}
#quiz-new .submit, #quiz-edit .submit {
  margin: 30px 0;
  text-align: right;
}

#quiz-show .title {
  border-bottom: 1px solid gray;
  height: 50px;
  line-height: 50px;
}
#quiz-show .answer {
  padding-left: 50px;
}
#quiz-show .back-warning {
  background: rgba(225, 50, 50, 0.3411764706);
}
#quiz-show .answer > span {
  padding-right: 20px;
}
#quiz-show .flex {
  display: flex;
}
#quiz-show .questions {
  height: 50px;
  line-height: 50px;
}
#quiz-show .question-no {
  width: 5%;
}
#quiz-show .submit {
  margin-top: 50px;
  text-align: center;
}
#quiz-show .submit-button {
  width: 100px;
  height: 50px;
  background: #00aaff;
  border: 0;
  color: #fff;
  border-radius: 10px;
}
#quiz-show .submit-button:hover {
  opacity: 0.7;
}
#quiz-show .back-link {
  margin-top: 30px;
}
@media screen and (max-width: 1100px) {
  #quiz-show .answer > span {
    display: block;
    width: 90%;
  }
  #quiz-show .quiz-select {
    display: none;
  }
  #quiz-show .question-no {
    width: 10%;
  }
  #quiz-show .questions {
    display: block;
    height: 300px;
    position: relative;
  }
  #quiz-show .questions .question-no {
    display: inline-block;
    width: 10%;
    position: absolute;
    left: 5px;
  }
  #quiz-show .questions .question {
    width: 80%;
    display: inline-block;
    margin-left: 10%;
  }
}
@media screen and (max-width: 480px) {
  #quiz-show .question-no {
    width: 20%;
  }
  #quiz-show .questions {
    display: block;
    height: 250px;
    position: relative;
  }
  #quiz-show .questions .question-no {
    display: inline-block;
    width: 10%;
    position: absolute;
    left: 5px;
  }
  #quiz-show .questions .question {
    width: 80%;
    display: inline-block;
    margin-left: 15%;
  }
}

#quiz-answer .answer-point > span {
  padding-right: 15px;
}
#quiz-answer .title {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 5% 60% 10% 10%;
}
#quiz-answer .quiz-answer-each {
  display: grid;
  grid-template-columns: 5% 60% 10% 10%;
}
#quiz-answer .challenge-again-link {
  width: 90px;
  height: 50px;
  line-height: 50px;
  background: #4169e1;
  color: #fff;
  border-radius: 10px;
  display: inline-block;
  text-align: center;
}
#quiz-answer .links {
  margin: 50px auto;
  text-align: center;
}
#quiz-answer .n1-menu {
  width: 200px;
  height: 50px;
  line-height: 50px;
  background: #00aaff;
  color: #fff;
  border-radius: 10px;
  display: inline-block;
  text-align: center;
}
#quiz-answer a {
  text-decoration: none;
}
#quiz-answer a:hover {
  opacity: 0.7;
}
@media screen and (max-width: 1100px) {
  #quiz-answer .title {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 30% 90%;
    grid-template-rows: 50% 50%;
  }
  #quiz-answer .title .question-no {
    padding-left: 20px;
  }
  #quiz-answer .title .correct {
    padding-left: 20px;
  }
  #quiz-answer .quiz-answer-each {
    display: grid;
    grid-template-columns: 40% 60%;
    grid-template-rows: 70% 20%;
  }
  #quiz-answer .quiz-answer-each .question-no {
    margin-left: 20px;
  }
  #quiz-answer .quiz-answer-each .correct {
    padding-left: 20px;
  }
}

#quiz-index {
  text-align: center;
}
#quiz-index .new-quiz-button {
  display: inline-block;
  width: 200px;
  height: 50px;
  line-height: 50px;
  background: lightblue;
  color: black;
  text-align: center;
  border-radius: 10px;
  text-decoration: none;
  margin: 20px 0;
}
#quiz-index .new-quiz-button:hover {
  opacity: 0.7;
}
#quiz-index .quizzes-link {
  display: inline-block;
  width: 300px;
  height: 40px;
  line-height: 40px;
  margin: 5px 0;
  background: #5bc0de;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  color: #fff;
}
#quiz-index .quizzes-link:hover {
  opacity: 0.7;
}

#tango-card {
  margin: 0;
  background: #fffaf0;
  text-align: center;
  font-family: Verdana, sans-serif;
  color: #fff;
}
#tango-card .return-button {
  box-shadow: 5px 5px 10px;
  margin: 100px 0;
  width: 200px;
  height: 40px;
  line-height: 40px;
  border-radius: 5px;
  text-decoration: none;
  background: #a9a9a9;
  color: black;
  display: inline-block;
}
#tango-card .return-button:hover {
  opacity: 0.9;
}
#tango-card #btn {
  width: 200px;
  margin: 0 auto;
  padding: 7px;
  border-radius: 5px;
  background: #00aaff;
  box-shadow: 0 4px 0 #0088cc;
  cursor: pointer;
}
#tango-card #btn:hover {
  opacity: 0.8;
}
#tango-card #card {
  margin: 60px auto 20px;
  width: 60vw;
  height: 100px;
  cursor: pointer;
  font-size: 4vw;
  line-height: 100px;
  perspective: 100px;
  transform-style: preserve-3d;
  transition: transform 0.8s;
}
#tango-card #card-front {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  position: absolute;
  backface-visibility: hidden;
}
#tango-card #card-back1, #tango-card #card-back2 {
  display: block;
  width: 100%;
  height: 70px;
  line-height: 70px;
  border-radius: 5px 5px 0 0;
  backface-visibility: hidden;
}
#tango-card #card-back2 {
  border-radius: 0 0 5px 5px;
}
#tango-card #card-front {
  background: #dcdcdc;
  color: #333;
}
#tango-card #card-back1, #tango-card #card-back2 {
  background: #00aaff;
  transform: rotateY(180deg);
}
#tango-card .open {
  transform: rotateY(180deg);
}
@media screen and (max-width: 735) {
  #tango-card #card {
    margin: 60px auto 20px;
    width: 400px;
    height: 100px;
    cursor: pointer;
    font-size: 4vw;
    line-height: 100px;
    perspective: 100px;
    transform-style: preserve-3d;
    transition: transform 0.8s;
  }
}

#tango-cho-select {
  margin: 50px 0 0;
}
#tango-cho-select .doushi {
  position: relative;
}
#tango-cho-select .doushi-sub {
  padding-left: 0;
  color: black;
  position: absolute;
  top: 30px;
  right: 0px;
  width: 200px;
  display: inline-block;
}
#tango-cho-select #doushi > ul {
  display: none;
}
#tango-cho-select .meishi {
  position: relative;
}
#tango-cho-select .meishi-sub {
  padding-left: 0;
  color: black;
  position: absolute;
  top: 30px;
  right: 0px;
  width: 200px;
  display: inline-block;
}
#tango-cho-select #meishi > ul {
  display: none;
}
#tango-cho-select .meishi-category {
  border-radius: 5px;
  margin-bottom: 3px;
  background: #dcdcdc;
}
#tango-cho-select .meishi-category:hover {
  opacity: 0.8;
}
#tango-cho-select .meishi-category > a {
  text-decoration: none;
  font-size: 16px;
  color: #000;
}
#tango-cho-select .tango-cho-select li {
  list-style: none;
}
#tango-cho-select .tango-cho-select {
  text-align: center;
  padding-left: 0;
}

.tango-index td {
  width: 140px;
  margin: 0 10px 0 0;
  padding: 0 20px;
}

button, .btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  font-size: 16px;
  text-decoration: none;
  border: none;
  transition: background-color 0.2s ease;
}

.btn-danger {
  background-color: #dc3545;
  color: #fff;
}
.btn-danger:hover {
  background-color: #c82333;
}

.btn-warning {
  background-color: #ffc107;
  color: #000;
}
.btn-warning:hover {
  background-color: #e0a800;
}

.actions {
  margin-top: 20px;
}

hr {
  margin: 30px 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.3em;
}

p {
  margin-bottom: 15px;
}
