*{
  margin: 0;
  padding: 0;
  color: inherit;
  text-decoration: none;
  font-style: normal;
  font-family: inherit;
  font-size: inherit;
  list-style: none;
  box-sizing: border-box;
  border-collapse: collapse;
  outline: inherit;
}

:root{
  --deep-blue:#204680;
  --blue:#2b96b4;
  --light-blue:#78B7D0;
  --yellow:#FFDC7F;
}

html{
  width: 100%;
  height: 100%;
  height: -webkit-fill-available;
  font-size: 10px;
}

body{
  min-height: 100vh;
  color: #000;
  line-height: 1.8;
  font-family: "Noto Sans JP", sans-serif;
  background: #fff; 
  display: flex;
  flex-direction: column;
}

.flex{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

a{
  display: block;
}

/* ----------header---------- */
header{
  padding: 40px 0;
  background: var(--deep-blue);
  color: #fff;
}

.header_inner{
  text-align: center;
}

.header_inner h1{
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: .2rem;
}

/* ----------tx-page---------- */
.tx-page,.us-page,.ma-page {
  width: 100%;
  padding: 30px 0 60px;
  margin: 0 auto;
  background: url(../images/AdobeStock_924675142_Preview.png) center/cover;
  flex: 1;
}

.form {
  width: 720px;
  background: #fff;
  margin: 30px auto;
  padding: 45px;
  text-align: center;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
  z-index: 10;
}

.back-login{
  width: 200px;
}

.form input,.question p{
  width: 100%;
  height: 50px;
  background: #f2f2f2;
  border: 0;
  margin: 5px 0;
  padding: 0 15px;
  box-sizing: border-box;
  font-size: 1.4rem;
}

.highlight:focus {
  box-shadow: 0 0 8px var(--blue);
}

.us-page .form{
  width: 1000px;
  padding: 0;
}

.us-form,.ma-form{
  padding: 25px 45px 45px;
}

.us-form h2,.ma-form h2{
  font-size: 1.6rem;
  font-weight: 500;
  text-align: left;
  margin-right: 12px;
}

.us-form h2::before,.ma-form h2::before{
  content: "● ";
  color: var(--yellow);
}

.us-form h3,.ma-form h3{
  font-size: 1.4rem;
  font-weight: normal;
  text-align: left;
  margin: 5px 0 0 0;
}

.us-info{
  width: 100%;
}

.user-id{
  align-items: center;
}

.user-id li:first-of-type{
  width: 81%;
}

.explanation,.title p:first-of-type{
  width: 100%;
  background: var(--yellow);
  padding: 15px;
  font-size: 1.6rem;
}

.caution,p.caution1,p.caution2{
  font-size: 1.4rem;
  color: red;
  border-bottom: 1px solid red;
  padding: 5px 10px;
  margin-bottom: 10px;
  text-align: justify;
}

.caution p:first-of-type{
  width: 3%;
}

.caution p:last-of-type{
  width: 97%;
}

p.caution1,p.caution2{
  border: none;
  padding: 0 10px;
  margin-bottom: 0;
  line-height: 2rem;
}

p.caution2{
  margin-bottom: 20px;
}

p.supplement,span.supplement{
  font-size: 1.2rem;
  color: #555555;
  text-align: left;
  margin: 0;
}

.question li{
  width: 48%;
}

.question p{
  font-weight: 500;
  padding: 10px 15px;
  display: flex;
  background: #fff;
  border: 1px solid var(--light-blue);
  text-align: left;
}

.question p:before{
  content: "♦ ";
  color: var(--light-blue);
  padding: 0 6px 0 0;
}

.question{
  margin-top: 20px;
}

.tx-page .form,.ma-page .form{
  padding: 0;
} 

.tx-form,.ma-form{
  width: 100%;
  align-items: center;
  justify-content: center;
}

.to-link{
  margin: 40px 0 65px;
}

.to-link a {
  width: 300px;
  text-transform: uppercase;
  background: var(--blue);
  border: 0;
  margin: 25px auto 0;
  padding: 15px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  -webkit-transition: all 0.3 ease;
  transition: all 0.3 ease;
  cursor: pointer;
  text-align: center;
  display: block;
}

.to-link a:hover {
  background: #26839c;
}

.to-link p {
  font-size: 1.4rem;
}

.buttons button,.buttons a{
  display: block;
}

.form button,a.btn_notice {
  width: 200px;
  text-transform: uppercase;
  background: var(--blue);
  border: 0;
  margin: 25px auto 0;
  padding: 15px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  -webkit-transition: all 0.3 ease;
  transition: all 0.3 ease;
  cursor: pointer;
}

.form button:hover,a.btn_notice:hover {
  background: #26839c;
}

.us-info button{
  width: 160px;
  margin: 8px 0 0 0;
}

a.btn-back {
  width: 200px;
  text-transform: uppercase;
  border: 0;
  padding: 15px;
  font-size: 1.4rem;
  -webkit-transition: all 0.3 ease;
  transition: all 0.3 ease;
  cursor: pointer;
  background: #c8e4ef;
  margin: 20px auto 0;
  color: #000;
  font-weight: normal;
}

a.btn-back::before{
  content: "◀ ";
}

a.btn-back:hover,a.btn-back:active,a.btn-back:focus {
  background: #aadaed;
}

p.error{
  color: red;
  background: rgba(255, 182, 193, 0.3);
  font-size: 1.4rem;
  margin-bottom: 5px;
  padding: 1px 0;
}

p.error:first-of-type{
  margin-top: 20px;
}

.pre-password{
  width: 100%;
  height: 50px;
  border: 2px solid red;
  margin: 5px 0;
  box-sizing: border-box;
  font-size: 1.4rem;
  justify-content: center;
  align-items: center;
}

/*------------------------------
  pop_up
------------------------------*/
.pop_up {
  font-size: 1.4rem;
  width: 100%;
  height: 100vh;
  background: rgba(51, 51, 51, 0.5);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 90;
}

.pop_inner {
  width: 450px;
  padding: 60px 0;
  background: #ffffff;
  box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
}

/* ----------footer---------- */
footer{
  width: 100%;
  background: var(--deep-blue);
  color: #fff;
  font-size: 1rem;
  text-align: center;
  padding: 20px 0;
  flex-shrink: 0;
}

@media screen and (max-width: 1280px) {
/* ----------header---------- */
header{
  padding: 30px 0;
}

/* ----------us-page---------- */
.us-page .form {
  width: 720px;
}

.user-id li:first-of-type{
  width: 100%;
}

.user-id li:last-of-type{
  width: 100%;
}

.question li{
  width: 100%;
}

.question p{
  height: auto;
}

.us-info button{
  margin: 10px auto 0;
}
}

@media screen and (max-width: 768px) {
/* ----------header---------- */
header{
  padding: 20px 0;
}

/* ----------tx-page---------- */
.tx-page .form,.us-page .form,.ma-page .form {
  width: 420px;
}

.back-login{
  width: 200px!important;
}

.us-form,.ma-form{
  padding: 15px 15px 25px;
}

.question p{
  padding: 10px 5px;
  font-size: 1.3rem;
}

.question p:before{
  padding: 0 4px 0 0;
}

.us-info button{
  margin: 5px auto 0;
}

.caution,p.caution1,p.caution2{
  font-size: 1.3rem;
}

.caution p:first-of-type{
  width: 5%;
}

.caution p:last-of-type{
  width: 95%;
}

/*------------------------------
  pop_up
------------------------------*/
.pop_inner {
  width: 350px;
  padding: 40px 0;
}
}

@media screen and (max-width: 500px) {
 /* ----------header---------- */
header{
  padding: 15px 0;
}

.header_inner h1{
  font-size: 2rem;
}

/* ----------tx-page---------- */
.tx-page .form,.us-page .form,.ma-page .form {
  width: 300px;
}

.back-login{
  width: 160px!important;
}

.us-form,.ma-form{
  padding: 5px 15px 15px;
}

.us-form h2,.ma-form h2{
  font-size: 1.4rem;
}

.question p{
  height: auto;
  padding: 10px 5px;
}

.form input {
  height: 45px;
  margin: 0;
  padding: 0 10px;
  font-size: 1.3rem;
}

.explanation,.title p:first-of-type{
  font-size: 1.5rem;
}

.caution,p.caution1,p.caution2{
  font-size: 1.2rem;
  margin-bottom: 8px;
  line-height: 2rem;
}

.caution p:first-of-type{
  width: 6%;
}

.caution p:last-of-type{
  width: 94%;
}

p.caution1,p.caution2{
  padding: 0 5px;
  margin-bottom: 0;
  line-height: 1.8rem;
}

p.caution2{
  margin-bottom: 15px;
}

.to-link{
  margin: 20px 0 45px;
}

.to-link a {
  width: 267px;
  font-size: 1.3rem;
  padding: 10px;
}

.to-link p {
  width: 250px;
  font-size: 1.3rem;
  text-align: left;
}

.form button,.us-info button,a.btn_notice {
  width: 160px;
  margin: 20px auto 0;
  padding: 10px;
  font-size: 1.3rem;
}

.us-info button{
  margin: 5px auto 0;
}

a.btn-back {
  width: 160px;
  margin: 15px auto 5px;
  padding: 10px;
  font-size: 1.3rem;
}

p.error{
  font-size: 1.3rem;
}

.pre-password{
  height: 45px;
}

/*------------------------------
  pop_up
------------------------------*/
.pop_inner {
  width: 260px;
}
}