* {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
}

html, body { height: 100%; }
html { font-size: 62.5%; }
body {
    font-size: 1.2rem;
    background-color: #000000;
    color: #ffffff;
}

img { vertical-align: top; }

#header {
    background-image: url('bg.png');
    display: flex;
    flex-direction: column;
    align-items: center;
}

#header > div {
    padding-top: 20px;
    position: relative;
}

#header img {
    position: relative;
    z-index: 10;
}

#header > div:last-child {
    padding-bottom: 20px;
}

#header img.header-2sub {
    position: absolute;
    z-index: 20;
    top: 42px;
    left: -26px;
}

#header img.header-arrow {
    position: absolute;
    z-index: 5;
    top: 6px;
    left: 50%;
    transform: translate(-50%, 0);
}

#step {
    background-color: #e1d8c9;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 25px;
}

#step > div {
    padding-top: 18px;
    position: relative;
}

#step img {
    position: relative;
    z-index: 10;
}

#step > div:last-child {
    padding-bottom: 50px;
}

#step img.step-2sub,
#step img.step-4sub,
#step img.step-6sub,
#step img.step-7sub1,
#step img.step-7sub2,
#step img.step-arrow {
    position: absolute;
    z-index: 20;
}


#step img.step-2sub {
    bottom: 0;
    left: -30px;
}

#step img.step-4sub {
    bottom: 0;
    right: -34px;
}

#step img.step-6sub {
    bottom: -8px;
    right: -20px;
}

#step img.step-7sub1 {
    top: 5px;
    left: -6px;
}

#step img.step-7sub2 {
    bottom: 10px;;
    right: -20px;
}

#step img.step-arrow {
    top: -8px;
    left: 50%;
    transform: translate(-50%, 0);
}

#form {
    background-image: url('bg.png');
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
}

#form > span {
    display: block;
    padding-top: 20px;
}

#form > div {
    padding-top: 20px;
    width: 100%;
    max-width: 300px;
}

#form > div:last-child,
#form > span:last-child {
    padding-bottom: 50px;
}

#form label {
    font-size: 1.6rem;
    font-weight: bold;
}

#form label > em {
    display: inline-block;
    background: #c30d23;
    font-size: 1.3rem;
    font-weight: bold;
    padding: 3px 5px;
    margin-left: 5px;
}

#form .from-share {
    display: flex;
    justify-content: center;
    gap: 30px;
}

#form .from-share img {
    padding-bottom: 8px;
}

#form .from-share a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
}

.input-panel {
    position: relative;
}

.input-name {
    display: flex;
    gap: 10px;
}

.system-name-last,
.system-name-first,
.system-contact {
    box-sizing: border-box;
    width: 100%;
    padding: 5px;
    margin: 4px 0;
}

::placeholder {
    color: #9fa0a0;
}

.system-name-last.error,
.system-name-first.error,
.system-contact.error {
    background-color: #fadeeb;
}

.system-error,
.system-name-last-error,
.system-name-first-error,
.system-contact-error {
    position: absolute;
    bottom: 3.5em;
    padding: 7px;
    border: solid 1px #c30d23;
    border-radius: 2em;
    background: #c30d23;
    color: #ffffff;
    font-weight: bold;
}

.system-error:before,
.system-name-last-error:before,
.system-name-first-error:before,
.system-contact-error:before {
    content: '';
    position: absolute;
    top: 100%;
    left: 1.5em;
    border-top: 9px solid #c30d23;
    border-right: 9px solid transparent;
    border-left: 9px solid transparent;
}

.system-error {
    bottom: 1.4em;
}

.system-error:empty,
.system-name-last-error:empty,
.system-name-first-error:empty,
.system-contact-error:empty {
    display: none;
}

#footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #dbc189;
    color: #231815;
}

.footer-button {
    width: 100%;
    box-sizing: border-box;
    padding-top: 2px;
    display: flex;
    gap: 2px;
}

.footer-button a {
    width: calc(50% - 1px);
    box-sizing: border-box;
    padding: 14px 7px;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
}

.footer-button a img {
    vertical-align: middle;
    margin-right: 6px;
}

.footer-copyright {
    padding: 16px 0;
}

#form .staff-name {
    position: relative;
    color: #231815;
}

#form .staff-name > label {
    position: absolute;
    top: 28px;
    left: 44px;
    font-size: 11.5px;
    font-weight: bold;
}
