/* アクセスページのスタイル */
:root {
    --primary: #62A490;
    --dark: #29594F;
    --secondary: #9DC4B9;
    --light: #E5F1EE;
    --accent: #D4A574;
    --gray: #333333;
}

/* ホームに戻るボタン */
.back-to-home-container {
    text-align: center;
    margin: 80px 0 100px;
}

.back-to-home-button {
    display: inline-flex;
    align-items: center;
    color: var(--gray);
    text-decoration: none;
    font-size: 16px;
    position: relative;
    padding-bottom: 3px;
    transition: all 0.3s ease;
}

.back-to-home-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 100%;
    width: 0;
    height: 1px;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

.back-to-home-button:hover {
    color: var(--primary);
}

.back-to-home-button:hover::after {
    width: 100%;
    left: 0;
}

/* 矢印の左移動アニメーション */
.back-to-home-button i,
.back-to-home-button svg {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.back-to-home-button:hover i,
.back-to-home-button:hover svg {
    transform: translateX(-5px);
}

/* シンプルなページヘッダー - SVG背景が見えるように改良 */
.simple-page-header {
    position: relative;
    padding: 160px 0 80px;
    background-color: rgba(255, 255, 255, 0); /* 背景を透明に */
    text-align: center;
    overflow: hidden;
    margin-top: 0;
    border-bottom: 1px solid var(--light);
    z-index: 5; /* 上位レイヤーに */
}

.simple-page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.6));
    z-index: -1;
}

.page-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 48px; /* Services・Projectsと統一 */
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0;
    position: relative;
    display: inline-block;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1), 0 0 20px rgba(255, 255, 255, 0.8);
    transition: transform 0.5s ease;
}

.simple-page-header:hover .page-title {
    transform: translateY(-5px);
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--primary));
}

.header-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--primary);
    margin-top: 15px;
    letter-spacing: 2px;
    opacity: 0.8;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
}

/* セクション共通スタイル */
section {
    margin: 80px 0;
    position: relative;
}

/* 概要セクション */
.access-overview {
    padding: 60px 0;
    background-color: white;
}

.overview-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.overview-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray);
    margin: 0;
}

/* 本社所在地セクション */
.office-location-section {
    padding: 60px 0;
    background-color: rgba(229, 241, 238, 0.02);
}

.office-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.map-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.map-container:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

.office-info {
    text-align: center;
}

.office-address {
    font-style: normal;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
    color: var(--gray);
}

.contact-details {
    margin-top: 20px;
}

.contact-details p {
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 15px;
}

.contact-details a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--dark);
}

.contact-details i {
    color: var(--primary);
    width: 20px;
    margin-right: 10px;
    text-align: center;
}

/* アクセス情報セクション */
.access-info-section {
    padding: 60px 0;
    background-color: rgba(229, 241, 238, 0.05);
}

.access-content {
    max-width: 1000px;
    margin: 0 auto;
}

.access-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.access-method {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.access-method:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.access-method h4 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--light);
    padding-bottom: 10px;
}

.access-method h4 i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 20px;
}

.access-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.access-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    line-height: 1.6;
    color: var(--gray);
    font-size: 14px;
}

.access-list li:last-child {
    margin-bottom: 0;
}

.access-list li::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: 0.7;
}

/* アニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* レスポンシブデザイン */
@media screen and (max-width: 992px) {
    .page-title {
        font-size: 44px;
    }
    
    .header-subtitle {
        font-size: 16px;
    }
    
    .overview-text {
        font-size: 15px;
    }
    
    .map-container iframe {
        height: 350px;
    }
    
    .access-methods {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .simple-page-header {
        padding: 130px 0 60px;
    }
    
    .page-title {
        font-size: 38px;
    }
    
    .header-subtitle {
        font-size: 14px;
    }
    
    .overview-text {
        font-size: 13px !important;
        line-height: 1.6 !important;
        letter-spacing: -0.2px !important;
    }
    
    .office-address {
        font-size: 13px !important;
        line-height: 1.4 !important;
        letter-spacing: -0.2px !important;
    }
    
    .contact-details p {
        font-size: 13px !important;
        line-height: 1.4 !important;
        letter-spacing: -0.2px !important;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .access-method {
        padding: 20px;
    }
    
    .access-method h4 {
        font-size: 16px;
    }
    
    .access-list li {
        font-size: 13px !important;
        line-height: 1.4 !important;
        letter-spacing: -0.2px !important;
    }
}

@media screen and (max-width: 576px) {
    .simple-page-header {
        padding: 120px 0 50px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .header-subtitle {
        font-size: 13px;
    }
    
    .overview-text {
        font-size: 12px !important;
        line-height: 1.5 !important;
    }
    
    .office-address {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }
    
    .contact-details p {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }
    
    .map-container iframe {
        height: 250px;
    }
    
    .access-method {
        padding: 15px;
    }
    
    .access-method h4 {
        font-size: 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .access-list li {
        font-size: 12px !important;
        padding-left: 15px;
    }
}
