/* shop.css: このページ種専用の内容スタイル(共通部分は site.css) */
.bg-light { background-color: var(--bg-light-gray); }
.page-title {
    display: block;
    width: fit-content;
    margin: 0 auto 40px auto;
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
    border-bottom: none;
}
.page-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: var(--primary-color);
}
.section-title { 
    margin-bottom: 30px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
    padding-left: 15px;
    border-left: 5px solid var(--primary-color);
}
.company-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 25px; 
    margin-top: 30px;
}
.company-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    background-color: var(--bg-color);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}
.company-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.company-item h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--text-color);
    font-weight: 700;
}
.company-item h4 a {
    color: var(--primary-color);
}
.company-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.6;
}
.company-item p:last-child {
    margin-bottom: 0;
}
.company-item .address::before {
    content: "住所：";
    font-weight: 600;
    color: var(--text-color);
}
.company-item .tel::before {
    content: "電話：";
    font-weight: 600;
    color: var(--text-color);
}
.company-item .map-link {
    font-size: 0.85rem;
    margin-left: 5px;
}
@media (max-width: 1023px) {
    .page-title { font-size: 1.8rem; margin-bottom: 35px; }
    .company-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px;
    }
    .company-item { padding: 15px; }
    .company-item h4 { font-size: 1.1rem; }
    .company-item p { font-size: 0.85rem; }
}
@media (max-width: 767px) {
    .page-title { font-size: 1.6rem; margin-bottom: 30px; padding-bottom: 10px;}
    .page-title::after { width: 50px; height: 3px; }
    .company-grid {
        grid-template-columns: 1fr; 
        gap: 15px;
    }
    .company-item { padding: 15px; }
    .company-item h4 { font-size: 1.1rem; }
    .company-item p { font-size: 0.9rem; }
}
