.honbun {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

@media screen and (min-width: 768px) {
    .honbun {
        padding: 30px;
    }
}

.program-links h2,
.features h2 {
    font-size: 1.3em;
}

@media screen and (min-width: 768px) {
    .program-links h2,
    .features h2 {
        font-size: 1.5em;
    }
}

a:hover {
    text-decoration: underline;
}

.introduction, 
.features, 
.contact {
    margin-bottom: 30px;
}

@media screen and (min-width: 768px) {
    .introduction,
    .features,
    .contact {
        margin-bottom: 40px;
    }
}

.link-container a {
    margin: 5px;
}

@media screen and (min-width: 768px) {
    .link-container a {
        margin: 10px;
    }
}

#wrpper img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.pagetop {
    text-align: right;
    margin-top: 20px;
}

@media screen and (min-width: 768px) {
    .pagetop {
        margin-top: 30px;
    }
}

.program-links {
    margin-bottom: 30px;
}

@media screen and (min-width: 768px) {
    .program-links {
        margin-bottom: 40px;
    }
}

.program-category {
    margin-bottom: 20px;
}

@media screen and (min-width: 768px) {
    .program-category {
        margin-bottom: 30px;
    }
}

.program-category h2 {
    background-color: #4c7437;
    color: #f8f5ee;
    padding: 8px 12px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 1.2em;
}

@media screen and (min-width: 768px) {
    .program-category h2 {
        padding: 10px 15px;
        margin-bottom: 20px;
        font-size: 1.3em;
    }
}

.link-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

@media screen and (min-width: 768px) {
    .link-container {
        gap: 20px;
    }
}

.program-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 150px;
    text-align: center;
    text-decoration: none;
}

@media screen and (min-width: 768px) {
    .program-card {
        width: 200px;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
}

.program-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

@media screen and (min-width: 768px) {
    .program-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    }
}

.program-card img {
    width: 100%;
    height: auto;
    display: block;
}

.program-card span {
    display: block;
    padding: 8px;
    color: #333;
    font-weight: bold;
    font-size: 0.9em;
}

@media screen and (min-width: 768px) {
    .program-card span {
        padding: 10px;
        font-size: 1em;
    }
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

@media screen and (min-width: 768px) {
    .feature-item {
        flex-direction: row;
        align-items: center;
        gap: 40px;
        margin-bottom: 60px;
    }

    .feature-item.reverse {
        flex-direction: row-reverse;
    }
}

.feature-content {
    flex: 1;
}

.feature-image {
    flex: 1;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media screen and (min-width: 768px) {
    .feature-image img {
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
}

.feature-content h2 {
    margin-bottom: 15px;
    color: #4c7437;
    font-size: 1.2em;
}

@media screen and (min-width: 768px) {
    .feature-content h2 {
        margin-bottom: 20px;
        font-size: 1.3em;
    }
}