body {
    font-family: serif;
    color: #6d563a;
    background-color: #f0fafc;
}

main {
    margin: 200px 0 30px 0;
}

.top{
    text-decoration: underline 2px #80d7e3;
    text-underline-offset: 20%;
    text-align: center;
}

.introduction p {
    text-align: center;
}

.introduction a {
    display: block;
    margin: auto;
    text-align: center;
    padding: 20px;
    background-color: #80d7e3;
    width: 300px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    line-height: 1;
    font-weight: bold;
    box-shadow: 5px 5px 5px 0 #808080;
    font-size: 14pt;
}

.introduction a:hover {
    transform: scale(1.2);
}

.diagnosis {
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
}

.service-and-price {
    display: grid;
    row-gap: 50px;
}

.web-Japanese h2{
    text-align: center;
    font-size: 20pt;
    text-decoration: underline solid 2px #80d7e3;
}

p{
    text-align: center;
}

.service-and-price table {
    text-align: center;
    border-collapse: collapse;
    margin: auto;
}

.service-and-price th{
    border-bottom: solid 1px #6d563a;
    width: 200px;
    padding: 10px;
    font-size: 18pt;
    background-color: #80d7e3;
    color: #ffffff;
}

@media screen and (min-width: 768px) and (max-width: 1020px) {
    .service-and-price th {
        font-size: 14pt;
    }    
}

.service-and-price td{
    border-bottom: solid 1px #6d563a;
    padding: 10px;
}

.service-and-price span{
    font-size: 16pt;
    font-weight: bold;
    color: #80d7e3;
}

.web-translation h2{
    text-align: center;
    font-size: 20pt;
    text-decoration: underline solid 2px #80d7e3;
}

.web-all h2{
    text-align: center;
    font-size: 20pt;
    text-decoration: underline solid 2px #80d7e3;
}

@media screen and (max-width: 768px) {
    .service-and-price,
    .web-Japanese,
    .web-translation,
    .web-all {
        overflow-x: hidden;
    }

    .tables {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        box-sizing: border-box;
    }

    .tables table {
        width: max-content;
        min-width: 800px;
        margin: 0;
    }
    
    .tables::-webkit-scrollbar {
        height: 8px;
    }

    .tables::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border-radius: 4px;
    }

    .tables::-webkit-scrollbar-track {
        background-color: #f0fafc;
    }
}