.ex-flex {
  display: flex;
  align-items: center;
  gap:.8rem
}
.exam-modal--cont{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap:1rem
}
.ex-flex .katex-display{display: inline-block;}
.ex-flex input{
  width: 4rem;
  text-align: center;
  height: 4rem;
  border:1px solid #A3A3A3;
  border-radius: .6rem;
}
.ex-flex input:focus {
  background-color: #EBF1F5;
  border-color:#000;
}
.exam-modal {
  display: flex;
  gap:1.4rem;
}
.exam-modal--num{
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  font-size: 1.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top:2.4rem;
}
.ui-modal-body{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ui-modal-body .btn-base {
  width: 5rem;
  height: 4rem;
  background-color: #0880DB;
  color: #fff;
  font-size: 1.6rem;
  border-radius: 0.6rem;
  position: relative;
  margin-top: 2rem;
}
.quiz-100 {
  margin-top: 0;
  position: relative;
  width: calc(100% + 3.2rem);
  margin-left: -1.6rem;
  background: url(./images/bg.png) no-repeat 50% 0 / 100%;
}
.quiz-100--name {
  display: none;
  position: relative;
  border-radius: 1rem;
  border: .4rem solid #B88357;
  background-color: #fff;
  width: 15rem;
  overflow: hidden;
}
.quiz-100--name::before{
  content: "";
  position: absolute;
  top:0;
  left:33%;
  width: 34%;
  border-left:.4rem solid #B88357; 
  border-right:.4rem solid #B88357; 
  pointer-events: none;
  height: 100%;
  display: block;
}
.quiz-100--name input {
  border:1px solid #000;
  width:100%;
  flex: 1;
  height: 4.4rem;
  font-size: 2.4rem; 
  border: 0;
  text-align: center;
  background-color: transparent;
}
.quiz-100--wrap{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 5rem;
  padding: 5.4rem 6rem 0 7.3rem;
  height: 42.3rem;
}
.quiz-100--puzzle {
  display: flex;
  gap:1rem;
  flex-direction: column;
  align-items: center;
  width: 100%;
  flex: 1;
  margin-top: 5.1rem;
}
.quiz-100--puzzle-wrap {
  display: flex;
  gap:0;
  height: 6rem;
  width: 100%;
  justify-content: flex-start;
}

.quiz-100--puzzle-box {
  display: flex;
  gap: 1.2rem;
  flex-direction: column;
  align-items: center;
  /* border: 1px solid blue; */
  width: 100%;
  padding: 6rem 2rem 2rem;
  height: 25.5rem;
}
.quiz-100--puzzle-box .arrow {
  width: 2.9rem;
  display: none;
}
.quiz-100--puzzle-item.on{
  display: flex;
}
.quiz-100--puzzle-item {
  display: none;
  width: 3.8rem;
  height: 6rem;
  flex-direction: column;
  position: relative;
}
.quiz-100--puzzle-item b {
  font-size: 1rem;
  display: block;
  padding: 0.6rem 0 0 0.4rem;
}
.quiz-100--puzzle-item span {
  display: block;
  width: 100%;
  text-align: center;
}
.quiz-100--table {
  width: 30rem;
  position: relative;
}
.quiz-100--table table{
  table-layout: fixed;
  width: 100%;
}
.quiz-100--table tbody td:last-child{
  border-right:0 !important
}
.quiz-100--table tbody td{
  border-bottom:1px solid #000;
  border-right:1px solid #000;
  text-align: center;
  width: 3.75rem;
  height: 3.35rem;
}
.quiz-100--table tbody th {
  background-color: #f2f2f2;
  border:1px solid #fff;
  border-radius: 1.2rem 0 0 1.2rem;
  height: 3.75rem;
}
.quiz-100--table thead th:first-child {
  border-radius: 1.2rem 1.2rem 0 1.2rem;
}
.quiz-100--table thead th {
  background-color: #f2f2f2;
  border:1px solid #fff;
  border-radius: 1.2rem 1.2rem 0 0;
  height: 3.75rem;
}
.quiz-100--table thead tr:first-child th:first-child{
  padding: 0rem 0.7rem 1.6rem 0;
  text-align: right;
}
.quiz-100--table thead tr + tr{
  position: absolute;
  top: 1.4rem;
  left: 0.6rem;
}
.quiz-100--table thead tr + tr th{
  border:0; 
  background-color: transparent;
  height: auto;
}
.quiz-100--table thead tr + tr th::before {
  content:"";
  display: block;
  position: absolute;
  width: 3rem;
  height: 1px;
  background-color: #000;
  transform: rotate(45deg);
  top:0.8rem; left:0rem;
}
.quiz-100--table tr > *{position: relative;}
.quiz-100--table tr > *::after{
  position: absolute;
  width: 100%;
  height: 100%;
  top:0; left:0;
  background-color: rgba(255, 153, 1, .2);
}
.quiz-100--table tr > *::before{
  position: absolute;
  width: 100%;
  height: 100%;
  top:0; left:0;
  background-color: rgba(255, 153, 1, .2);
}
.quiz-100--table[data-x="1"] tr > *:nth-child(1)::after {content:""}
.quiz-100--table[data-x="2"] tr > *:nth-child(2)::after {content:""}
.quiz-100--table[data-x="3"] tr > *:nth-child(3)::after {content:""}
.quiz-100--table[data-x="4"] tr > *:nth-child(4)::after {content:""}
.quiz-100--table[data-x="5"] tr > *:nth-child(5)::after {content:""}
.quiz-100--table[data-x="6"] tr > *:nth-child(6)::after {content:""}
.quiz-100--table[data-x="7"] tr > *:nth-child(7)::after {content:""}
.quiz-100--table[data-x="8"] tr > *:nth-child(8)::after {content:""}

.quiz-100--table[data-y="1"] tbody tr:nth-child(1) > *::before {content:""}
.quiz-100--table[data-y="2"] tbody tr:nth-child(2) > *::before {content:""}
.quiz-100--table[data-y="3"] tbody tr:nth-child(3) > *::before {content:""}
.quiz-100--table[data-y="4"] tbody tr:nth-child(4) > *::before {content:""}
.quiz-100--table[data-y="5"] tbody tr:nth-child(5) > *::before {content:""}
.quiz-100--table[data-y="6"] tbody tr:nth-child(6) > *::before {content:""}
.quiz-100--table[data-y="7"] tbody tr:nth-child(7) > *::before {content:""}

.quiz-100[data-step="is-name"] .quiz-100--puzzle .arrow{display: block;}
.quiz-100[data-step="is-name"] .quiz-100--puzzle .quiz-100--name{display: flex;}


.quiz-100--quiz {
  min-width: 10rem;
  height: 4rem;
  background-color: #0880DB;
  color: #fff;
  border-radius: .6rem;
  font-size: 1.6rem;
  flex-shrink: 0;
  padding:0 1.6rem;
}
.quiz-100--button:hover{
  background-color: #0061AB;
  transition: all 200ms;
}
.quiz-100--btn-wrap{
  margin-top: 2.4rem;
  display: flex;
  width: 100%;
  justify-content: center;
}
.quiz-100 .ui-modal.ready .ui-modal-dim{display: none !important;}
.quiz-100 .ui-modal {position: absolute;}
.quiz-100 .ui-modal-wrap{max-width: 30rem;}
[data-word="1"] {
  width: 3.7rem;
  background: url(./images/puzzle-3.png) no-repeat 50% 50% / 100%;
}
[data-word="2"] {
  width: 4.5rem;
  background: url(./images/puzzle-4.png) no-repeat 50% 50% / 100%;
  margin: -0.9rem 0 0 -1rem;
  padding: 0.9rem 0 0 0.6rem;
}
[data-word="3"] {
  width: 5.5rem;
  background: url(./images/puzzle-5.png) no-repeat 50% 50% / 100%;
  margin: 0.1rem 0 0 -1rem;
  padding: 0rem 0 0 0rem;
}
[data-word="4"] {
  width: 3.7rem;
  background: url(./images/puzzle-6.png) no-repeat 50% 50% / 100%;
  margin: -0.4rem 0 0 -0.9rem;
  padding: 0.4rem 0 0 0rem;
}
[data-word="5"] {
  width: 4.7rem;
  background: url(./images/puzzle-1.png) no-repeat 50% 50% / 100%;
  margin: -0.4rem 0 0 -0.9rem;
  padding: 0.4rem 0 0 0.7rem;
}
[data-word="6"] {
  width: 4.7rem;
  background: url(./images/puzzle-2.png) no-repeat 50% 50% / 100%;
  margin: -0.4rem 0 0 -1rem;
  padding: 0.4rem 0 0 0.7rem;
}
[data-word="2"] b{padding-left: 0.7rem;}
[data-word="3"] b{padding-left: 1.4rem;}
[data-word="4"] b{padding-left: 0.6rem;}
[data-word="5"] b{padding-left: 0.6rem;}
[data-word="6"] b{padding-left: 0.6rem;}

.exam-item{
  align-items: center;
}
.exam-item--cont {
  flex-direction: row;
  display: flex;
  align-items: center;
  gap:2rem;
}
.exam-item--cont div:first-child{width: 14rem;}
.exam-item--cont .icon-arrow + div{width: 11rem;}

.page-rule--list{margin-top: 4rem;}
.page-rule--list-item .num ~.num {transform: translateY(-0.1rem); margin-right: .2rem;}
.page-rule--list-item span{display: inline-block;}
.page-rule--list-item .quiz-100--quiz {display:inline-flex;align-items:center;justify-content:center;height:3.2rem;width:auto;padding:0 1.2rem;font-size:1.5rem;min-width:0}

.error{color:red}
.flex-align {display:flex;align-items:center}
.quiz-100--table thead tr:first-child th:first-child > span{
  transform: translate(0.3rem, 0);
  display: block;
}

.ex-flex input::placeholder{color:transparent}

