/*************************
* Element, Component base
**************************/
body
{
    margin: 0;
    font-family: YuGothic, "游ゴシック", "メイリオ", Meiryo, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif;
    line-height: 1.5;
    color: #333333;
    background-color: #fff;
    font-size: 14px;
    font-weight: 600;

    /* テキストの折り返し基本制御 */
    overflow-wrap: anywhere;
    word-break: normal;
    line-break: strict;
}
p
{
    margin: 0;
}
a {
    background-color: transparent;
    color: #333333;
    -webkit-text-decoration: none;
    text-decoration: none
}
a.underline {
    text-decoration: underline;
}
button
{
    appearance: none;
    -webkit-appearance: none;
}
button {
    border: 0;
}
button[disabled]
{
    cursor: not-allowed;
}
label
{
    display: inline-block;
}
ol, ul
{
    margin: 0;
}
li
{
    margin-bottom: 4px;
}
input[type=checkbox] {
    border: 1px solid #474747;
    border-radius: 4px;
}
select {
    width: 100%;
    border: 1px solid #474747;
    padding: 8px;
    font-size: 14px;
}
header {
    background-color: #181818;
    height: 40px;
    color: #fff;
    padding: 5px 10px;
    position: sticky;
    top: 0;
    z-index: 9999;
}
footer {
    margin: 1rem 30px 3rem;
    font-size: 12px;
    font-weight: 500;
}
#main {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (orientation: landscape) {
    body {
        padding-right: 44px;
        padding-bottom: 21px;
        padding-left: 44px;
    }
}

@media (orientation: portrait) {
    body {
        padding-bottom: 34px;
    }
}

/*************************
* Flex
**************************/
.flex
{
    display: flex;
}
.flex-center
{
    align-items: center;
    justify-content: center;
}
.flex-column
{
    flex-direction: column;
}
.a-center
{
    align-items: center;
}
.a-start
{
    align-items: flex-start;
}
.a-end
{
    align-items: flex-end;
}
.j-center
{
    justify-content: center;
}
.j-end
{
    justify-content: end;
}
.j-between {
    justify-content: space-between;
}
.f-wrap
{
    flex-wrap: wrap;
}

/*************************
* Components
**************************/
#notification {
    height: 15vh;
    width: 100%;
}
#input-error {
    background-color: #fff5dd;
    color: #CC0000;
    min-width: 200px;
    padding: 1.2rem;
}
#input-error > p,
#input-error > ul {
    width: 100%;
}
#input-error > ul {
    padding-left: 1.5rem;
    box-sizing: border-box;
}
header > div,
header > div > img {
    height: 100%;
}
#main > .contents-wrapper {
    padding: 1.5rem 0.6rem;
    min-height: 50vh;
}
#main > .contents-wrapper > div {
    width: 100%;
}
.control-area {
    margin: 1.5rem 10px;
    width: 100%;
}
.control-area > button {
    margin: 0 4px;
    width: 150px;
}

/* buttons */
.btn {
    display: inline-block;
    padding: 10px 8px;
    text-align: center;
    border-radius: 0px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.btn.primary {
    background-color: #CC0000;
    color: #fff;
}
.btn.accent {
    background-color: #F6F3F1;
    color: #333333;
}
.btn.width-initial {
    width: initial;
}

/* text, title */
.message {
    margin-bottom: 2.5rem;
}
.message.primary {
    color: #CC0000;
}
li.primary {
    color: #CC0000;
}
.error-note {
    padding-left: 1.5rem;
    margin: 10px 0;
    color: #CC0000;
}
.lined-title {
    width: 100%;
    margin: 0;
    margin-bottom: 1rem;
    padding-bottom: 5px;
    border-bottom: 2px solid #CC0000;
}
.lined-title > img {
    height: 30px;
    margin-right: 5px;
}
.lined-title > h1 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}
.filled-title {
    max-width: 400px;
    text-align: center;
    background-color: #F6F3F1;
    padding: .8rem;
    font-size: 16px;
    font-weight: 700;
}
.tos {
    margin: 1.2rem 1.5rem;
    height: 31vh;
    overflow: hidden;
    overflow-y: scroll;
    padding: 20px 12px;
    border: 1px solid #D4D4D4;
    font-size: 15px;
    font-weight: 500;
}

/*************************
* Input area
**************************/
.input-sections > section {
    width: 100%;
    margin-bottom: 1.5rem;
}
.input-sections > section > .question {
    margin-bottom: 8px;
}
.input-sections > section > .question.required::after {
    content: '(必須)';
    margin-left: 1rem;
    color: #CC0000;
}
.input-sections > section > .options {
    padding-left: 10px;
    display: flex;
    flex-direction: column;
}
.label-input {
    display: inline-flex;
    margin: 4px 0;
}
.indent-list,
.indent-checkbox {
    margin-left: 1.5rem;
}
.confirmation-table,
.confirmation-table > div {
    width: 100%;
}
.confirmation-table {
    margin-bottom: 1.5rem;
}
.confirmation-table > div:first-child {
    width: 60%;
}

/*************************
* Loading screen
**************************/
.loading-screen
{
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 9999;

    opacity: 1;
    visibility: visible;
    transition: 1s;
}
.loading-screen p
{
    padding: 0;
    margin-top: 10px;
    color: #333333;
    font-size: 1rem;
}
/* loading icon */
.loading-icon
{
    width: 30px;
    height: 30px;
}

/* -------- eof -------- */