*,
html {
  font-family: "Avenir Next", "Yantramanav", "Noto Sans JP", "Helvetica", Arial;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.wrap-app {
  height: 100vh;
}

.wrap-app .fg-form {
  height: 100%;
}

.form-over {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 110px);
  flex: 1;
  background: url(./images/full.1eebde9.png) no-repeat top !important;
  background-size: cover !important;
  background-attachment: fixed !important;
  padding-top: 4px;
  overflow-y: auto;
}

.form-over-update {
  height: calc(100vh) !important;
}

.form-wrapper {
  flex: 1;
  padding: 0 15px 20px;
  margin: 0 20px;
  background-color: #fff;
}

.form-wrapper.thankyou {
  height: calc(100vh - 4px);
  color: #1e5199;
  margin-top: 0;
}

.fg-form {
  display: flex;
  flex-direction: column;
  box-shadow: none !important;
}

.fg-input {
  position: relative;
  font-size: 0;
  display: flex;
  align-items: center;
}

.label-first {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}

.fg-form-item .fg-form-item__label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #1e5199;
  font-weight: bold;
  margin-left: 0;
  margin-right: 0;
  font-size: 14px;
}

.fg-form-item .fg-form-item__label.align-end {
  justify-content: flex-end;
}

.fg-form-item .img-icon {
  margin-left: 10px;
}

.fg-form-item__label__warning {
  color: #db3394;
  margin-left: 10px;
}

.fg-form-item {
  margin-bottom: 15px;
}

.fg-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  margin: 0;
  height: 40px;
  line-height: 40px;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  border: none;
  background: #1295ce;
  color: #fff;
  cursor: pointer;
  vertical-align: middle;
  font-weight: 900;

  width: 260px;
  height: 54px;
  border-radius: 40px;
  justify-content: center;
  z-index: 30;
}

.fg-button:disabled {
  opacity: 0.5;
}

.fg-form-item-button {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 100%;
  height: 110px;
  min-height: 100px;
  max-height: 110px;
  background-color: #f2f6fa;
  z-index: 15;
  position: sticky;
  left: 0;
  bottom: 0;
  border: #f2f6fa 1px solid;
}

.fg-input input,
.fg-input textarea {
  display: block;
  margin: 0;
  width: 100%;
  max-width: 100%;
  color: #1e5199;
  outline: none;
  border: 1px solid #0786bd;
  border-radius: 4px;
  padding: 0 16px;
  transition: all 0.2s ease-in-out;
}

.fg-input .__l,
.fg-input .__r {
  position: absolute;
  top: 0;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 12px;
}
.fg-input .__l {
  left: 10px;
}
.fg-input .__length {
  display: inline-flex;
  align-items: center;
  padding-right: 5px;
  color: #748eb7;
}

.fg-input .__clear {
  display: none;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  transition: all 0.2s ease-in-out;
  font-size: 0;
  cursor: pointer;
}

.fg-input .__clear .fg-icon {
  transform: rotate(45deg);
}
.fg-input .__calendar {
  display: none;
}

.fg-input.__regular.__round input {
  border-radius: 20px;
}
.fg-input.__regular input {
  padding: 0 10px;
  height: 54px;
  font-size: 12px;
  border-radius: 8px;
  border: #1e5199 1px solid;
}
.fg-input.__regular select {
  width: 100%;
  height: 54px;
  border: 1px solid #1e5199;
  border-radius: 8px;
  color: #1e5199;
  padding: 0px 9px;
  background-color: white;
}
label {
  margin: 10px;
}
.icon-fill {
  color: #fff;
}
.form-complete {
  display: flex;
  margin-top: 10vh;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.form-complete-text-header {
  margin-top: 20px;
  margin-bottom: 30px;
  font-size: 18px;
  font-weight: 1200;
}
.form-complete-text-detail {
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 10px;
}
@media screen and (min-width: 768px) {
  .form-over {
    padding-top: 8px;
  }
  .form-wrapper {
    padding: 0 25px;
  }
  .form-complete-text-header {
    font-size: 36px;
  }
  .form-complete-text-detail {
    font-size: 24px;
    font-weight: 500;
  }
  .form-complete svg {
    height: 110px;
    width: 110px;
  }
}

.hidden {
  display: none !important;
}
[type="date"] {
  background: #fff url(images/calendar.svg) 97% 50% no-repeat;
}
[type="date"]::-webkit-inner-spin-button {
  display: none;
}
[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
}

/* custom styles */

label {
  display: block;
}
input {
  border: 1px solid #c4c4c4;
  border-radius: 5px;
  background-color: #fff;
  padding: 3px 5px;
  box-shadow: none;
  width: 190px;
}

.loading-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 17, 0.3);
  top: 0;
  left: 0;
  z-index: 9999;
}
.spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -30px;
  margin-left: -25px;
  width: 50px;
  height: 60px;
  text-align: center;
  font-size: 10px;
}
.spinner > div {
  background-color: #0786bd;
  height: 100%;
  width: 6px;
  display: inline-block;
  -webkit-animation: stretchdelay 1.2s infinite ease-in-out;
  animation: stretchdelay 1.2s infinite ease-in-out;
}
.spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}
.spinner .rect3 {
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}
.spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}
.spinner .rect5 {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}
@-webkit-keyframes stretchdelay {
  0%,
  40%,
  100% {
    -webkit-transform: scaleY(0.4);
  }
  20% {
    -webkit-transform: scaleY(1);
  }
}
@keyframes stretchdelay {
  0%,
  40%,
  100% {
    transform: scaleY(0.4);
    -webkit-transform: scaleY(0.4);
  }
  20% {
    transform: scaleY(1);
    -webkit-transform: scaleY(1);
  }
}

.container-gray {
  background-color: #F2F6FA;
  padding: 0 15px;
  margin: 0 20px;
}
.container-gray .fg-form-item__label {
  margin-top: 30px;
}
.content-text {
  height: 95%;
  overflow: auto;
}
.policy-detail-content {
  background-color: #fff;
  border: 1px solid #dfe6f0;
  border-radius: 5px;
  margin-top: 10px;
  padding: 25px 10px;
  min-height: 100px;
  max-height: 300px;
  overflow: auto;
}
.content-text {
  color: #1e5199;
  word-break: break-all;
}

.wrap-loading {
  display: flex;
  justify-content: center;
  align-items: center;
}

.wrap-loading .spinner {
  z-index: 20;
}

.wrap-loading .overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  background-color: #000;
  opacity: 0.2;
  height: 100vh;
  width: 100%;
}
.wrap-loading.hidden {
  display: none;
}

.show-birthday-input {
  background: #fff url(images/calendar.svg) 97% 50% no-repeat;
  z-index: 9;
}

.birthday-input {
  opacity: 0;
  position: absolute;
  left: 0;
  z-index: 10;
}
.login-text {
  font-size: 18px;
  font-weight: bold;
}
.login-image {
  position: absolute;
  top: 50%;
  right: 15%;
  transform: translateY(-50%);
  z-index: 10;
}
#store:focus-visible {
  outline: none;
}
.mode-company {
  margin-bottom:0;
}
.mt-0 {
  margin-top:0;
}
.policy-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 30px;
}
.policy-title input {
  padding: 0;
  width: auto;
  width: 28px;
  height: 28px;
  outline: none;
  border-radius: 4px;
  border: 1px solid #1E5199;
}
.policy-title span,a {
  display: inline;
  font-size: 14px;
  color: #1E5199;
  font-weight: bold;
  margin-left: 10px;
}
.mt-40 {
  margin-top: 40px;
}
