@charset "utf-8";

html{
font-size: 15px;
}

/* Reset */
*{
margin: 0;
padding: 0;
box-sizing: border-box;
color: #333;
}

span{
display:block;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    background-color: #f9f9f9;
    padding: 20px;
}

.pricing-table {
    width: 90%;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow-x: auto; /* Add horizontal scrolling */
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #2cbff3;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
   table-layout: fixed;
}

th {
    background-color: #2cbff3;
    font-weight: bold;
    border: 1px solid #ddd;
    padding: 0.2em;
    text-align: center;
    color: #fff;
}

th span{
    color: #fff;
}

td {
    border: 1px solid #ddd;
    padding: 0.5em;
    text-align: left;
    vertical-align:top;
}

.customize{
vertical-align:middle;
}

.title-sell{
width: 150px;
}

tbody tr:hover {
background-color: #f1f1f1;
}

.title-sell{
background-color: #fff;
border: none;
}

.option td{
border: none;
border-right: 1px solid #ddd;
border-top: 1px dashed #ddd;
}

.dotted-under th, .dotted-under td{
border-bottom: none;
}

.dotted-top th, .dotted-top td{
border-top: none;
border-top: 1px dashed #ddd;
}

.no-solid{
border-right: none;
border-left: none;
}

.no-solid-right{
border-right: none;
}

.no-solid-left{
border-left: none;
}


.chushaku {
    width: 90%;
    margin: 0 auto;
    padding: 20px;
}

.chushaku p{
font-size: 0.8em;
}

.back-button{
display: block;
width: 300px;
height: 50px;
margin: 0 auto 50px;
padding-top: 10px;
background-color: #2cbff3;
border-radius: 10px;
color: #fff;
font-size: 1.2em;
font-weight: 600;
text-align: center;
text-decoration: none;
}

.back-button:hover{
background-color: #999;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    html {
        font-size: 13px;
    }

    .pricing-table {
        padding: 10px;
    }

    th, td {
        font-size: 0.8em;
        padding: 0.3em;
    }

    table {
    overflow-x: auto;
    }

    tbody, thead {
        display: table;
        }

    tbody {
        overflow-x: auto;
        display: block;
        white-space: nowrap; /* Prevent wrapping */
    }
}

.price-note {
    font-size: 0.8em;
    color: #666;
    line-height: 1.5;
}
