footer {
    background-color: rgb(226, 229, 229);
}

#entry_form table,
#getTokenForm table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 100%;
}

#entry_form table th,
#getTokenForm table th {
    width: 22%;
    background: #f4f4f4;
    border: 1px solid #ccc;
    box-sizing: border-box;
    padding: 15px;
    vertical-align: middle;
    font-weight: bold;
    text-align: center;
}

#entry_form table td,
#getTokenForm table td {
    background: #fff;
    border: 1px solid #ccc;
    box-sizing: border-box;
    padding: 15px;
    vertical-align: top;
    text-align: left;
}

@media all and (max-width: 767px) {
    #entry_form table th,
    #entry_form table td,
    #getTokenForm table th,
    #getTokenForm table td {
        display: block;
        width: 100%;
        border-bottom: none;
    }

    #entry_form table tr:last-child td:last-child,
    #getTokenForm table tr:last-child td:last-child {
        border-bottom: 1px solid #ccc;
    }
}

input[type="checkbox"] {
    width: 18px;
    /* チェックボックスの幅を変更 */
    height: 18px;
    /* チェックボックスの高さを変更 */
    /*display: ;background-color: #f00;*/
    /* チェックボックスの背景色を変更 */
    border-color: #444444;

    margin: 8px;
}

input[type="radio"] {
    width: 18px;
    /* チェックボックスの幅を変更 */
    height: 18px;
    /* チェックボックスの高さを変更 */
    /*display: ;background-color: #f00;*/
    /* チェックボックスの背景色を変更 */
    border-color: #444444;

    margin: 8px;
}

.textarea {
    border-color: #444444;

    margin: 8px;
}

.colorRed {
    color: red;
}

.form-ck {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.form-ck input[type="checkbox"].form-check-input {
    margin-top: 0;
    flex-shrink: 0;
}

.form-check {
    padding-left: 0;
}

/* Flash messages */
.message {
    padding: 1rem;

    background: #eff8ff;
    color: #2779bd;

    border-color: #6cb2eb;
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.message.hidden {
    display: none;
}

.message.success {
    background: #e3fcec;
    color: #1f9d55;
    border-color: #51d88a;
}

.message.warning {
    background: #fffabc;
    color: #8d7b00;
    border-color: #d3b800;
}

.message.error {
    background: #fcebea;
    color: #cc1f1a;
    border-color: #ef5753;
}

.error-message {
    background: #fcebea;
    color: #cc1f1a;
    border-color: #ef5753;
}

.top_info_box {
    padding: 20px;
    margin: 20px;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#fefcea+0,fff2cc+100 */
    background: #fefcea; /* Old browsers */
    background: -moz-linear-gradient(
        top,
        #fefcea 0%,
        #fff2cc 100%
    ); /* FF3.6-15 */
    background: -webkit-linear-gradient(
        top,
        #fefcea 0%,
        #fff2cc 100%
    ); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(
        to bottom,
        #fefcea 0%,
        #fff2cc 100%
    ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefcea', endColorstr='#fff2cc',GradientType=0 ); /* IE6-9 */
}

.top_info_box h3 {
    font-size: 130%;
    color: rgb(43, 42, 42);
}

.footer {
    padding: 20px;
}

body {
    font-size: 115%;
}

h1 {
    color: #364e96; /*文字色*/
    padding: 0.5em 0; /*上下の余白*/
    border-top: solid 3px #364e96; /*上線*/
    border-bottom: solid 3px #364e96; /*下線*/
}

h2 {
    padding: 0.5em; /*文字周りの余白*/
    color: #010101; /*文字色*/
    background: #eaf3ff; /*背景色*/
    border-bottom: solid 3px #516ab6; /*下線*/
}

h3 {
    background: linear-gradient(transparent 70%, #a7d6ff 70%);
}

h4 {
    padding: 0.5em;
    background: aliceblue;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.23);
}
