body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    /* padding: 20px; */
    padding-bottom: 160px; /* スコア表示領域の高さ分の余白を増加 */
    background-color: #f5f5f5;
}
/* main {
    margin: 20;
} */

/* .intro-Mapiner {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
} */

/* h1 {
    color: #6d4c41;
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
} */

.intro-text {
    color: #333;
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

@media (max-width: 600px) {
    /* .intro-Mapiner {
        padding: 20px;
    } */

    /* h1 {
        font-size: 1.8em;
    } */

    .intro-text {
        font-size: 1em;
    }
}

h2 {
    color: #6d4c41;
    border-bottom: 2px solid #6d4c41;
    padding-bottom: 10px;
    /* margin-top: 30px; */
}

.instructions {
    background-color: #fff3e0;
    /* border-left: 5px solid #ffa000; */
    padding: 15px;
    /* margin-bottom: 30px; */
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.input-group {
    margin-bottom: 20px;
}

label {
    display: block;
    /* margin-bottom: 10px; */
    color: #5d4037;
    font-weight: bold;
}

.slider-Mapiner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

input[type="range"] {
    width: 70%;
    margin-right: 10px;
}

.slider-value {
    width: 80px;
    text-align: right;
    font-weight: bold;
    font-size: 1.1em;
    color: #4CAF50;
    /* padding-bottom: 10px; */
}

select {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    margin-bottom: 12px;
}

button {
    display: block;
    width: 100%;
    padding: 2px;
    background-color: #795548;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #5d4037;
}

#result,
#result,
#recommendation {
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 1.1em;
    line-height: 1.5;
    color: #333;
}

.table-style {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    margin-bottom: 10px;
}

.table-style th,
.table-style td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.table-style th {
    background-color: #f0f0f0;
    font-weight: bold;
    color: #555;
}

.table-style td {
    background-color: #ffffff;
    color: #333;
}

.table-style tr:hover td {
    background-color: #f1f1f1;
}

small {
    display: block;
    margin-top: 5px;
    font-size: 0.85em;
    /* 小さい文字サイズ */
    color: #666;
    /* グレー色で目立ちすぎないように */
}

.info-box {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 20px;
    font-size: 0.9em;
}

.info-box h4 {
    margin: 0 0 5px 0;
    color: #333;
}

.info-box ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.info-box li {
    margin-bottom: 5px;
}

.info-box .highlight {
    font-weight: bold;
    color: #007bff;
    /* background: linear-gradient(transparent 60%, #cfcfa7 60%); */
}

.input-group {
    margin-bottom: 20px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
}

.info-box {
    display: none;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    /* padding: 10px; */
    /* margin-top: 10px; */
    font-size: 0.9em;
}

.info-button {
    background-color: #4CAF50;
    border: none;
    color: white;
    /* padding: 5px 10px; */
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    /* margin: 4px 2px; */
    cursor: pointer;
    border-radius: 4px;
}

#scoreDisplay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 2px solid #4CAF50;
    padding: 0 0 20px 0;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}
#scoreDisplay .score-container {
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-bottom: 15px; */
}
#scoreDisplay .score-label {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    margin-right: 10px;
}
#scoreDisplay .score {
    font-size: 2.5em;
    font-weight: bold;
    color: #4CAF50;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}
#scoreDisplay .max-score {
    font-size: 1.2em;
    color: #666;
    margin-left: 5px;
}
#scoreDisplay .recommendation {
    font-size: 0.9em;
    color: #444;
    text-align: center;
    max-width: 80%;
    line-height: 1.4;
    background-color: #f0f8ff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.accordion {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}
.accordion-header {
    background-color: #f1f1f1;
    color: #444;
    cursor: pointer;
    padding: 8px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    font-weight: bold;
}
.accordion-header:hover {
    background-color: #ddd;
}
.accordion-header:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}
.accordion-header.active:after {
    content: "\2212";
}
.accordion-content {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}
.intro-text, .instructions {
    margin-bottom: 10px;
}

