body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    font-size: 16px;
    padding: 10px 0px 0px 30px;
}

div {
    font-size: 15px;
    color: #333;
    margin: 0px;
}
h1 {
    padding: 1rem 2rem;
    color: #fff;
    border-radius: 10px;
    background-image: -webkit-gradient(linear, left top, right top, from(#f83600), to(#f9d423));
    background-image: -webkit-linear-gradient(left, #f83600 0%, #f9d423 100%);
    background-image: linear-gradient(to right, #f83600 0%, #f9d423 100%);
    width: 95%;
  }

h2{
    margin-top: 10px;
    font-size: 20px;
    color: #333;
}

h2 {
    border-bottom: solid 3px #cce4ff;
    position: relative;
    width: 95%;
  }
  
  h2:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 3px #5472cd;
    bottom: -3px;
    width: 10%;
  }

input {
    padding: 14px;
    font-size: 14px;
    width: 100px;
    margin-right: 5px;
}
select {
    padding: 5px;
    font-size: 14px;
    width: 180px;
    margin-left: 5px;
    margin-right: 5px;
}

th {
    font-size: 14px;
    padding: 10px;
    background-color: #007bff;
    color: white;
}
td {
    font-size: 16px;
    padding: 10px;
    width: 100px;
    background-color: #f9f9f9;
}
button {
    padding: 7px 15px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

.resultTable {
    margin-top: 10px;
    border-collapse: collapse;
    width: 480px;
    border-collapse: separate;
    text-indent: initial;
    border-spacing: 2px;
}
.resultTable th {
    font-size: 16px;
    width: 200px;
    height: 60px;
    text-align: center;
    background-color: #007bff;
    color: white;
    border-collapse: separate;
    border-spacing: 2px;
}
.resultTable td {
    font-size: 20px;
    padding: 0px;
    width: 180px;
    height: 60px;
    text-align: center;
    background-color: #f9f9f9;
}

/* スマホ向けのレスポンシブデザイン */
@media (max-width:760px) {
    body {
        padding: 10px;
    }

    h1 {
        font-size: 20px;
        padding: 10px;
    }

    h2 {
        font-size: 18px;
    }

    table {
        font-size: 14px;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        width: 480px;
        margin: 0px 1% 0px 1%;
    }

    th, td {
        padding: 5px;
        word-wrap: break-word;
        white-space: normal;
        }

    button {
        font-size: 14px;
        width: 380px;
        margin: 20px 5% 0px 5%;
    }

    button {
        padding: 15px;
    }
    
    select {
        width:165px ;
        padding: 5px;
    }

    .resultTable {
        margin-top: 10px;
        border-collapse: collapse;
        width: 400px;
        border-collapse: separate;
        text-indent: initial;
        border-spacing: 2px;
    }
    .resultTable th {
        font-size: 16px;
        width: 160px;
        height: 60px;
        text-align: center;
        background-color: #007bff;
        color: white;
        border-collapse: separate;
        border-spacing: 2px;
    }
    .resultTable td {
        font-size: 24px;
        padding: 0px;
        width: 150px;
        height: 60px;
        text-align: center;
        background-color: #f9f9f9;
    }
}