@charset "utf-8";

.access-page {
    color: #39474b;
    background: #fff;
}

.access-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.access-container {
    width: min(100% - 40px, 800px);
    margin-right: auto;
    margin-left: auto;
}

.access-page .breadcrumb__list {
    max-width: 800px;
}

.access-hero {
    padding: 35px 0;
    border-bottom: 1px solid #e4ecec;
    background-color: #f5f9f9;
    background-image:
        linear-gradient(90deg, rgb(245 249 249 / 96%) 0%, rgb(245 249 249 / 90%) 30%, rgb(245 249 249 / 58%) 60%, rgb(245 249 249 / 28%) 100%),
        url("/images/omotesando.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 62%;
}

.access-hero__inner {
    text-align: left;
}

h1.access-hero-heading {
    margin: 0;
    color: #33484b;
    font-size: clamp(25px, 3.0vw, 40px);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.12em;
}

.access-hero__clinic {
    display: block;
    color: #33484b;
    font-size: clamp(15px, 1.4vw, 20px);
    font-weight: 600;
    line-height: 2.1;
    letter-spacing: 0.06em;
}

.access-hero__title {
    display: block;
    margin-top: 6px;
}

.access-hero__station {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 4px 8px;
    margin: 0 0 6px 4px;
    color: #566d71;
    font-size: clamp(15.5px, 1.6vw, 19px);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.access-hero__station > span,
.access-hero__station strong {
    white-space: nowrap;
}

.access-hero__station strong {
    color: #426b72;
    font-size: 1.04em;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.access-hero__description {
    line-height: 1.9;
}

.access-clinic-photo {
    display: block;
    margin-top: 36px;
}

.access-clinic-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.access-section {
    margin-top: 45px;
    scroll-margin-top: 100px;
}

#hours {
    padding-top: 32px;
    border-top: 1px solid #dce7e7;
}

h2.access-hours-title {
    margin: 0;
    padding-left: 0;
    border-left: 0;
    font-size: 17px;
    letter-spacing: 0.04em;
}

.access-hours-time {
    white-space: nowrap;
}

#hours .consultationday {
    font-size: 14px;
}

#hours .consultationday th:first-child,
#hours .consultationday td:first-child {
    white-space: nowrap;
}

.access-location {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 36px;
}

.access-clinic-name {
    margin-bottom: 18px;
    font-size: 19px;
    font-weight: 600;
}

.access-details > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 18px 0;
    border-top: 1px solid #e0e9e9;
    line-height: 1.9;
}

.access-details dt {
    color: #55757b;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.04em;
}

.access-details dd {
    min-width: 0;
}

.access-details address {
    font-style: normal;
}

.access-address-building {
    white-space: nowrap;
}

.access-station-list {
    margin-top: 10px;
    padding: 0;
    list-style: none;
}

.access-station-list li {
    position: relative;
    margin: 0;
    padding: 10px 0 10px 18px;
    line-height: 1.7;
}

.access-station-list li:first-child {
    padding-top: 2px;
}

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

.access-station-list li::before {
    content: "";
    position: absolute;
    top: 1.05em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7daeb5;
}

.access-station-list li:first-child::before {
    top: 0.7em;
}

.access-station-list li:not(:first-child)::before {
    top: calc(10px + (1.7em - 6px) / 2);
}

.access-station-name,
.access-station-walk {
    color: #5c7176;
    font-weight: 600;
    font-size: 15px;
}

.access-text-link {
    color: #356d79;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.access-phone {
    color: #55757b;
    font-size: 16px;
    font-weight: 600;
    line-height: inherit;
    white-space: nowrap;
}

.access-help,
.access-hours-note {
    line-height: 1.9;
}

.access-map {
    scroll-margin-top: 100px;
}

.access-map iframe {
    display: block;
    width: 100%;
    height: 340px;
    border: 1px solid #dce7e7;
    border-radius: 6px;
}

.access-map .access-button {
    display: flex;
    width: 90%;
    min-height: 44px;
    margin: 14px auto 0;
    padding: 10px 22px;
}

.access-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid #7daeb5;
    border-radius: 6px;
    background: #fff;
    color: #366570;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
}

.access-page .access-button:hover {
    color: #366570;
    opacity: 0.85;
}

.access-page main a:focus-visible {
    outline: 3px solid #4a858f;
    outline-offset: 4px;
}

