/* company.css: このページ種専用の内容スタイル(共通部分は site.css) */
.bg-light { background-color: var(--bg-light-gray); }
.page-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem; 
    font-weight: 700;
    color: var(--primary-color);
}
.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-color); 
    margin-bottom: 25px;
    padding-left: 15px;
    position: relative;
    border-bottom: 1px solid var(--border-color); 
    padding-bottom: 10px; 
}
.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 14px; 
    width: 4px;
    background-color: var(--primary-color);
}
.button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 30px; 
    border: none;
    border-radius: 5px; 
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.button:hover {
    background-color: #660000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}
.more-link { text-align: center; margin-top: 30px; }
.company-page-container { display: flex; gap: 30px; }
.page-nav {
    width: 220px;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 20px 0;
    background-color: var(--bg-light-gray);
    height: fit-content;
    position: sticky;
    
    top: calc(var(--header-height-pc) + var(--nav-height-explicit) + 20px);
    z-index: 10; 
}
.page-nav h3 { font-size: 1.2rem; font-weight: 700; color: var(--primary-color); padding: 0 20px 15px 20px; margin-bottom: 15px; border-bottom: 1px solid var(--border-color); }
.page-nav ul { list-style: none; }
.page-nav li a { display: block; padding: 10px 20px; color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; border-left: 3px solid transparent; transition: background-color 0.3s ease, border-left-color 0.3s ease, color 0.3s ease; }
.page-nav li a:hover { background-color: #e9ecef; color: var(--primary-color); border-left-color: var(--primary-color); }
.main-content { flex-grow: 1; }
.main-content section { margin-bottom: 50px; }
.main-content section:last-child { margin-bottom: 0; }
.main-content p { margin-bottom: 1.2em; line-height: 1.8; color: var(--text-color); font-size: 0.95rem; }
.table-container { margin-bottom: 20px; border: 1px solid var(--border-color); overflow: visible; }
.info-table { width: 100%; border-collapse: collapse; background-color: var(--bg-color); table-layout: auto; }
.info-table caption { font-size: 1.1rem; font-weight: 700; color: var(--primary-color); padding: 15px; text-align: left; background-color: var(--bg-light-gray); border-bottom: 1px solid var(--border-color);}
.info-table th, .info-table td { border: 1px solid var(--border-color); padding: 10px 12px; text-align: left; vertical-align: top; font-size: 0.9rem; word-wrap: break-word; white-space: normal; }
.info-table th { background-color: var(--bg-light-gray); color: var(--text-secondary); font-weight: 700; width: 150px; border-bottom: 1px solid var(--border-color); }
.info-table tbody tr:hover { background-color: #e9ecef; }
#c02 tbody tr:nth-child(5n) { border-bottom: 2px solid var(--header-border-color); }
.c03 span { font-weight: 700; display: block; margin-bottom: 5px; color: var(--text-color); }
.c03 td { line-height: 1.6; }
.access-section h5 { font-size: 1.1rem; margin-bottom: 15px; font-weight: 700; color: var(--primary-color); }
.access-block { display: flex; flex-wrap: wrap; gap: 25px; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px dashed var(--border-color); }
.access-block:last-of-type { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.google-map { flex: 1 1 400px; min-width: 300px; }
.google-map iframe { width: 100%; height: 350px; border: 1px solid var(--border-color); }
.map-link { display: block; margin-top: 8px; font-size: 0.85rem; text-align: right; }
.access-route { flex: 1 1 250px; }
.access-route h6 { font-size: 1rem; font-weight: 700; margin-bottom: 15px; color: var(--text-secondary); }
.access-route p { margin-bottom: 1.5em; line-height: 1.6; }
.access-route strong { font-weight: 700; color: var(--text-color); }
.access-route img { margin-top: 20px; border: 1px solid var(--border-color); border-radius: 4px; }
.contact-section ul { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.contact-section li img { border: 1px solid var(--border-color); border-radius: 4px; max-width: 360px; }
.contact-section li a.button {}
@media (max-width: 1023px) {
    .page-nav {
        top: calc(var(--header-height-tablet) + var(--nav-height-explicit) + 20px);
    }
    .page-title { font-size: 2.0rem; }
    .section-title { font-size: 1.6rem; }
}
@media (max-width: 991px) {
    .company-page-container { flex-direction: column; }
    .page-nav { width: 100%; position: static; margin-bottom: 30px; padding: 15px 0; top: auto; z-index: auto; }
    .page-nav h3 { text-align: center; border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
    .page-nav ul { display: flex; flex-wrap: wrap; justify-content: center; border-top: 1px solid var(--border-color); margin-top: 15px; padding-top: 10px; }
    .page-nav li { margin: 5px; }
    .page-nav li a { padding: 8px 15px; border-radius: 4px; border-left: none; }
    .page-nav li a:hover { background-color: var(--primary-color); color: #fff; border-left-color: transparent;}
}
@media (max-width: 767px) {
    .page-title { font-size: 1.8rem;  margin-bottom: 30px; }
    .section-title { font-size: 1.4rem; padding-left: 10px; }
    .section-title::before { width: 3px; bottom: 12px; }
}
