* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif; 
  background-color: #fff;
  color: #474747;
}
/* heder */
.heder {
  width: 100%;
  top: 0px;
  left: 0px;
  background-color: #101285;
  height: 40px;
  line-height: 40px;
}
.header-text {
  color: #fff;
  top: 50%;
  left: 50%;
  margin-left: 2%;
}
/* progress-bar */
.stepper-wrapper {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  margin-bottom: 10px;
}
.stepper-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.stepper-item::before {
  position: absolute;
  content: "";
  border-bottom: 2px solid #ccc;
  width: 100%;
  top: 20px;
  left: -50%;
  z-index: 2;
}
.stepper-item::after {
  position: absolute;
  content: "";
  border-bottom: 2px solid #ccc;
  width: 100%;
  top: 20px;
  left: 50%;
  z-index: 2;
}
.stepper-item .step-counter {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ccc;
  margin-bottom: 6px;
  color: #fff;
}
.stepper-item.active {
  font-weight: bold;
}
.stepper-item.active .step-counter {
  background-color: #101285;
}
.stepper-item.completed .step-counter {
  background-color: #101285;
}
.stepper-item.completed::after {
  position: absolute;
  content: "";
  border-bottom: 2px solid #101285;
  width: 100%;
  top: 20px;
  left: 50%;
  z-index: 3;
}
.stepper-item:first-child::before {
  content: none;
}
.stepper-item:last-child::after {
  content: none;
}

/* main-contents */
.main-contents {
  margin: 5px 20px;
}

/* shoji test */
.choice2 > tbody > tr > td{
  color:#101285;
  text-align: center;
}
.choice2 > tbody > tr > td > input[type="radio"] {
  display: none;
}
.choice2 > tbody > tr > td > input[type="radio"] + label{
    float:left;
    width:145px;
    line-height:40px;
    border: 2px solid #101285;
    border-radius: 5px;
    text-align:center;
    cursor: pointer;
}
.choice2 > tbody > tr > td > input[type="radio"]:checked + label {
  background: #101285;
  color: #ffffff;
}


.choice2-long > tbody > tr > td{
  display:block;
  width:100%;
  color:#101285;
  text-align: center;
  margin-bottom: 50px;
}
.choice2-long > tbody > tr > td > input[type="radio"] {
  display: none;
}
.choice2-long > tbody > tr > td > input[type="radio"] + label{
    float:left;
    width:350px;
    line-height:40px;
    border: 2px solid #101285;
    border-radius: 5px;
    text-align:center;
    cursor: pointer;
}
.choice2-long > tbody > tr > td > input[type="radio"]:checked + label {
  background: #101285;
  color: #ffffff;
}

/* error */
.error-sentence{
/*  font-size: 1.2em;*/
  font-size: 1.4em;
  margin: 5px 20px;
}

/* shoji test fin*/

/* D010 */
/* question-button */
a.btn-question {
  background-color: #5556a0;
  color: white;
  padding: 12px;
  text-decoration: none;
  display: flex;
  border-radius: 6px;
  justify-content: center;
}
.btn-question:hover{
  opacity: 0.8;
}
a.btn-question:hover {
  opacity: 0.8;
}
.next-01btn:hover {
  opacity: 0.8;
}
/* news */
.news {
  margin-top: 3%;
  margin-bottom: 3%;
  display: flex;
  flex-flow: column;
}
.news-content {
  margin-top: 1%;
  text-decoration: none;
  color: black;
}


.align-center{
  text-align :center;
}
.customer-image {
  background-color: rgb(214, 214, 214);
  height: 100px; 
  margin-bottom: 15px;
  width: auto;
/*  width: 100%; */
}

.next-01btnNone {
  background-color: #101285;
  color: white;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  padding: 12px;
  text-decoration: none;
  display: flex;
  border-radius: 6px;
  justify-content: center;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  margin: 10px 20px;
  text-align: center;
  pointer-events:none;
}

