@charset "utf-8";

#content {
    width: 100%;
}

#contents {
    width: 100%;
    padding-bottom: 0;
}

.l-contents {
    background-color: #fff;
}

.l-page.timemap {
    padding: 15px 0 100px;
}

/* =========================================
   Title
   Figma: x390 y15 W1140 H39 / gap 14px
   ========================================= */
.timemap {
    width: 100%;
    padding: 15px 0 212px;
    background-color: #fff;
}

.timemap-title {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 1140px;
    height: 39px;
    margin: 0 auto;
}

.timemap-title__line {
    display: block;
    width: 4px;
    height: 32px;
    background-color: var(--color-primary-default-main, #f6e24c);
}

.timemap-title__heading {
    color: var(--color-primary-grayscale-black, #000);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
}

/* =========================================
   Way of Seeing
   Figma: W955 H121 / margin-top 20px
   ========================================= */
.timemap-howto {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 955px;
    height: 121px;
    margin: 20px auto 0;
}

.timemap-howto__heading {
    width: 241px;
    color: var(--color-text-default, #333);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
}

.timemap-howto__panel {
    display: flex;
    width: 694px;
    height: 121px;
    border: 1px solid var(--color-primary-default-sub, #d83c3c);
    background-color: #fff;
}

.timemap-howto__label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 119px;
    background-color: var(--color-primary-default-sub, #d83c3c);
    padding: 2px 10px 0 8px;
}

.timemap-howto__label-text {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.1;
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0.12em;
}

.timemap-howto__content {
    display: flex;
    align-items: flex-start;
    gap: 29px;
    height: 119px;
    padding: 28px 0 20px 13px;
    flex: 1;
}

.timemap-howto__sample {
    position: relative;
    width: 226px;
    height: 81px;
}

.timemap-howto__routes {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 26px;
}

.timemap-howto__sample-text {
    margin-top: 12px;
    color: var(--color-text-default, #333);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
}

.timemap-howto__note {
    margin-top: 4px;
    color: var(--color-text-default, #333);
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    text-align: left;
    padding: 0 0 0 43px;
}

.timemap-howto__divider {
    width: 1px;
    height: 81px;
    background-color: var(--color-primary-grayscale-gray, #eaeaea);
    position: relative;
    top: -8px;
}

.timemap-howto__legend {
    display: grid;
    grid-template-columns: 167px 167px;
    gap: 2px 25px;
    width: 359px;
}

[class^="timemap-howto__legend-item--"] {
    position: relative;
    height: 20px;
    padding-left: 95px;
    color: var(--color-text-default, #333);
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
    white-space: nowrap;
}

[class^="timemap-howto__legend-item--"]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 90px;
    height: 20px;
}

.timemap-howto__legend-item--green::before {
    background: url(/images/pc/timemap/legend-green.webp) no-repeat center / cover;
}

.timemap-howto__legend-item--green {
    grid-column: 1;
    grid-row: 1;
}

.timemap-howto__legend-item--orange {
    grid-column: 1;
    grid-row: 2;
}

.timemap-howto__legend-item--orange::before {
    background: url(/images/pc/timemap/legend-orange.webp) no-repeat center / cover;
}

.timemap-howto__legend-item--blue::before {
    background: url(/images/pc/timemap/legend-blue.webp) no-repeat center / cover;
}

.timemap-howto__legend-item--blue {
    grid-column: 1;
    grid-row: 3;
}

.timemap-howto__legend-item--black {
    grid-column: 2;
    grid-row: 1;
}

.timemap-howto__legend-item--black::before {
    background: url(/images/pc/timemap/legend-black.webp) no-repeat center / cover;
}

.timemap-howto__legend-item--red {
    grid-column: 2;
    grid-row: 2;
}

.timemap-howto__legend-item--red::before {
    background: url(/images/pc/timemap/legend-red.webp) no-repeat center / cover;
}

/* =========================================
   Map
   ========================================= */
.timemap-map {
    width: 1140px;
    height: 1211px;
    margin: 20px auto 0;
    background-color: #fff;
}

.timemap-map__inner {
    display: flex;
    justify-content: center;
    width: 1140px;
    height: 1211px;
    padding: 39px 59px 38px;
}

.timemap-map__image {
    display: block;
    width: 100%;
    height: auto;
}