/**
 * アクセスポイント用スタイル
 */

.access-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
    position: relative;
}

/* .sectionのデフォルトpaddingを上書き */
.section.access-section {
    padding: 2rem 0 !important;
    max-width: 1000px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* アクセスセクション内のコンテナの幅を制限 */
.access-section .container {
    max-width: 100%;
    padding: 0 20px;
}


/* 装飾用罫線は削除済み */

/* アクセスページのラベル（右上に配置） */
.access-label-container {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    transform: rotate(10deg);
    filter: drop-shadow(6px 6px 12px rgba(0, 0, 0, 0.5));
}

.access-label-image {
    height: auto;
    max-width: 360px;
    display: block;
}

.access-section .section-title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
}

.access-section .section-title h1 {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.access-content {
    background: transparent;
    padding: 30px;
    border-radius: 0;
    box-shadow: none;
}

.access-main {
    margin-bottom: 30px;
    padding-bottom: 0;
    border-bottom: none;
}

.access-main h2 {
    font-size: 15px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.access-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.access-address {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

.access-map {
    position: relative;
    width: 100%;
    margin: 0;
}

.access-map iframe {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
}

.map-popup-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 50px;
    background: white;
    z-index: 10;
    pointer-events: none;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    display: none;
}

.map-link {
    margin-top: 10px;
    text-align: center;
}

.map-link a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.map-link a:hover {
    text-decoration: underline;
}

.access-note {
    background: #E8F5E9;
    border-left: 4px solid #4CAF50;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.access-note p {
    color: #2E7D32;
    font-size: 15px;
    margin: 0;
    font-weight: 500;
}

.access-schools {
    margin-top: 0;
    padding-top: 0;
}

.access-schools h2 {
    font-size: 24px;
    color: #2E7D32;
    margin-bottom: 30px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: none;
}

.school-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.school-item {
    background: #fff;
    border: 1px solid #ddd;
    border-left: 4px solid #8BC34A;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* フレンズクラブ：オレンジの左カラーライン */
.school-item-friends {
    border-left-color: #FF6B35;
}

/* クローバークラブ：青色の左カラーライン */
.school-item-clover {
    border-left-color: #3498DB;
}

/* PIVOT：紫色の左カラーライン */
.school-item-pivot {
    border-left-color: #9B59B6;
}

.school-item h3 {
    font-size: 15px;
    color: #333;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.school-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.school-address {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.school-map {
    position: relative;
    width: 100%;
}

.school-map iframe {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
}

.school-district {
    font-size: 12px;
    color: #558B2F;
    line-height: 1.6;
    margin: 0;
}

.school-building-name {
    font-size: 11px;
    color: #888;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .access-section {
        padding: 15px;
    }
    
    /* アクセスページ：containerの左右余白も15pxに統一 */
    .access-section .container {
        padding: 0 15px;
    }
    
    /* 左右余白0（section 15px + container 15px = 30pxに統一） */
    .access-content {
        padding: 20px 0;
    }
    
    .access-section .section-title h1 {
        font-size: 24px;
    }
    
    .access-main h2 {
        font-size: 14px !important;
    }
    
    .access-schools h2 {
        font-size: 1.25rem !important;
    }
    
    .access-address {
        font-size: 13px !important;
        line-height: 1.6 !important;
    }
    
    .school-address {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }
    
    .access-map iframe {
        height: 200px;
    }
    
    .school-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .school-item {
        padding: 15px;
    }
    
    .school-item h3 {
        font-size: 14px;
    }
    
    .school-map iframe {
        height: 150px;
    }
}