.next-01btnAuto{
  background-color: #101285;
  color: white;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  padding: 12px;
  text-decoration: none;
  display: flex;
  border-radius: 6px;
  justify-content: center;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  margin: 10px 20px;
  text-align: center;
  pointer-events:auto;
}
/* D020 */
.back-02btn {
  background-color: #838499;
  color: white;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  padding: 12px;
  text-decoration: none;
  display: flex;
  border-radius: 6px;
  justify-content: center;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  margin: 10px 20px;
  text-align: center;
}
.back-02btn:hover {
  opacity: 0.8;
}

/* D030 */
.next-030405btn {
  background-color: #101285;
  color: white;
  padding: 12px;
  text-decoration: none;
  display: flex;
  border-radius: 6px;
  justify-content: center;
  margin-top: 4%;
}
.back-030405btn:hover {
  opacity: 0.8;
}
.back-030405btn {
  background-color: #838499;
  color: white;
  padding: 12px;
  text-decoration: none;
  display: flex;
  border-radius: 6px;
  justify-content: center;
  margin-top: 4%;
}
.next-030405btn:hover {
  opacity: 0.8;
}

/* form */
input[type="text"],
select {
  padding: 12px 20px;
  margin-bottom: 2%;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
input[type="submit"] {
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.form-content {
  width: 100%;
}
.from-content {
  flex-wrap: wrap;
  min-height: 100vh;
  position: relative;
}

/* radiobtn*/
input[type="radio"] {
  display: none;
}
input[type="radio"]:checked + label{
  background: #101285;
  color: #ffffff;
}
/* short-radiobtn */
.sRadioBtn {
  padding: 0px 0px;
  text-align: center;
  line-height: 45px;
  cursor: pointer;
  border: 2px solid #101285;
  border-radius: 5px;
  color: #101285;
  width: 47%;
}
.sRadioBtns {
  display: flex;
  justify-content: space-between;
}

/* D040 */
/*back-button */
.back-0405btn {
  background-color: #838499;
  color: white;
  padding: 12px;
  text-decoration: none;
  display: flex;
  border-radius: 6px;
  justify-content: center;
}
.back-0405btn:hover,
a.back-0405btn:hover {
  opacity: 0.8;
}

.reference {
  text-decoration: none;
}

/* long-radiobtn */
.lRadioBtns {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 0px;
}
.lRadioBtn {
  background-color: white;
  border: 2px solid #101285;
  border-radius: 6px;
  color: #101285;
  padding: 12px;
  text-decoration: none;
  border-radius: 6px;
  justify-content: center;
  margin-bottom: 10px;
  text-align: center;
}
textarea {
  width: 100%;
  height: 100px;
}

/* D050 */
/* output */
.output {
  color: #027cb4;
  font-size: 20px;
  font-weight: 600;
}

.wrap{
  overflow-wrap: break-word;
}

@media only screen and (min-width: 768px) {
  /* D010 */
  /* main-contents */
  .main-contents {
    margin: 5px 20px;
    margin-left: 5%;
    margin-right: 5%;
  }
  
  .align-center{
  text-align :center;
}
  
  /* .customer-image */
  .customer-image {
    background-color: rgb(214, 214, 214);
    height: 200px; 
    margin: 15px;
    width: auto;
/*    width: 100%;*/
  }
  /* question-button */
  a.btn-question {
    background-color: #5556a0;
    color: white;
    padding: 10px 56px;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 1%;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  }
  .btn-question:hover,
  a.btn-question:hover {
    opacity: 0.8;
  }
  /* news */
  .news {
    display: flex;
    flex-flow: column;
    margin-top: 1%;
  }
  .news-content {
    margin: 5px 20px;
    text-decoration: none;
    color: black;
  }
  .next-01btn {
    background-color: #101285;
    color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    padding: 10px 0px;
    text-decoration: none;
    display: flex;
    border-radius: 6px;
    justify-content: center;
    position: relative;
    bottom: 0;
    align-items: center;
    width: 18%;
    margin: 5% 45%;
  }
  .next-01btn:hover {
    opacity: 0.8;
  }
  /* D020 */
  /* sentence */
  .sentence {
    margin: 5px 20px;
  }
  .back-02btn {
    background-color: #838499;
    color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    padding: 10px 0px;
    text-decoration: none;
    display: flex;
    border-radius: 6px;
    justify-content: center;
    position: relative;
    bottom: 0;
    left: 0;
    text-align: center;
    width: 18%;
    margin: 30% 40%;
  }
.next-030405btn {
    /* 左端 */
    /* background-color: #838499;
    color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    padding: 10px 0px;
    text-decoration: none;
    display: flex;
    border-radius: 6px;
    justify-content: center;
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: 5%;
    margin-bottom: 10px;
    text-align: center;
    width: 25%; */
    /* 真ん中 */
    background-color: #101285;
    color: white;
    padding: 10px 0px;
    text-decoration: none;
    display: flex;
    border-radius: 6px;
    justify-content: center;
    position: relative;
    bottom: 0;
    margin-bottom: 10px;
    text-align: center;
    left: 35%;
    width: 18%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  }
  .back-030405btn:hover {
    opacity: 0.8;
  }
  /* next-prev-button */
  .back-030405btn {
    /* 右端 */
    /* background-color: #101285;
    color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    padding: 10px 0px;
    text-decoration: none;
    display: flex;
    border-radius: 6px;
    justify-content: center;
    position: relative;
    bottom: 0;
    right: 0;
    text-align: center;
    width: 18%;
    margin: 5% 50px 10px auto; */
    /* 真ん中 */
    background-color: #838499;
    color: white;
    padding: 10px 0px;
    text-decoration: none;
    display: flex;
    border-radius: 6px;
    justify-content: center;
    position: relative;
    bottom: 0;
    margin-bottom: 10px;
    text-align: center;
    left: 40%;
    width: 18%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  }
  .next-030405btn:hover {
    opacity: 0.8;
  }
  /* footer */
  footer {
    display: flex;
    margin-top: 5%;
  }

  /* D030 */
  /* form */
  input[type="text"],
  select {
    padding: 12px 20px;
    margin-bottom: 1%;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }
  input[type="submit"] {
    width: 100%;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  .form {
    display: flex;
  }
  /* short-radiobtn */
  input[type="radio"].squareRadio {
    display: none;
  }
  input[type="radio"]:checked.squareRadio + label {
    background: #101285;
    color: #ffffff;
  }
  .sRadioBtn {
    padding: 0px 00px;
    text-align: center;
    line-height: 45px;
    cursor: pointer;
    border: 2px solid #101285;
    border-radius: 5px;
    color: #101285;
    width: 47%;
  }
  .sRadioBtns {
    width: 30%;
    display: flex;
    justify-content: space-between;
  }
  /* D040 */
  /*back-button */
  .back-0405btn {
    background-color: #838499;
    color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    padding: 10px 0px;
    text-decoration: none;
    display: flex;
    border-radius: 6px;
    justify-content: center;
    position: relative;
    margin: 5% 40%;
    margin-top: 5%;
    margin-bottom: 10px;
    text-align: center;
    width: 18%;
  }
  .back-0405btn:hover,
  a.back-0405btn:hover {
    opacity: 0.8;
  }
  .reference {
    text-decoration: none;
  }
  /* long-radiobtn */
  .lRadioBtns {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px 0px;
    width: 50%;
  }
  .lRadioBtn {
    background-color: white;
    border: 2px solid #101285;
    border-radius: 6px;
    color: #101285;
    padding: 12px;
    text-decoration: none;
    border-radius: 6px;
    justify-content: center;
    margin-bottom: 10px;
    text-align: center;
  }
  textarea {
    width: 100%;
    height: 100px;
  }
  /* D050 */
  /* output */
  .output {
    color: #027cb4;
    font-size: 20px;
    font-weight: 600;
  }  
  
}