/* ==========================================================================
   Layout / Base
   ========================================================================== */
.m_size,
main {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

a {
  text-decoration: none;
  color: #8717ff;
}

body {
  margin: 0;
}

footer {
  margin-top: auto;
  padding: 1.2rem 0 calc(44px + 3rem);
  text-align: center;
}

footer {
  padding-bottom: 0 !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.copyRight {
  font-size: 0.85em;
  color: #bbbcbc;
  font-weight: bold;
  padding: 1.75em 0;
}

.copyRight em {
  font-size: 1.6em;
  vertical-align: middle;
  display: inline-block;
  line-height: 1;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.flex,
.flexB,
.flexC,
.flexW {
  display: flex;
}

.flexB {
  justify-content: space-between;
}

.flexC {
  justify-content: center;
  align-items: center;
}

.flexW {
  flex-wrap: wrap;
}

.icon {
  width: 100%;
  height: 100%;
}

.caps {
  font-size: 0.9rem;
  letter-spacing: 0.1rem;
  line-height: 1.6;
  display: inline-block;
  padding-top: 1rem;
}

/* Animation */
.dlt_1 {
  transition: all 0.6s ease-out;
  transform: translateY(30%);
  opacity: 0;
}

.dlt_1.started {
  transform: none;
  opacity: 1;
}

/* ==========================================================================
   Form / Reset (buttons, inputs, etc.)
   ========================================================================== */
input,
textarea {
  margin: 0;
  padding: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  margin: 0;
}

button,
input,
select {
  overflow: visible;
  -webkit-appearance: none;
}

button,
select {
  text-transform: none;
}

select::-ms-expand {
  display: none;
}

select {
  -moz-appearance: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer;
}

[disabled] {
  cursor: default;
}

/* NOTE: 元CSSのスペルが "innner" じゃなく "innner" / "focus-innner" になってるのでそのまま残してます */
button::-moz-focus-innner,
input::-moz-focus-innner {
  border: 0;
  padding: 0;
}

button:-moz-focusring,
input:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  border: 1px solid silver;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-innner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
  border-radius: 0;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
  background: transparent;
  color: inherit;
  width: 100%;
  letter-spacing: 0.08rem;
  font-size: 1.4rem;
}

input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}

input[type="submit"]:focus,
input[type="button"]:focus {
  outline-offset: -2px;
}

/* ==========================================================================
   Header
   ========================================================================== */
header {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  background: white;
  z-index: 100;
  height: 50px;
}

header .page_back {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  position: absolute;
  top: 0;
}

header .icon {
  fill: #333;
  width: 24px;
  height: 24px;
  transform: rotate(90deg);
  box-sizing: border-box;
}

header input {
  position: absolute;
  z-index: 10;
  width: 100%;
  height: 100%;
  opacity: 0;
}

/* ==========================================================================
   Main
   ========================================================================== */
main {
  padding: 50px 1.75em 0;
}

/* ==========================================================================
   Form Step
   ========================================================================== */
.formStep {
  font-size: 0.8rem;
  margin: 0 auto 2.2rem;
  line-height: 1.2;
  text-align: center;
}

.formStep li {
  position: relative;
  color: #333;
  margin: 0 1em;
  padding-top: 0.6em;
}

.formStep li:not(:first-child) {
  border-left: none;
}

.formStep li:nth-child(2) {
  margin: 0 3.2em;
}

.formStep li span {
  display: block;
  font-weight: bold;
  font-size: 10px;
  letter-spacing: 0;
  margin-bottom: 0.2em;
}

.formStep li span b {
  font-size: 13px;
  padding-left: 0.2em;
  font-weight: bold;
}

.formStep li:not(:last-child)::before {
  content: "";
  position: absolute;
  background: #333;
  width: 2.2em;
  height: 1px;
  right: -3.2em;
  top: 50%;
}

.step1 li:first-child,
.step2 li:nth-child(2),
.step3 li:last-child {
  color: #000;
  border-top: 3px solid #8717ff;
}

.step1 li:first-child span,
.step2 li:nth-child(2) span,
.step3 li:last-child span {
  color: #8717ff;
}

.formStep.step1 li:nth-child(2)::after,
.formStep.step2 li:last-child::after {
  border-left: 14px solid #999;
}

.formStep.step1 li:last-child::after,
.formStep.step2 li:nth-child(2)::after,
.formStep.step3 li:nth-child(2)::after,
.formStep.step3 li:last-child::after {
  border-left: 14px solid #f0f0f0;
}

/* ==========================================================================
   Form Fields
   ========================================================================== */
.form-control,
select {
  display: block;
  box-sizing: border-box;
  border: 1px solid #bbbcbc;
  border-radius: 0.2em;
  width: 100%;
  line-height: 1.4;
  background: white;
  padding: 0.8em 0.6em;
}

.required {
  display: inline-block;
  color: #003a9b;
  border: 1px solid;
  border-radius: 0.2em;
  padding: 0.3em;
  margin-right: 0.6em;
  font-size: 11px;
  line-height: 1;
  font-weight: bold;
}

textarea {
  height: 10em;
  resize: vertical;
}

select:invalid,
::placeholder {
  color: rgba(51, 51, 51, 0.3);
}

form {
  margin: 1em auto;
}

form .required {
  margin-left: 0.6em;
}

form dl {
  margin-bottom: 2rem;
}

form dl dt {
  padding: 1.75em 0 0.6em;
  border-top: 1px solid #bbbcbc;
  line-height: 1.4;
  letter-spacing: 0.04rem;
  clear: both;
}

form dl dd {
  padding: 0 0 1.75em;
}

form dl dd:last-child {
  padding-bottom: 0;
}

/* select button wrapper */
.selbtn {
  position: relative;
  max-width: 16em;
}

.selbtn.selage {
  width: 7em;
}

.selbtn .icon {
  width: 0.8em;
  height: 0.8em;
  position: absolute;
  right: 0.6em;
  top: calc(50% - 0.4em);
  pointer-events: none;
  color: #333;
}

/* errors */
.form-control.error-input {
  background: #ffefef;
  border: 1px solid #003a9b;
}

.error {
  font-size: 0.9em;
  color: #003a9b;
  margin-top: 0.2em;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.entry_btn {
  position: relative;
  display: block;
  margin: 2rem auto;
  text-align: center;
  color: #fff;
  font-weight: bold;
  padding: 1em 0;
  max-width: 240px;
  background: #8717ff;
  border-radius: 4rem;
}

.btn1 {
  text-align: center;
  position: relative;
  width: 10rem;
  color: #8717ff;
}

.btn1 input {
  border: 1px solid #8717ff;
  border-radius: 0.2rem;
  padding: 0.4rem 0 0.4rem 1rem;
  font-weight: bold;
}

.btn1 .icon {
  position: absolute;
  left: 0.5rem;
  width: 1rem;
  height: 1rem;
  transform: rotate(90deg);
  top: calc(50% - 0.5rem);
  pointer-events: none;
  fill: #8717ff;
}

.btn1.btn_submit .icon {
  fill: white;
  left: auto;
  right: 0.5rem;
  transform: rotate(-90deg);
}

.btn1.btn_submit input {
  background: #ff8c03;
  color: white;
  border-color: #ff8c03;
  padding: 0.4rem 1rem 0.4rem 0;
}

.btn-back {
  color: #8717ff;
  border: 1px solid;
  border-radius: 2em;
  padding: 0.6rem 0;
  display: block;
  margin: 3em auto;
  font-size: 1.6rem;
  max-width: 200px;
}

/* ==========================================================================
   Titles / Text
   ========================================================================== */
.ttl_form {
  text-align: center;
  padding: 3em 0 2.4em;
}

.ttl_form b {
  color: #8717ff;
  display: block;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.15em;
}

.innner {
  padding: 0 0.75em;
  text-align: center;
}

strong {
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
  padding: 1.75em 0;
}

.fin {
  font-size: 1.3rem;
}

.error_messe {
  padding: 2rem 0;
  color: #003a9b;
  font-weight: bold;
}

/* ==========================================================================
   Completion / Error Containers
   ========================================================================== */
.cont-error {
  padding-top: 2.4rem;
}

.cont-error .btn1 {
  margin: 0 auto;
}

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

/* ==========================================================================
   Form Table
   ========================================================================== */
.formTable {
  text-align: left;
  letter-spacing: 0.08rem;
  line-height: 1.5;
  margin-top: 1.2rem;
  border-top: 1px solid #8717ff;
  border-bottom: 1px solid #8717ff;
  font-size: 1.6rem;
}

.formTable th {
  width: 8rem;
  font-weight: normal;
}

.formTable td {
  padding-left: 1.6rem;
}

.formTable tr:not(:last-child) th,
.formTable tr:not(:last-child) td {
  padding-bottom: 0.6rem;
}

.formTable tr:first-child th,
.formTable tr:first-child td {
  padding-top: 1.4rem;
}

.formTable tr:last-child th,
.formTable tr:last-child td {
  padding-bottom: 1.4rem;
}

/* ==========================================================================
   Misc
   ========================================================================== */
.box-btn-form {
  padding: 2rem 0 1rem;
}

.box-btn-form > div:first-child {
  margin-right: 0.5rem;
}


