/* Info Page Styles - まちの駅みと */

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.page-title {
    font-family: 'Zen Old Mincho', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    line-height: 1;
}
.page-title span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: #ffffff;
    font-weight: 700;
    width: 1.5em;
    height: 1.5em;
    margin-right: 0.5em;
    flex-shrink: 0;
    line-height: 1;
    border-radius: 3px;
    padding-bottom: 2px;
}


/* Station Detail */
.station-detail {
    max-width: 1000px;
    margin: 0 auto;
}

.station-image {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.station-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Station Info Grid */
.station-info-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.station-legend {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.distance-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.service-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.service-icons img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.station-description {
    display: flex;
    align-items: center;
}

.station-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-base);
    margin: 0;
}

/* Station Details Table */
.station-details-table {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.station-details-table table {
    width: 100%;
    border-collapse: collapse;
}

.station-details-table th {
    background-color: var(--color-primary);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    width: 150px;
    vertical-align: top;
}

.station-details-table td {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    color: var(--color-text-base);
}

.station-details-table tr:last-child td {
    border-bottom: none;
}

.station-details-table a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    margin-left: 0.5rem;
    padding: 0.25rem 0.75rem;
    background-color: #f0f8f5;
    border-radius: 4px;
    transition: all 0.3s;
}

.station-details-table a:hover {
    background-color: var(--color-primary);
    color: white;
}

/* Back Button */
.back-button {
    text-align: center;
    margin-top: 3rem;
}

.back-button .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
    background-color: var(--color-primary);
    color: white;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px rgba(2, 99, 66, 0.2);
    text-decoration: none;
}

.back-button .btn:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(2, 99, 66, 0.25);
}

/* Responsive */
@media (max-width: 900px) {
    .station-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .station-legend {
        order: 2;
    }

    .station-description {
        order: 1;
    }

    .station-details-table th {
        width: 120px;
        font-size: 0.9rem;
    }

    .station-details-table td {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .page-title {
        font-size: 1.5rem;
    }

    .station-info-grid {
        padding: 1.5rem;
    }

    .station-details-table {
        padding: 1rem;
    }

    .station-details-table th,
    .station-details-table td {
        display: block;
        width: 100%;
        padding: 0.75rem 0;
    }

    .station-details-table th {
        border-bottom: none;
        padding-bottom: 0.5rem;
    }

    .station-details-table td {
        padding-top: 0.5rem;
    }

    .service-icons img {
        width: 40px;
        height: 40px;
    }
}
