body{
    padding-top: 75px;
    padding-left: 20px;
    background-color: mintcream;
    font-size: 18px;
}

.problem_label{
    display: block;
    font-size: 24px;
}

.submit_button{
    display: block;
    font-size: 18px;
    background-color: skyblue;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 10%;
}

nav{
    width: 100%;
    height: 80px;
    background-color: teal;
    position: fixed;
    top: 0;
    left: 0;
}

.bar{
    display: flex;
}

.bar li{
    list-style: none;
}

.this_page{
    color: white;
    font-weight: bold;
    border-bottom: 3px solid gold;
    padding-bottom: 5px;
}

.bar_element{
    display: block;
    text-decoration: none;
    margin-right: 40px;
    font-size: 24px;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
}

.another_page{
    color: mintcream;
}

a:hover{
    color: lightgray;
    border-bottom: 3px white solid;
}

.input_text{
    font-size: 20px;
    width: 700px;
    max-width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    line-height: 1.6;
    border: 2px solid #4caf50;
    border-radius: 12px;
}

textarea.input_text {
    font-size: 20px;
    min-height: 250px;
    border: 2px solid #4caf50;
    border-radius: 12px;
}

/* スマホ向け */
@media screen and (max-width: 768px) {
    .input_text {
        font-size: 18px;
        width: 100%;
    }
    textarea.input_text {
        font-size: 18px;
        min-height: 250px;
    }
}

.copy_button {
    background-color: teal;
    color: white;
    border: none;
    padding: 8px 16px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.copy_button:hover {
    background-color: darkcyan;
}

.content_box{
    border: 2px solid teal;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page-header {
    text-align: left;
    margin-bottom: 30px;
}

.page-header h1 {
    color: #00695c;
    font-size: 32px;
    margin: 0 0 10px 0;
}

.page-description {
    color: #00838f;
    font-size: 16px;
}

.result-message {
    margin-top: 15px;
    font-weight: 600;
}

/* index.html専用スタイル */
.home-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 30px;
}

.home-hero {
    text-align: center;
    padding: 30px 20px;
    background-color: #fff9c4;
    color: #5d4037;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #fbc02d;
}

.home-hero h1 {
    color: #5d4037;
    font-size: 32px;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.home-hero h2 {
    color: #795548;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    line-height: 1.6;
}

.home-section {
    background: #c4ffe9;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    border: none;
}

.home-section-title {
    font-size: 22px;
    font-weight: 600;
    color: #00695c;
    margin: 0 0 12px 0;
}

.home-section p {
    margin: 10px 0;
    color: #424242;
    line-height: 1.8;
}

.home-section a {
    color: #006666;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.home-section a:hover {
    color: #004d4d;
    text-decoration: underline;
}

.home-search-box {
    background: #fafafa;
    padding: 20px;
    border-radius: 6px;
    margin-top: 15px;
}

.home-search-box label {
    display: block;
    font-weight: 500;
    color: #00695c;
    margin-bottom: 10px;
    font-size: 15px;
}

.home-input {
    width: 100%;
    max-width: 500px;
    padding: 10px 14px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.home-input:focus {
    outline: none;
    border-color: #00897b;
}

.home-button {
    padding: 10px 28px;
    background-color: teal;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.home-button:hover {
    background-color: darkcyan;
}

.home-button:active {
    background-color: #005f5f;
}

#result_message {
    display: block;
    margin-top: 10px;
    font-weight: 600;
}