@charset "utf-8";

body {
    font-family: "ＭＳ 明朝", sans-serif;
    background-color: rgb(240, 240, 240);
    font-size: 16px;
    font-family: sans-serif;
    color: #000000;
    line-height: 1;
}

*,
::before,
::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
}

/* main */
main {
    position: relative;
    color: #000000;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 700px;
    margin-top: 20px;
    padding: 15px;
    background-color: white;
    border: solid;
    border-color: darkgray;
    border-width: 1px;
    border-radius: 5px;
}

.main-block:first-child {
    margin-top: 30px;
}

.main-block:last-child {
    margin-bottom: 60px;
}

.main-block-title {
    font-size: 30px;
    color: black;
    margin-top: 15px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-top: none;
    border-bottom: solid;
    border-left: none;
    border-right: none;
    border-color: rgb(0, 149, 224);
}

.main-block-subtitle {
    font-size: 20px;
    margin-top: 10px;
    color: black;
}

.main-block-announce {
    font-size: 15px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.main-block-button {
    margin-bottom: 10px;
}

.main-block-button button {
    background-color: rgb(0, 149, 224);
    color: white;
    font-size: 12px;
    border: none;
    border-radius: 5px;
    width: 100px;
    height: 25px;
    cursor: pointer;
    transition: background-color 0.2s linear, transform 0.1s linear;
}

.main-block-button button:active {
    background-color: rgb(242, 242, 242);
    transform: translateY(2px);
}

.main-block-msg {
    display: block;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 15px;
    text-align: center;
    line-height: 1.5;
}

.main-block-back-button {
    font-size: 15px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.main-block-back-button button {
    border-top: none;
    border-bottom: solid;
    border-left: none;
    border-right: none;
    border-width: 1px;
    border-color: blue;
    color: blue;
}

.main-block-back-button button:active {
    background-color: lightblue;
}

.info_account {
    display: none;
}

/* mobile */
@media (max-width: 767px) {
    /* main */
    main {
        padding-top: 35px;
    }

    .main-block {
        width: 90%;
        margin-top: 10px;
        padding: 10px;
    }

    .main-block:last-child {
        margin-bottom: 40px;
    }

    .main-block-title {
        font-size: 25px;
        margin-top: 10px;
    }

    .main-block-announce {
        font-size: 10px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .main-block-button {
        margin-bottom: 5px;
    }

    .main-block-button button {
        font-size: 10px;
        border-radius: 5px;
        width: 70px;
        height: 20px;
    }

    .main-block-msg {
        font-size: 12px;
    }

    .main-block-back-button {
        font-size: 10px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
}
