/* =========================================================
   Access Page
========================================================= */

.access-page {
    background: #ffffff;
    color: #17324d;
}


/* =========================================================
   Hero
========================================================= */

.access-hero {
    position: relative;
    padding: 100px 0 90px;
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f7faff 45%,
            #eef5fc 75%,
            #ffffff 100%
        );
    overflow: hidden;
}

.access-hero-inner {
    display: flex;
    align-items: center;
    gap: 70px;
    width: min(1080px, calc(100% - 80px));
    margin: 0 auto;
}

.access-hero-copy {
    flex: 1;
}

.access-kicker {
    display: block;
    margin: 0 0 18px;
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.access-hero h1 {
    margin: 0 0 28px;
    color: #17324d;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.3;
}

.access-lead {
    margin: 0;
    color: #17324d;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.9;
}

.access-hero-image {
    flex: 1;
}

.access-hero-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* =========================================================
   Offices
========================================================= */

.access-offices {
    width: min(1080px, calc(100% - 80px));
    margin: 0 auto;
}


/* =========================================================
   Office
========================================================= */

.access-office {
    position: relative;
    padding: 100px 0;
    border-bottom: 0;
    scroll-margin-top: 90px;
}

.access-office:first-child {
    padding-top: 100px;
}

.access-office:last-child {
    border-bottom: 0;
}


/* =========================================================
   Office Connection
========================================================= */

.access-office:not(:first-child) {
    position: relative;
}

/* 中央に配置する仕切りライン */
.access-office:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 11%;
    width: 78%;
    height: 2px;
    background: linear-gradient(
        to right,
        #dbe4ee 0%,
        #dbe4ee 46%,
        transparent 46%,
        transparent 54%,
        #dbe4ee 54%,
        #dbe4ee 100%
    );
}

/* 中央の接続ポイント */
.access-office:not(:first-child)::after {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #2563eb;
    border: 3px solid #ffffff;
    transform: translateX(-50%) rotate(45deg);
}


/* =========================================================
   Office Heading
========================================================= */

.access-office-heading {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 50px;
}

.access-number {
    padding-top: 8px;
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.access-office-kicker {
    margin: 0 0 8px;
    color: #7d8da0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.access-office-heading h2 {
    margin: 0;
    color: #17324d;
    font-size: 2.2rem;
    line-height: 1.4;
}


/* =========================================================
   Office Body
========================================================= */

.access-office-body {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 60px;
    align-items: start;
}


/* =========================================================
   Information
========================================================= */

.access-information {
    min-width: 0;
}

.access-info-block {
    padding: 0 0 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid #e0e7ef;
}

.access-info-label {
    display: block;
    margin-bottom: 12px;
    color: #2563eb;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.access-info-block p {
    margin: 0;
    color: #526477;
    font-size: 1.18rem;
    line-height: 1.9;
}

.access-contact p {
    color: #243b53;
    font-size: 1.2rem;
}

.access-contact p span {
    display: inline-block;
    min-width: 38px;
    margin-right: 8px;
    color: #7d8da0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}


.access-information .access-info-block:nth-child(1) p,
.access-information .access-info-block:nth-child(4) p {
    font-size: 1.2rem;
}



/* =========================================================
   Parking
========================================================= */

.access-parking {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #7d8da0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.access-parking i {
    color: #8a9aaa;
    font-size: 0.95rem;
}


/* =========================================================
   Google Map
========================================================= */

.access-map {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #f3f6fa;
    border: 1px solid #e0e7ef;
}

.access-map iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}


/* =========================================================
   Company Navigation
========================================================= */

/*
   company-navigation は
   company-common.css を使用
*/


/* =========================================================
   Responsive
========================================================= */

@media (max-width: 768px) {

    /* Hero */

    .access-hero {
        padding: 70px 0;
    }

    .access-hero-inner {
        flex-direction: column;
        align-items: stretch;
        width: min(100% - 40px, 600px);
        gap: 40px;
    }

    .access-hero h1 {
        font-size: 2.3rem;
    }

    .access-lead {
        font-size: 1.05rem;
        line-height: 1.9;
    }

    .access-hero-image img {
        width: 100%;
        height: 260px;
    }


    /* Offices */

    .access-offices {
        width: min(100% - 40px, 600px);
    }

    .access-office {
        padding: 70px 0;
    }

    .access-office:first-child {
        padding-top: 70px;
    }


    /* Office Heading */

    .access-office-heading {
        gap: 18px;
        margin-bottom: 40px;
    }

    .access-number {
        padding-top: 6px;
    }

    .access-office-heading h2 {
        font-size: 1.8rem;
    }


    /* Office Body */

    .access-office-body {
        grid-template-columns: 1fr;
        gap: 40px;
    }


    /* Information */

    .access-info-block {
        padding-bottom: 22px;
        margin-bottom: 22px;
    }

    .access-info-block p {
        font-size: 1.05rem;
        line-height: 1.9;
    }


    /* Map */

    .access-map iframe {
        height: 320px;
    }

}