/* 全体の基本設定 */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container{
    max-width: 720px;
    margin: 0px auto;
}

.form {
    padding: 20px;
    border-radius: 10px;

}


img{
    width: 100%;
}
h1{
    font-size: 2rem;
}

h2{
    font-size: 1.5rem;
}

h1, h2 {
    text-align: center;
    color: #333;
}

label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
    color: #555;
}

input[type="text"],
input[type="email"],
input[type="file"],
button,
input[type="checkbox"] {
    width: 100%;
    padding: 10px;
    margin: 5px 0 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
}

input[type="checkbox"]{
    width: initial;
}

input[type="file"] {
    padding: 5px;
}

button[type="submit"] ,button[type="button"]{
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: background 0.3s ease;
    width: 50%;
}

button[type="submit"] {
    background: #006d4c !important;
    
}
button[type="button"] {
    background: #afafaf;
}

button:hover {
    background: #0056b3;
}

.checkbox-label {
    display: flex;
    align-items: center;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.error {
    color: #ff0000;
    font-size: 13px;
    margin-top: -10px;
    margin-bottom: 10px;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    background: #f4f4f4;
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
}

.success-message {
    text-align: center;
    color: #28a745;
    font-size: 18px;
    margin-top: 20px;
}

.error-message {
    text-align: center;
    color: #ff0000;
    font-size: 18px;
    margin-top: 20px;
}
/* 基本テーブルスタイル */
.table {
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    width: 90%;
    margin: 0 auto;
}

.table-row {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #ddd;
}

.table-row:last-child {
    border-bottom: none;
}

.table-header {
    flex: 1;
    background-color: #f4f4f4;
    font-weight: bold;
    padding: 15px;
    text-align: left;
    color: #555;
    border-right: 1px solid #ddd;
}

.table-cell {
    flex: 2;
    padding: 15px;
    text-align: left;
    color: #333;
    margin-top: 20px;
}

.table-cell ul {
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
}

.table-cell ul li {
    background: #f9f9f9;
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 5px;
}





ul {
    padding-left: 20px;
    list-style: disc;
}

.buttons {
    text-align: center;
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #ddd;
}

.required{
    background-color: #ff5353;
    padding: 5px 10px;
    font-size: 0.8rem;
    vertical-align: middle;
    color: #fff;
    margin-left: 5px;
}

/* スマホ対応 */
@media screen and (max-width: 750px) {
    .thanks_container{
        width: 95%;
    }

    .table-row {
        flex-direction: column;
    }

    .table-header {
        border-right: none;
        border-bottom: 1px solid #ddd;
        background-color: #f9f9f9;
    }

    .table-cell {
        padding-top: 0;
    }
}