@charset "UTF-8";

/*------------------------------------
MOPM
styles for regist page
added 2023/07
--------------------------------------*/

/* =============================================
  Custom Properties
============================================= */
:root {
  /* logo colors */
  --logo-gmo-blue: #005bac;
  --logo-gmo-gray: #5a5858;
  --logo-zcom-red: #d62825;

  /* Singapore theme colors */
  --zcom-color1: #283154;
  --zcom-color2: #ec5a6c;
  --zcom-color3: #dd3251;
  --zcom-color4: #d7dbec;
  --zcom-color5: #f4f4f4;
  --zcom-color6: #e34644;
  --zcom-color7: #ec8382;

  /* common colors */
  --common-black1: #222222;
  --common-gray1: #333333;
  --common-gray2: #555555;
  --common-gray3: #888888;
  --common-gray4: #dddddd;
}

/* ===============================================
  Font Setting
  Noto Sans: 400 (normal) / 700 (bold)
=============================================== */
@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 400;
  src: url(../static/panel/fonts/NotoSans-Regular.woff) format("woff");
}
@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 700;
  src: url(../static/panel/fonts/NotoSans-Bold.woff) format("woff");
}

/* ===============================================
  regist form: reset / base setting
=============================================== */
body {
  background-color: #ffffff;
  font-size: 1.4rem;
  color: var(--common-gray2);
  line-height: 1.5;
  font-family: "Noto Sans", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  padding-top: 56px;
  -webkit-text-size-adjust: 100%;
}

@media screen and (min-width: 834px) {
  body {
    font-size: 1.6rem;
  }
}

input[type="submit"],
input[type="button"] {
  appearance: button;
  box-sizing: border-box;
}

input[type="submit"]:focus,
input[type="button"]:focus {
  outline-offset: -2px;
}

input[type*="button"] {
  cursor: pointer;
}

input[type="number"] {
  appearance: textfield;
}

img {
  max-width: 100%;
  height: auto;
  backface-visibility: hidden;
}

/* ===============================================
  regist form: header
=============================================== */
header {
  background-color: #ffffff;
  box-shadow: 0 0 4px var(--common-gray2);
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 10000;
  overflow: hidden;
}
@media screen and (min-width: 769px) {
  header {
    top: 36px;
  }
}

.header {
  max-width: 1366px;
  margin: 0 auto;
  position: relative;
  box-shadow: none;
}
@media screen and (max-width: 1024px) {
  .header {
    padding-right: 0;
  }
}
@media screen and (max-width: 834px) {
  .header {
    padding-left: 0;
  }
}
@media screen and (min-width: 769px) {
  .header {
    height: 56px;
  }
}

.header img,
.header svg {
  height: auto;
}

