footer {
    background-color: rgb(226, 229, 229);
}

#entry_form table,
#getTokenForm table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 14px;
}

#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);
}

.entry-page-head {
    margin: 2rem 0 1.5rem;
    padding-bottom: 1.25rem;
    text-align: center;
    border-bottom: 1px solid #d1d5db;
}

.entry-page-head__label {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
}

.entry-page-head__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 600;
    line-height: 1.5;
    color: #0f172a;
}

.entry-page-head__subtitle {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #475569;
}

.entry-intro {
    margin: 0 0 2rem;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    overflow: hidden;
}

.entry-intro__head {
    padding: 0.85rem 1.25rem;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.entry-intro__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #1e293b;
}

.entry-intro__steps {
    margin: 0;
    padding: 0;
    list-style: none;
}

.entry-intro__step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #eef2f6;
}

.entry-intro__step:last-child {
    border-bottom: none;
}

.entry-intro__step-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
    color: #334155;
    background: #ffffff;
}

.entry-intro__step-text {
    flex: 1;
    font-size: 0.92rem;
    line-height: 1.7;
    color: #475569;
}

.entry-intro__note {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin: 0;
    padding: 0.9rem 1.25rem;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
}

.entry-intro__note-label {
    flex-shrink: 0;
    min-width: 4.5rem;
    padding: 0.15rem 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 2px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-align: center;
    color: #475569;
    background: #ffffff;
}

.entry-intro__note-text {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.65;
    color: #64748b;
}

.entry-form-wrap {
    margin-top: 0.5rem;
}

@media all and (max-width: 767px) {
    .entry-page-head {
        margin: 1.25rem 0 1rem;
        padding-bottom: 1rem;
    }

    .entry-intro {
        margin-bottom: 1.5rem;
    }

    .entry-intro__step {
        gap: 0.75rem;
        padding: 0.85rem 1rem;
    }

    .entry-intro__note {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.85rem 1rem;
    }

    .entry-intro__note-label {
        min-width: 0;
        align-self: flex-start;
    }
}

.footer {
    padding: 20px;
}