.access-hours-table {
    width: 100%;
    margin-bottom: 18px;
    border-collapse: collapse;
}

.access-hours-table th,
.access-hours-table td {
    width: 50%;
    padding: 18px 20px;
    border-bottom: 1px solid #dbe6e7;
    text-align: center;
}

.access-hours-table thead th {
    background: #edf7f8;
    color: #466c72;
    font-weight: 600;
}

.access-hours-table tbody th {
    font-weight: 500;
}

.access-hours-note + .access-hours-note {
    margin-top: 4px;
}

.access-reservation {
    margin-top: 48px;
    margin-bottom: 64px;
    padding: 40px 36px;
    border: 1px solid #dce7e7;
    border-radius: 10px;
    background: #f5f9f9;
    box-shadow: 0 4px 16px rgb(57 71 75 / 4%);
    text-align: center;
}

.access-reservation__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
    color: #527278;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.16em;
}

.access-reservation__eyebrow::before,
.access-reservation__eyebrow::after {
    content: "";
    width: 28px;
    height: 1px;
    background: #b7cccf;
}

h2.access-reservation-title {
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    color: #33484b;
    font-family: inherit;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.04em;
}

.access-reservation__description {
    margin: 0 auto;
    max-width: 28em;
    color: #5c6a6d;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 2;
    letter-spacing: 0.04em;
}

.access-reservation__links {
    display: flex;
    justify-content: center;
    margin-top: 6px;
}

.access-page .access-reservation__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: min(100%, 380px);
    min-width: 0;
    min-height: 56px;
    padding: 14px 28px;
    border: 1px solid #f58220;
    border-radius: 6px;
    background: linear-gradient(180deg, #f9a825 0%, #f58220 100%);
    box-shadow: 0 4px 12px rgb(245 130 32 / 18%);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.access-page .access-reservation__button span {
    text-shadow: 0 1px 2px rgb(150 60 0 / 24%);
}

.access-reservation__arrow {
    display: block;
    width: 18px;
    height: 18px;
    color: rgb(255 255 255 / 88%);
    transition: transform 180ms ease;
}

.access-page .access-reservation__button:hover {
    background: linear-gradient(180deg, #ffb300 0%, #f9a825 100%);
    box-shadow: 0 6px 16px rgb(245 130 32 / 24%);
    color: #fff;
    opacity: 1;
    transform: translateY(-1px);
}

.access-reservation__button:hover .access-reservation__arrow {
    transform: translateX(3px);
}

.access-page .access-reservation__button:active {
    color: #fff;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .access-page .access-reservation__button,
    .access-reservation__arrow {
        transition: none;
    }

    .access-page .access-reservation__button:hover,
    .access-reservation__button:hover .access-reservation__arrow {
        transform: none;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .access-container {
        width: min(100% - 128px, 800px);
    }

    .access-page .breadcrumb__list {
        padding-right: 64px;
        padding-left: 64px;
    }
}

@media (max-width: 767px) {
    .access-hero {
        background-image:
            linear-gradient(90deg, rgb(245 249 249 / 96%) 0%, rgb(245 249 249 / 90%) 52%, rgb(245 249 249 / 50%) 100%),
            url("/images/omotesando.webp");
        background-position: center 65%;
    }

    .access-location {
        gap: 24px;
    }

    .access-clinic-photo {
        margin-top: 24px;
    }

    .access-section {
        margin-top: 20px;
    }

    #hours {
        padding-top: 28px;
    }

    .access-map iframe {
        height: 240px;
    }

    .access-hours-table th,
    .access-hours-table td {
        padding: 16px 8px;
    }

    .access-reservation {
        margin-top: 33px;
        margin-bottom: 30px;
        padding: 20px 20px 32px;
    }

    h2.access-reservation-title {
        margin-bottom: 12px;
        font-size: 23px;
        letter-spacing: 0.04em;
    }

    .access-reservation__description {
        letter-spacing: 0.02em;
    }

    .access-page .access-reservation__button {
        min-height: 52px;
        padding: 14px 18px;
        font-size: 1.1rem;
        letter-spacing: 0.06em;
    }
}

@media (max-width: 430px) {
    #hours .consultationday {
        font-size: 12px;
    }

    #hours .consultationday th,
    #hours .consultationday td {
        padding-right: 4px;
        padding-left: 4px;
    }
}