.headerWithBox {
  max-width: 1366px;
  height: 56px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media screen and (max-width: 1024px) {
  .headerWithBox {
    padding-left: 0;
    padding-right: 0;
  }
}
@media screen and (max-width: 425px) {
  .headerWithBox {
    padding-top: 0;
    padding-left: 0;
    margin-left: 0;
  }
}

/* ---------------------------
  logo
--------------------------- */
.header-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.headerWithBox a {
  flex: 0 1 calc((228 / 768) * 100%);
  line-height: 1;
  padding: 2vw 0 2vw 2vw;
}
@media screen and (min-width: 769px) {
  .headerWithBox a {
    flex: 0 1 228px;
    padding: 0 0 0 8px;
  }
}
@media screen and (min-width: 1024px) {
  .headerWithBox a {
    flex: 0 1 295px;
  }
}

.headerWithBox .siteLogo {
  width: 228px;
  max-width: 228px;
  min-width: 100px;
  height: auto;
  transition: 0.3s;
}
@media screen and (max-width: 425px) {
  .headerWithBox .siteLogo {
    width: 148px;
    max-width: 148px;
  }
}
@media screen and (min-width: 1024px) {
  .headerWithBox .siteLogo {
    width: 295px;
    max-width: 295px;
  }
}

/* ===============================================
  regist form: contents
=============================================== */
main.registform {
  padding: 32px 0;
  background: linear-gradient(#fef3f3 0%, #fdf9f1 50.25%, #fdf3f4 100%);
  position: relative;
  transition: 0.3s;
}
@media screen and (min-width: 834px) {
  main.registform {
    padding: 80px 0;
  }
}

.content-block__box.form {
  width: 90%;
  max-width: 570px;
  padding: 4rem 2rem;
  background-color: #ffffff;
  border-radius: 36px;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .content-block__box.form {
    padding: 8vw 4vw;
  }
}

/* notes */
.content-block__box.form .notes {
  margin: 0 0 0 1rem;
  background-color: #fff5f5;
  color: #ff6464;
  font-size: 12px;
  font-weight: 400;
}
@media screen and (max-width: 425px) {
  .content-block__box.form .notes {
    margin: 0 0 0.5rem;
    display: block;
  }
}

/*****
title
******************************/
.form-maintitle {
  margin-bottom: 2rem;
  padding: 0 2rem;
  text-align: center;
  line-height: 1.3;
}

.form-maintitle img,
.form-maintitle span {
  display: inline-block;
}

.form-maintitle img {
  width: 100%;
  max-width: 340px;
}

.form-maintitle span {
  font-size: 2.4rem;
  color: var(--common-gray2);
}
@media screen and (max-width: 768px) {
  .form-maintitle span {
    font-weight: 700;
  }
}
@media screen and (max-width: 425px) {
  .form-maintitle span {
    font-size: 4.8vw;
  }
}

main.registform h3 {
  color: var(--common-gray2);
  font-weight: 700;
  font-size: 18px;
  transition: 0.3s;
  margin-bottom: 0.8rem;
}

@media screen and (min-width: 834px) {
  main.registform h3 {
    text-align: center;
    letter-spacing: -0.5px;
    font-size: 20px;
  }
}

/* ===============================================
  regist form: form
=============================================== */
.index--header_inputSignin {
  max-width: 400px;
  margin: 3.2rem auto 0 auto;
}

.index--header_inputSignin dl {
  margin-top: 1.6rem;
}

.index--header_inputSignin dd {
  margin-top: 0.6rem;
}

.index--header_inputSignin input[type="text"],
.index--header_inputSignin input[type="password"],
.index--header_inputSignin input[type="email"],
.index--header_inputSignin input[type="tel"],
.index--header_inputSignin input[type="number"],
.index--header_inputSignin select {
  width: 100%;
  height: 44px;
  border: 1px solid #999;
  color: var(--common-gray2);
  font-size: 1.8rem;
  border-radius: 4px;
}

.index--header_inputSignin input[type="text"]:focus,
.index--header_inputSignin input[type="password"]:focus,
.index--header_inputSignin input[type="email"]:focus,
.index--header_inputSignin input[type="tel"]:focus,
.index--header_inputSignin input[type="number"]:focus,
.index--header_inputSignin select:focus {
  border-color: var(--zcom-color1);
}

.index--header_inputSignin input[type="text"],
.index--header_inputSignin input[type="password"],
.index--header_inputSignin input[type="email"],
.index--header_inputSignin input[type="tel"],
.index--header_inputSignin input[type="number"] {
  display: block;
  padding: 0.5em;
}

.index--header_inputSignin select {
  width: 100%;
  background-color: #ffffff;
  padding-left: 0.5em;
  padding-right: 0.5em;
  cursor: pointer;
}

.index--header_inputSignin select:not(:first-child) {
  margin-left: 0.5em;
}

/*****
  form: Common styles
******************************/
.form-item__title {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
}

.form-item__caption {
  margin-top: 0.6rem;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.3;
}
.form-item__caption em {
  display: inline-block;
  background-color: #fff5f5;
  padding: 0.1rem 0.5rem;
  color: #ff6464;
}

/* required */
.form-item__title .required {
  display: inline-block;
  font-weight: 400;
  color: var(--zcom-color6);
}

/* error message */
.alert {
  display: block;
  margin-top: 0.8rem;
  font-size: 1.4rem;
  line-height: 1.3;
}
@media screen and (max-width: 425px) {
  .alert {
    font-size: 1.2rem;
  }
}

/*****
  form: Date of birth
******************************/
.form-item__birthday {
  display: flex;
}

.form-item__birthday select {
  width: auto;
}

.form-item__birthday select:nth-child(n+2) {
  margin-left: 1.2rem;
}

/*****
    form: Gendar
******************************/
.genderBox {
  margin-bottom: 0;
}

.genderBox dd {
  display: block;
}

.genderBox div:first-child {
  width: 100%;
  display: block;
}

.genderBox div.form-item__gender {
  display: flex;
  position: relative;
}

.genderBox div.form-item__gender label {
  flex: 0 1 50%;
  display: block;
  line-height: 44px;
  border: 1px solid #999999;
  text-align: center;
  padding-left: 20px;
  position: relative;
  border-radius: 4px;
  letter-spacing: .1em;
  background-color: #ffffff;
  cursor: pointer;
}

.genderBox div.form-item__gender label::before {
  content: "";
  display: block;
  position: absolute;
  top: 15px;
  left: 15px;
  width: 15px;
  height: 15px;
  border: 1px solid #999999;
  border-radius: 50%;
}

.genderBox div.form-item__gender input[type="radio"] {
  display: block;
  opacity: 0;
  position: absolute;
  margin: 0;
}

.genderBox div.form-item__gender #RegistSexCd1 {
  left: 0;
}

.genderBox div.form-item__gender #RegistSexCd2 {
  left: 52%;
}

