@charset "utf-8";

body {
    font-family: "メイリオ";
    color: #333;
    word-break: break-all;
}

.play_type {
    color: orange;
    font-size: 20px;
    font-weight: bold;
    margin-right: 10px;
}

header {
    height: 54px;
    background-color: orange;
    color: white;
}

button {
    border-radius: 4px;
    padding: 2px 8px;
    margin-top: 8px;
    border: 1px solid #ccc;
    color: #333;
    background-color: white;
}

.select {
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 8px;
    margin-bottom: 4px;
    cursor: pointer;
    min-height: 40px;
    line-height: 40px;
    font-size: 24px;
}

#title {
    display: inline-block;
    font-size: 22px;
    color: white;
    margin-left: 12px;
    height: 54px;
    line-height: 54px;
}

#num {
    text-align: center;
    color: #666;
}

.discription {
    margin-top: 8px;
}

.label {
    margin-top: 4px;
}

.correct {
    margin-top: 4px;
    margin-bottom: 4px;
    font-size: 22px;
    color: tomato;
}

#contents {
    padding: 12px;
    min-height: 100%;
}

a {
    text-decoration: none;
}

h2 {
    color: orange;
    margin-top: 26px;
    margin-bottom: 12px;
}

#cardList {
    display: flex;
    flex-flow: column;
    position: relative;
}

.card {
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    position: absolute;
    margin-top: 18px;
    width: 100%;
    min-height: 200px;
    background-color: white;
    text-align: center;
    display: none;
}

.next {
    height: 40px;
    line-height: 40px;
    background-color: orange;
    color: white;
    margin-top: 12px;
    cursor: pointer;
}

.tango {
    min-height: 80px;
    padding: 10px;
    font-size: 24px;
}

.answer {
    display: none;
    font-size: 24px;
}

.message {
    color: #ccc;
}

input {
    border-radius: 4px;
    margin-bottom: 6px;
    border: 1px solid gray;
    font-size: 16px;
    padding: 5px;
}

#input_url {
    width: 80%;
}

#input_name {
    width: 200px;
}

#input_error {
    color: tomato;
}

#sample_list {
    margin: 0 auto;
}

.sample {
    align-self: center;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    width: 40%;
    height: 250px;
    line-height: 250px;
    color: #333;
    font-size: 28px;
    margin: 8px 10px;
    text-align: center;
}

#button {
    cursor: pointer;
    border-radius: 6px;
    border-color: #1E9DEB;
    background-color: #1E9DEB;
    color: white;
    font-size: 20px;
    width: 200px;
    padding-top: 4px;
    padding-bottom: 4px;
    margin-top: 8px;
    margin-bottom: 10px;
}



@media (min-width: 600px) {
    body {
        background-color: #eee;
    }

    #header_title {
        width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    #contents {
        background-color: white;
        width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}