/* アクセスセクションのスタイル */
.access {
    padding-top: 80px;
    background-color: #fff;
}

.access-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.access-heading {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.access-content {
    max-width: 1000px;
    margin: 0 auto 4rem;
    background-color: #fff;
    border-radius: 8px;
    padding: 3rem;
}

.access-info {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.access-details {
    background-color: #f8f8f8;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.access-details-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid #ddd;
}

.access-details-item:last-child {
    border-bottom: none;
}

.access-details-item dt {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #000;
}

.access-details-item dd {
    line-height: 1.6;
    color: #333;
}

/* アクセス情報テーブルのスタイル */
.access-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.access-table th,
.access-table td {
    padding: 2rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    line-height: 1.8;
}

.access-table th {
    width: 240px;
    font-weight: bold;
    position: relative;
    background-color: rgba(0, 0, 0, 0.02);
}

.access-table b {
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Google Map のスタイリング */
.access-map {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .access {
        padding: 60px 0;
    }

    .access-container {
        padding: 0 1rem;
    }

    .access-heading {
        font-size: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .access-content {
        padding: 2rem 1.5rem;
        margin: 0 0 3rem;
    }

    .access-details {
        padding: 1.5rem;
    }

    .access-details-item {
        padding: 1rem 0;
    }

    .access-table,
    .access-table tbody,
    .access-table tr,
    .access-table th,
    .access-table td {
        display: block;
        width: 100%;
    }

    .access-table th {
        padding: 1.5rem 1rem 0.5rem;
        font-size: 1rem;
    }

    .access-table td {
        padding: 1rem 1rem 1.5rem;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .access-table tr {
        margin-bottom: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .access-table th,
    .access-table td {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .access {
        padding: 40px 0;
    }

    .access-container {
        padding: 0 0.8rem;
    }

    .access-heading {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .access-content {
        padding: 1.5rem 1rem;
        margin: 0 0 2rem;
    }

    .access-details {
        padding: 1rem;
    }

    .access-details-item {
        padding: 0.8rem 0;
    }

    .access-table th {
        padding: 1rem 0.8rem 0.3rem;
        font-size: 0.9rem;
    }

    .access-table td {
        padding: 0.8rem 0.8rem 1rem;
        font-size: 0.8rem;
        line-height: 1.5;
    }
}
