/* ========================================
   NJES アクセスページ専用CSS
   assets/css/access.css
======================================== */


/* ========================================
   共通
======================================== */

.access-hero,
.access-location,
.access-route,
.access-parking {
    position: relative;
}

.access-hero__inner,
.access-location__inner,
.access-route__inner,
.access-parking__inner {
    width: min(1100px, calc(100% - 48px));
    margin-inline: auto;
}


/* ========================================
   ファーストビュー
======================================== */

.access-hero {
    overflow: hidden;
    padding: 94px 0 100px;
    background:
        linear-gradient(
            135deg,
            #f8fbff 0%,
            #eef6ff 52%,
            #effcff 100%
        );
}

.access-hero__background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.access-hero__grid {
    position: absolute;
    inset: 0;
    opacity: 0.55;
    background-image:
        linear-gradient(
            rgb(3 81 248 / 5%) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgb(3 81 248 / 5%) 1px,
            transparent 1px
        );
    background-size: 56px 56px;
    mask-image:
        linear-gradient(
            90deg,
            #000 0%,
            #000 55%,
            transparent 100%
        );
    -webkit-mask-image:
        linear-gradient(
            90deg,
            #000 0%,
            #000 55%,
            transparent 100%
        );
}

.access-hero__orb {
    position: absolute;
    border-radius: 50%;
}

.access-hero__orb--blue {
    top: -280px;
    right: -100px;
    width: 650px;
    height: 650px;
    background:
        radial-gradient(
            circle,
            rgb(3 81 248 / 17%) 0%,
            rgb(3 81 248 / 4%) 55%,
            transparent 72%
        );
}

.access-hero__orb--cyan {
    right: 24%;
    bottom: -300px;
    width: 520px;
    height: 520px;
    background:
        radial-gradient(
            circle,
            rgb(55 183 233 / 18%) 0%,
            transparent 70%
        );
}

.access-hero__line {
    position: absolute;
    top: 20%;
    right: -80px;
    width: 520px;
    height: 220px;
    border: 1px solid rgb(3 81 248 / 10%);
    border-radius: 50%;
    transform: rotate(-20deg);
}

.access-hero__line::before,
.access-hero__line::after {
    position: absolute;
    content: "";
    border: 1px solid rgb(55 183 233 / 12%);
    border-radius: 50%;
}

.access-hero__line::before {
    inset: 24px;
}

.access-hero__line::after {
    inset: 50px;
}

.access-hero__inner {
    position: relative;
    z-index: 1;
}

