@charset "UTF-8";

#roadservice.wrapper {
    background-color: var(--light-grey);
}

#emergency-article .cont-ttl-block {
    margin-bottom: var(--space80);
}

.flex {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.3em;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3em;
}

.cont-ttl-jp.l-size {
    text-align: center;
}

.cont-ttl-icon {
    height: calc(var(--base-font28) * 1.5);
    margin-block: 1em;
}

.cont-ttl-icon img {
    width: auto;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.cont-ttl-paragraph {
    margin-bottom: 1em;
}

.cont-ttl-caution{
    margin-inline: auto;
    margin-bottom: 45px;
    width: fit-content;
    font-size: var(--base-font22);
    font-weight: 500;
    color: var(--caution-color);
    text-align: center;
}

.cont-ttl-caution::after {
    content: "";
    display: inline;
    width: auto;
    height: 1px;
}

.process-box{
    font-size: var(--base-font15);
    margin-bottom: var(--space150);
    padding: var(--space60);
    position: relative;
}

.process-box:not(:last-of-type)::after {
    content: "";
    width: var(--base-font40);
    height: var(--base-font40);
    position: absolute;
    left: 50%;
    bottom: calc(var(--space150) / -2);
    transform: translate(-50%, 50%);
    margin-inline: auto;
    background: url(../img/emergency/icon-process-arrow.svg) center / contain no-repeat;
}

.process-box:nth-of-type(odd) {
    background: var(--light-grey);
    border: 1px solid var(--medium-grey);
}
.process-box:nth-of-type(even) {
    background: var(--secondary-color030);
    border: 1px solid var(--secondary-color);
}

.process-box:last-of-type,
#roadservice .process-box {
    background: var(--secondary-color030);
    border: 1px solid var(--secondary-color);
    margin-bottom: 0;
}

.process-head-group {
    display: flex;
    justify-content: space-between;
    gap: var(--space60);
}

.process-number {
    position: absolute;
    left: var(--space40);
    top: calc((var(--space40)) * -1);
    font-size: var(--base-font60);
    font-weight: 300;
    letter-spacing: 0;
    line-height: 1;
}

.process-box:nth-of-type(odd) .process-number {
    color: var(--medium-grey);
}
.process-box:nth-of-type(even) .process-number {
    color: var(--secondary-color);
}

.process-title {
    display: flex;
    gap: 0.5em;
    font-size: var(--base-font20);
    font-weight: 500;
    margin-bottom: 1em;
}

.process-title > figure {
    height: 1.5em;
}

.process-title > figure > img {
    width: 100%;
    height: 100%;
}

.emergency-number-button {
    min-width: 200px;
    color: var(--caution-color);
    background: var(--white);
    padding: var(--space20);
    border: 2px solid currentColor;
    margin-bottom: auto;
}

.emergency-number-button:hover {
    box-shadow: 3px 3px 18px rgba(158, 158, 158, 0.7);
    transition: 0.3s ease-out;
}

.emergency-number-numeric {
    font-size: var(--base-font40);
    font-weight: 500;
    line-height: 1;
}

.emergency-number-text {
    display: inline-block;
    color: currentColor;
    font-size: var(--base-font18);
    font-weight: 500;
}

.process-body-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space40);
    margin-top: var(--space60);
}

.process-body-box.two-column {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: 0;
}

.process-body-dl {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    padding: var(--space40);
}

.process-body-dl:nth-of-type(1) {
    border: 2px solid var(--medium-grey);
}
.process-body-dl:nth-of-type(2) {
    border: 2px solid var(--secondary-color);
}
.process-body-dl:nth-of-type(3) {
    border: 2px solid var(--primary-color);
}

.process-body-dt {
    font-size: var(--base-font18);
    font-weight: 500;
    padding-bottom: 0.2em;
    margin-bottom: 1em;
}

.process-body-dl:nth-of-type(1) > .process-body-dt {
    border-bottom: 1px solid var(--medium-grey);
}
.process-body-dl:nth-of-type(2) > .process-body-dt {
    border-bottom: 1px solid var(--secondary-color);
}
.process-body-dl:nth-of-type(3) > .process-body-dt {
    border-bottom: 1px solid var(--primary-color);
}

/* 電話 ------------------------ */

.process-body-dl.phone-group {
    border-color: var(--secondary-color);
    letter-spacing: 0.1em;
}

.phone-group * {
    text-align: center;
}

.process-body-dl.phone-group .process-body-dt {
    border-color: var(--black);
}

.process-body-list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 2em;
    margin-top: 1em;
}

.process-body-item {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.2em;
    position: relative;
}

.process-body-item::before {
    content: "";
    display: inline-block;
    width: 0.8em;
    height: 0.8em;
    background: var(--medium-grey);
}

.tel-number {
    font-size: var(--base-font40);
    color: var(--primary-color);
}

.tel-number::before {
    content: "";
    display: inline-block;
    width: 0.8em;
    height: 0.8em;
    background: url(../img/emergency/Icon-core-phone.svg) center / contain no-repeat;
    font-weight: 500;
    margin-right: 0.2em;
}

.breadcrumb {
    background-color: var(--light-grey);
}

@media screen and (max-width: 600px) {
    .process-head-group {
        flex-direction: column;
    }
    .emergency-number-button {
        position: absolute;
        right: var(--space20);
        top: var(--space20);
        min-width: 0;
        text-align: center;
        padding: 0.3em 0.7em;
    }
    .process-title {
        margin-bottom: 2em;
    }
    .emergency-number-button div.flex {
        flex-direction: column;
        align-items: center;
    }
    .process-body-box.two-column {
        grid-template-columns: 1fr;
    }
}