/* checked */
.genderBox div.form-item__gender input[type="radio"]:focus + label,
.genderBox div.form-item__gender input[type="radio"]:checked + label {
  color: #ffffff;
  background-color: #ff6464;
  border: 1px solid #ff6464;
}

.genderBox div.form-item__gender input[type="radio"]:focus + label::after,
.genderBox div.form-item__gender input[type="radio"]:checked + label::after {
  content: "";
  display: block;
  position: absolute;
  top: 18px;
  left: 18px;
  width: 9px;
  height: 9px;
  background-color: #ffffff;
  border-radius: 50%;
}

.genderBox div.form-item__gender input[type="radio"]:focus + label::before,
.genderBox div.form-item__gender input[type="radio"]:checked + label::before {
  border: 1px solid #ffffff;
}

/* error */
.genderBox .alertInside div.form-item__gender label::before {
  background-color: #ffffff;
}
.genderBox .alertInside div.form-item__gender input[type="radio"]:focus + label::before,
.genderBox .alertInside div.form-item__gender input[type="radio"]:checked + label::before {
  background-color: transparent;
}
.genderBox .alertInside div.form-item__gender label {
  background-color: rgba(195, 45, 57, 0.15);
}


/*****
    agreement
******************************/
.agreeBox {
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  border-radius: 4px;
  border: 1px solid #bfcacb;
  margin-top: 1rem;
  padding: 1.6rem 1.6rem 1.6rem 2.4rem;
  box-sizing: border-box;
  transition: .3s;
}

@media screen and (max-width: 425px) {
  .agreeBox {
    padding: 1rem 1rem 1rem 2rem;
  }
}

.form-item__agree_check input[type=checkbox] {
  border: 1px solid #bfcacb;
  background-color: #ffffff;
  width: 20px;
  height: 20px;
  margin: 0;
  transform: scale(1.5);  /* =30px */
  vertical-align: middle;
  border-radius: 4px;
  cursor: pointer;
}

.agreeBox .popup {
  flex: 0 1 auto;
  color: #ff6464;
  font-size: 1.6rem;
  line-height: 1.5;
}

@media screen and (max-width: 425px) {
  .agreeBox .popup {
    font-size: 1.4rem;
  }
}

.agreeBox .popup:hover {
  text-decoration: none;
}

.form-item__agree_check {
  flex: 0 0 40px;
}

/* error */
.alertInside .agreeBox {
  background-color: rgba(195, 45, 57, 0.15);
}


/*****
    BeforeLoginPage:　Input Error
******************************/
.nyuryokuError {
  text-align: center;
  margin-bottom: 16px;
  padding: 4px;
}

.nyuryokuError {
  background-color: #c32d39;
  color: #ffffff;
  animation: registform_fadeIn 3s ease 0s 1 normal;
}

.nyuryokuError::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f06a";
  margin-right: 8px;
  font-size: 1.8rem;
  opacity: 0.7;
}

@keyframes registform_fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*****
    buttons
******************************/
.btnCenter {
  text-align: center;
  margin-top: 32px;
  margin-bottom: 40px;
}

.btnCenter i {
  margin-left: 0.5em;
}