.access-hero__label {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 0 18px;
    color: var(--color-primary, #0351f8);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.access-hero__label span {
    width: 42px;
    height: 2px;
    background:
        linear-gradient(
            90deg,
            var(--color-primary, #0351f8),
            var(--color-cyan, #37b7e9)
        );
    border-radius: 999px;
}

.access-hero__title {
    margin: 0;
    color: var(--color-navy, #102b4e);
    font-size: clamp(44px, 5vw, 68px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.access-hero__lead {
    margin: 28px 0 0;
    color: var(--color-navy, #102b4e);
    font-size: clamp(21px, 2.4vw, 30px);
    font-weight: 800;
    line-height: 1.65;
}

.access-hero__description {
    max-width: 680px;
    margin: 17px 0 0;
    color: #5f7489;
    font-size: 15px;
    line-height: 2;
}


/* ========================================
   共通見出し
======================================== */

.access-section-heading {
    margin-bottom: 42px;
}

.access-section-heading__label {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 0 14px;
    color: var(--color-primary, #0351f8);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.access-section-heading__label span {
    width: 42px;
    height: 2px;
    background:
        linear-gradient(
            90deg,
            var(--color-primary, #0351f8),
            var(--color-cyan, #37b7e9)
        );
    border-radius: 999px;
}

.access-section-heading__title {
    margin: 0;
    color: var(--color-navy, #102b4e);
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 850;
    line-height: 1.4;
    letter-spacing: 0.04em;
}

.access-section-heading__description {
    margin: 14px 0 0;
    color: #687d92;
    font-size: 14px;
    line-height: 1.9;
}


/* ========================================
   周辺地図・所在地
======================================== */

.access-location {
    padding: 105px 0 115px;
    background: #ffffff;
}

.access-location__layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(340px, 0.75fr);
    align-items: stretch;
    gap: 28px;
}

.access-map {
    min-width: 0;
    overflow: hidden;
    background: #eaf2fb;
    border: 1px solid #d5e3f1;
    border-radius: 20px;
    box-shadow:
        0 18px 50px rgb(26 72 119 / 10%);
}

.access-map__iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 510px;
    border: 0;
}


/* ========================================
   所在地カード
======================================== */

.access-office-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 34px 30px;
    background:
        linear-gradient(
            145deg,
            #0a3970 0%,
            #07548a 60%,
            #087a93 100%
        );
    border-radius: 20px;
    box-shadow:
        0 20px 50px rgb(0 38 78 / 16%);
}

.access-office-card__label {
    margin: 0 0 12px;
    color: #83dce7;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.access-office-card__title {
    margin: 0;
    padding-bottom: 24px;
    color: #ffffff;
    border-bottom: 1px solid rgb(255 255 255 / 16%);
    font-size: 22px;
    font-weight: 850;
    line-height: 1.5;
}

.access-office-card__address {
    display: grid;
    gap: 25px;
    margin-top: 27px;
    color: rgb(255 255 255 / 77%);
    font-size: 13px;
    font-style: normal;
    line-height: 1.85;
}

.access-office-card__item {
    display: grid;
    grid-template-columns: 43px minmax(0, 1fr);
    align-items: start;
    gap: 15px;
}

.access-office-card__icon {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    color: #ffffff;
    background: rgb(255 255 255 / 10%);
    border: 1px solid rgb(255 255 255 / 17%);
    border-radius: 11px;
}

.access-office-card__icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.access-office-card__item p {
    margin: 0;
}

.access-office-card__name {
    margin-bottom: 3px !important;
    color: #83dce7;
    font-size: 11px;
    font-weight: 800;
}

.access-office-card__item a {
    color: #ffffff;
    font-weight: 750;
    text-decoration: none;
}

.access-office-card__item a:hover {
    text-decoration: underline;
}

.access-office-card__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 56px;
    margin-top: auto;
    padding: 0 20px;
    color: #07537f;
    background: #ffffff;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    transition:
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.access-office-card__button:hover {
    color: var(--color-primary, #0351f8);
    box-shadow:
        0 12px 28px rgb(0 20 48 / 20%);
    transform: translateY(-2px);
}


/* ========================================
   交通アクセス
======================================== */

.access-route {
    padding: 110px 0 120px;
    background: #f7faff;
}

.access-route__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.access-route-card {
    position: relative;
    min-width: 0;
    padding: 36px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #d9e6f2;
    border-radius: 20px;
    box-shadow:
        0 18px 45px rgb(26 72 119 / 7%);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.access-route-card:hover {
    border-color: rgb(3 81 248 / 25%);
    box-shadow:
        0 24px 55px rgb(26 72 119 / 12%);
    transform: translateY(-5px);
}

.access-route-card__number {
    position: absolute;
    top: 22px;
    right: 27px;
    margin: 0;
    color: rgb(3 81 248 / 8%);
    font-size: 58px;
    font-weight: 900;
    line-height: 1;
}

.access-route-card__icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 74px;
    height: 74px;
    margin-bottom: 25px;
    place-items: center;
    color: var(--color-primary, #0351f8);
    background:
        linear-gradient(
            135deg,
            #edf4ff 0%,
            #eafcff 100%
        );
    border-radius: 19px;
}

.access-route-card__icon svg {
    width: 43px;
    height: 43px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.access-route-card__title {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--color-navy, #102b4e);
    font-size: 24px;
    font-weight: 850;
    line-height: 1.5;
}

.access-route-card__text {
    min-height: 72px;
    margin: 16px 0 27px;
    color: #60758b;
    font-size: 14px;
    line-height: 1.9;
}

.access-route-card__text strong {
    color: var(--color-navy, #102b4e);
    font-weight: 850;
}

.access-route-card__point {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 18px;
    padding: 15px 0;
    border-top: 1px solid #e0e9f2;
}

.access-route-card__point:last-child {
    padding-bottom: 0;
}

.access-route-card__point-label {
    color: #8092a5;
    font-size: 12px;
    font-weight: 750;
}

.access-route-card__point-value {
    color: var(--color-navy, #102b4e);
    font-size: 14px;
    font-weight: 850;
}


/* ========================================
   来客用駐車場
======================================== */

.access-parking {
    overflow: hidden;
    padding: 100px 0;
    background:
        linear-gradient(
            135deg,
            #073364 0%,
            #094b80 58%,
            #08758f 100%
        );
}

.access-parking::before {
    position: absolute;
    top: -260px;
    right: -120px;
    width: 580px;
    height: 580px;
    content: "";
    background:
        radial-gradient(
            circle,
            rgb(92 220 237 / 20%) 0%,
            transparent 68%
        );
    border-radius: 50%;
    pointer-events: none;
}

.access-parking::after {
    position: absolute;
    bottom: -260px;
    left: -180px;
    width: 560px;
    height: 560px;
    content: "";
    background:
        radial-gradient(
            circle,
            rgb(3 81 248 / 18%) 0%,
            transparent 70%
        );
    border-radius: 50%;
    pointer-events: none;
}

.access-parking__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns:
        minmax(360px, 593px)
        minmax(300px, 1fr);
    align-items: center;
    justify-content: center;
    gap: 55px;
}


/* ========================================
   駐車場画像
======================================== */

.access-parking__visual {
    position: relative;
    width: 100%;
    max-width: 593px;
    margin: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: 20px;
    box-shadow:
        0 25px 60px rgb(0 20 48 / 28%);
}

.access-parking__visual::after {
    position: absolute;
    inset: 0;
    content: "";
    border: 1px solid rgb(255 255 255 / 14%);
    border-radius: inherit;
    pointer-events: none;
}

.access-parking__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 593 / 609;
    object-fit: contain;
    background: #ffffff;
}


/* ========================================
   駐車場案内
======================================== */

.access-parking__content {
    min-width: 0;
}

.access-parking__label {
    margin: 0 0 13px;
    color: #83dce7;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.access-parking__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(29px, 3.5vw, 43px);
    font-weight: 850;
    line-height: 1.5;
    letter-spacing: 0.04em;
}

.access-parking__text {
    margin: 23px 0 0;
    color: rgb(255 255 255 / 82%);
    font-size: 14px;
    line-height: 2;
}

.access-parking__note {
    margin: 11px 0 0;
    color: rgb(255 255 255 / 61%);
    font-size: 12px;
    line-height: 1.9;
}

.access-parking__contact {
    margin-top: 30px;
}

/*
 * PC / タブレットでは問い合わせボタンを表示せず、
 * 電話番号をそのまま表示する。
 */
.access-parking__phone {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.access-parking__phone-label {
    color: #83dce7;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0.12em;
}

.access-parking__phone-number {
    color: #ffffff;
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.access-parking__button {
    display: none;
}


/* ========================================
   タブレット
======================================== */

@media (max-width: 960px) {
    .access-location__layout {
        grid-template-columns: 1fr;
    }

    .access-map__iframe {
        min-height: 460px;
    }

    .access-office-card {
        min-height: 490px;
    }

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

    .access-parking__visual {
        max-width: 593px;
        margin-inline: auto;
    }

    .access-parking__content {
        width: 100%;
        max-width: 700px;
        margin-inline: auto;
    }

}


/* ========================================
   スマートフォン
======================================== */

@media (max-width: 700px) {
    .access-hero__inner,
    .access-location__inner,
    .access-route__inner,
    .access-parking__inner {
        width: calc(100% - 28px);
    }


    /* ファーストビュー */

    .access-hero {
        padding: 72px 0 76px;
    }

    .access-hero__title {
        font-size: 40px;
    }

    .access-hero__lead {
        margin-top: 22px;
        font-size: 20px;
    }

    .access-hero__description {
        font-size: 13px;
        line-height: 1.9;
    }


    /* 周辺地図 */

    .access-location,
    .access-route {
        padding: 78px 0 88px;
    }

    .access-map {
        border-radius: 16px;
    }

    .access-map__iframe {
        min-height: 370px;
    }

    .access-office-card {
        min-height: 0;
        padding: 28px 22px;
        border-radius: 16px;
    }

    .access-office-card__button {
        margin-top: 30px;
    }


    /* 交通アクセス */

    .access-route__grid {
        grid-template-columns: 1fr;
    }

    .access-route-card {
        padding: 30px 23px;
        border-radius: 16px;
    }

    .access-route-card__text {
        min-height: 0;
    }


    /* 駐車場 */

    .access-parking {
        padding: 78px 0;
    }

    .access-parking__inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .access-parking__visual {
        width: 100%;
        max-width: 593px;
        margin-inline: auto;
        border-radius: 16px;
    }

    .access-parking__image {
        width: 100%;
        height: auto;
        aspect-ratio: 593 / 609;
        object-fit: contain;
    }

    .access-parking__content {
        width: 100%;
        max-width: none;
    }

    .access-parking__title {
        font-size: 28px;
    }

    .access-parking__text {
        margin-top: 18px;
        font-size: 13px;
    }

    .access-parking__contact {
        margin-top: 25px;
    }

    .access-parking__phone {
        display: none;
    }

    .access-parking__button {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
        width: 100%;
        max-width: none;
        min-height: 58px;
        margin-top: 0;
        padding: 0 21px;
        color: #07537f;
        background: #ffffff;
        border-radius: 10px;
        font-size: 12px;
        font-weight: 850;
        text-decoration: none;
        box-shadow:
            0 10px 26px rgb(0 20 48 / 16%);
        transition:
            color 0.25s ease,
            box-shadow 0.25s ease,
            transform 0.25s ease;
    }

    .access-parking__button:active {
        transform: translateY(1px);
    }
}


/* ========================================
   小さいスマートフォン
======================================== */

@media (max-width: 420px) {
    .access-hero__lead br {
        display: none;
    }

    .access-map__iframe {
        min-height: 320px;
    }

    .access-office-card__item {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 12px;
    }

    .access-office-card__icon {
        width: 38px;
        height: 38px;
    }

    .access-route-card__point {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 12px;
    }

    .access-parking__title {
        font-size: 25px;
    }

    .access-parking__button {
        gap: 16px;
        padding-inline: 17px;
        font-size: 11px;
    }
}