.register-button {
  position: relative;
  display: block;
  width: 240px;
  max-width: 88%;
  margin: auto;
  padding: 1rem 1.6rem;
  border-radius: 30px;
  background: linear-gradient(#fff 0%, #fef7f7 51.23%, #f8fdac 100%);
  box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.43);
  border: none;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  transition: 0.3s;
  cursor: pointer;
}

.register-button:hover {
  opacity: 0.9;
  box-shadow: none;
}

.register-button:active {
  box-shadow: none;
}

@media screen and (min-width: 834px) {
  .register-button {
    width: 280px;
    margin: 2.4rem auto 0;
  }
}

/* text gradient */
.register-button span {
  background: linear-gradient(-90deg, #fa6a00 0%, #fd2c2c 45.32%, #ff2c75 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: -0.02em;
}

/* submit button */
.index--header_inputSignin_buttonArea {
  margin: 6rem 0 4rem 0;
}

.index--header_inputSignin_buttonArea .register-button {
  max-width: 200px;
  height: 56px;
  background: linear-gradient(-90deg, #ffac64 0%, #ff6464 50.25%, #ff6464 100%);
  font-size: 1.6rem;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.2);
}

.index--header_inputSignin_buttonArea .register-button:hover {
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0);
}

.index--header_inputSignin_buttonArea .register-button:active {
  box-shadow: none;
}


/* =============================================
  Referral form: reset / base setting
============================================= */
body.referral main.registform img {
  vertical-align: top;
}


/* =============================================
  Referral form: Main visual
============================================= */
body.referral .referral-mv {
  width: auto;
  max-width: 850px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  line-height: 1;
  box-sizing: content-box;
}

.referral-mv a {
  transition: 0.5s;
}

.referral-mv a:hover {
  opacity: 0.7;
}

.referral-mv__pc {
  display: inline-block;
}
@media screen and (max-width: 768px) {
  .referral-mv__pc {
    display: none;
  }
}

.referral-mv__sp {
  display: none;
}
@media screen and (max-width: 768px) {
  .referral-mv__sp {
    display: inline-block;
  }
}


/* =============================================
  Referral form: Catchphrase
============================================= */
body.referral .referral-catchphrase {
  max-width: 850px;
  margin: 3rem auto;
  padding: 0 2rem;
  box-sizing: content-box;
  text-align: center;
}

body.referral .referral-catchphrase__title {
  margin: 0;
  font-size: 3.2rem;
  color: var(--zcom-color2);
  line-height: 1.3;
}
@media screen and (max-width: 768px) {
  body.referral .referral-catchphrase__title {
    font-size: 3rem;
  }
}
@media screen and (max-width: 425px) {
  body.referral .referral-catchphrase__title {
    font-size: 6.4vw;
  }
}

body.referral .referral-catchphrase__title br {
  display: none;
}
@media screen and (max-width: 768px) {
  body.referral .referral-catchphrase__title br {
    display: block;
  }
}

.referral-catchphrase__txt {
  margin-top: 1.6rem;
  font-size: 2rem;
  line-height: 1.5;
}
@media screen and (max-width: 425px) {
  .referral-catchphrase__txt {
    font-size: 4vw;
  }
}

.referral-catchphrase__txt a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--zcom-color3);
  text-decoration: none;
  border-bottom: 1px solid var(--zcom-color2);
  transition: .3s;
}
@media screen and (max-width: 425px) {
  .referral-catchphrase__txt a {
    font-size: 4vw;
  }
}

.referral-catchphrase__txt a:hover {
  color: var(--zcom-color2);
  border-color: var(--zcom-color2);
}


/* =============================================
  Referral form: Warning
============================================= */
.referral-warning {
  max-width: 600px;
  margin: 0 auto 5rem auto;
  padding: 1.6rem 2rem;
  border: 1px solid var(--zcom-color7);
  text-align: center;
  background-color: #ffffff;
}
@media screen and (max-width: 768px) {
  .referral-warning {
    max-width: 100%;
    margin-left: 2rem;
    margin-right: 2rem;
  }
}
@media screen and (max-width: 425px) {
  .referral-warning {
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
  }
}

.referral-warning__txt {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
}
@media screen and (max-width: 425px) {
  .referral-warning__txt {
    font-size: 1.4rem;
  }
}

.referral-warning__txt strong {
  font-weight: 700;
  color: var(--zcom-color3);
}
