/* --------------------
 Guide
-------------------- */
.guide {
    margin: 16vw 0 21.3333333333vw;
}

@media (min-width: 768px) {
    .guide {
        margin: 60px 0 130px;
    }
}

.guide-container {
    margin: 0 auto;
    max-width: calc(1020px + var(--c-pad)*2);
    padding: 0 var(--c-pad);
    width: 100%;
}

.guide__title {
    margin: 0 0 13.3333333333vw;
}

@media (min-width: 768px) {
    .guide__title {
        margin: 0 0 50px;
    }
}

.guide__title__ja {
    font-family: var(--ff-shippori);
    font-size: var(--fs32);
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 1.0666666667vw;
    text-align: center;
}

@media (min-width: 768px) {
    .guide__title__ja {
        font-size: var(--fs36);
        margin: 0 0 4px;
    }
}

.guide__title__en {
    font-family: var(--ff-jost);
    font-size: var(--fs14);
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

@media (min-width: 768px) {
    .guide__title__en {
        font-size: var(--fs16);
    }
}

.guide__overview {
    margin: 0 0 10.6666666667vw;
}

@media (min-width: 768px) {
    .guide__overview {
        margin: 0 0 100px;
    }
}

.guide__overview__content p {
    font-family: var(--ff-shippori);
    font-size: var(--fs16);
    line-height: 1.45;
    margin: 0 0 1.5em;
    text-align: center;
}

@media (min-width: 768px) {
    .guide__overview__content p {
        font-size: var(--fs20);
    }
}

.guide__overview__content p:last-child {
    margin-bottom: 0;
}

.guide__menu {
    display: grid;
    gap: 2.1333333333vw;
    grid-gap: 2.1333333333vw;
    grid-template-columns: repeat(2, 1fr);
    margin: 0 0 16vw;
}

@media (min-width: 768px) {
    .guide__menu {
        gap: 20px 30px;
        grid-template-columns: repeat(3, 1fr);
        margin: 0 0 100px;
    }
}

@media (min-width: 992px) {
    .guide__menu {
        grid-template-columns: repeat(4, 1fr);
    }
}

.guide__menu__item a {
    align-items: center;
    border: 0.2666666667vw solid #b8b8b8;
    border-radius: 1.3333333333vw;
    color: inherit;
    display: flex;
    flex-flow: row nowrap;
    font-size: var(--fs12);
    height: 11.7333333333vw;
    justify-content: flex-start;
    line-height: 1.4;
    margin: 0;
    padding: 0.8vw 6.4vw 1.0666666667vw 2.6666666667vw;
    position: relative;
    text-decoration: none;
    transition: background-color var(--duration) var(--cubic) 0s, border-color var(--duration) var(--cubic) 0s, color var(--duration) var(--cubic) 0s;
}

@media (min-width: 768px) {
    .guide__menu__item a {
        border-radius: 5px;
        border-width: 1px;
        font-size: var(--fs14);
        height: 44px;
        padding: 2px 24px 4px 20px;
    }
}

@media (min-width: 1240px) {
    .guide__menu__item a {
        font-size: var(--fs16);
        padding: 2px 30px 4px 30px;
    }
}

.guide__menu__item a:after {
    background-color: #B8B8B8;
    bottom: 0;
    content: "";
    display: block;
    height: 4vw;
    margin: auto;
    -webkit-mask-image: url(../images/pages/guide/menu-angle-right.svg);
    mask-image: url(../images/pages/guide/menu-angle-right.svg);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    position: absolute;
    right: 3.2vw;
    top: 0;
    transition: background-color var(--duration) var(--cubic) 0s;
    width: 2.4vw;
}

@media (min-width: 768px) {
    .guide__menu__item a:after {
        height: 15px;
        right: 12px;
        width: 9px;
    }
}

@media (min-width: 1240px) {
    .guide__menu__item a:after {
        right: 28px;
    }
}

.guide__menu__item a:focus {
    background-color: var(--color-dark-brown);
    border-color: var(--color-dark-brown);
    color: var(--color-white);
}

.guide__menu__item a:focus:after {
    background-color: var(--color-white);
}

@media (hover: hover) and (pointer: fine) {
    .guide__menu__item a:hover {
        background-color: var(--color-dark-brown);
        border-color: var(--color-dark-brown);
        color: var(--color-white);
    }

    .guide__menu__item a:hover:after {
        background-color: var(--color-white);
    }
}

.guide__item-wrapper {
    margin: 0 0 21.3333333333vw;
}

@media (min-width: 768px) {
    .guide__item-wrapper {
        margin: 0 0 150px;
    }
}

.guide__item {
    margin: 0 0 21.3333333333vw;
}

@media (min-width: 768px) {
    .guide__item {
        margin: 0 0 120px;
    }
}

.guide__item__title {
    align-items: center;
    background-color: var(--color-cream);
    color: var(--color-brown);
    display: flex;
    flex-flow: row nowrap;
    font-size: var(--fs20);
    font-weight: 500;
    height: 18.6666666667vw;
    justify-content: center;
    margin: 0 0 13.3333333333vw;
    padding: 0 var(--c-pad);
    width: 100%;
}

@media (min-width: 768px) {
    .guide__item__title {
        font-size: var(--fs20);
        height: 70px;
        margin: 0 0 50px;
        padding: 0 var(--c-pad);
    }
}

.guide__item__list {
    margin: 0 auto;
    max-width: calc(980px + var(--c-pad)*2);
    padding: 0 var(--c-pad);
    width: 100%;
}

.guide__item__list__item {
    border-bottom: 0.2666666667vw solid var(--color-brown);
}

@media (min-width: 768px) {
    .guide__item__list__item {
        border-bottom-width: 1px;
    }
}

.guide__item__list__item:first-child {
    border-top: 0.2666666667vw solid var(--color-brown);
}

@media (min-width: 768px) {
    .guide__item__list__item:first-child {
        border-top-width: 1px;
    }
}

.guide__item__list__item__head {
    background-color: rgba(var(--color-beige-rgb), 0);
    cursor: pointer;
    padding: 4.2666666667vw 0 4.2666666667vw 2.1333333333vw;
    position: relative;
    transition: background-color var(--duration) var(--cubic) 0s;
}

@media (min-width: 768px) {
    .guide__item__list__item__head {
        padding: 22px 0 22px 40px;
    }
}

.guide__item__list__item__head__title {
    font-size: var(--fs16);
    line-height: 1.6;
    margin: 0;
    padding: 0 8vw 0 0;
    position: relative;
}

@media (min-width: 768px) {
    .guide__item__list__item__head__title {
        font-size: var(--fs20);
        padding: 0 70px 0 0;
    }
}

.guide__item__list__item__head__title:after {
    background-image: url(../images/icons/icon-brown-light-angle-bottom.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    display: block;
    height: 2.1333333333vw;
    position: absolute;
    right: 1.0666666667vw;
    top: 2.6666666667vw;
    transition: transform var(--duration) var(--cubic) 0s, opacity var(--duration) var(--cubic) 0s;
    width: 3.7333333333vw;
}

@media (min-width: 768px) {
    .guide__item__list__item__head__title:after {
        height: 8px;
        right: 40px;
        top: 14px;
        width: 14px;
    }
}

.guide__item__list__item__head:focus {
    background-color: var(--color-beige);
}

@media (hover: hover) and (pointer: fine) {
    .guide__item__list__item__head:hover {
        background-color: var(--color-beige);
    }
}

.guide__item__list__item__contents {
    display: none;
    padding: 0 0 5.3333333333vw 0;
}

@media (min-width: 768px) {
    .guide__item__list__item__contents {
        padding: 0 0 30px 0;
    }
}

.guide__item__list__item__contents__content {
    border-top: 0.2666666667vw dashed var(--color-brown);
    min-height: 60px;
    padding: 5.3333333333vw 0 0;
}

@media (min-width: 768px) {
    .guide__item__list__item__contents__content {
        border-top-width: 1px;
        padding: 30px 20px 0 20px;
    }
}

.guide__item__list__item__contents__content p {
    font-size: var(--fs14);
    line-height: 1.87;
    margin: 0 0 1.5em;
}

@media (min-width: 768px) {
    .guide__item__list__item__contents__content p {
        font-size: var(--fs16);
    }
}

.guide__item__list__item__contents__content p:last-child {
    margin-bottom: 0;
}

.guide__item__list__item__contents__content__column {
    display: flex;
    flex-flow: row wrap;
    gap: 5.3333333333vw;
}

@media (min-width: 768px) {
    .guide__item__list__item__contents__content__column {
        flex-wrap: nowrap;
        gap: 30px;
    }
}

.guide__item__list__item__contents__content__column__content {
    flex: 0 0 100%;
    min-width: 0px;
}

@media (min-width: 768px) {
    .guide__item__list__item__contents__content__column__content {
        flex: 0 0 calc(55.31915% - 30px);
    }
}

.guide__item__list__item__contents__content__column:not(:has(.guide__item__list__item__contents__content__column__fig)) .guide__item__list__item__contents__content__column__content {
    flex: 0 0 100%;
}

.guide__item__list__item__contents__content__column__fig {
    flex: 0 0 100%;
    font-size: var(--fs12);
    min-width: 0px;
}

@media (min-width: 768px) {
    .guide__item__list__item__contents__content__column__fig {
        flex: 0 0 44.6808510638%;
        font-size: var(--fs14);
    }
}

@media (max-width: 767px) {
    .guide__item__list__item__contents__content__column__fig img {
        width: 100%;
    }
}

.guide__item__list__item__contents__content__column__fig span {
    display: block;
    margin: 1.0666666667vw 0 0;
    text-align: right;
}

@media (min-width: 768px) {
    .guide__item__list__item__contents__content__column__fig span {
        margin: 4px 0 0;
    }
}

.guide__item__list__item.-active .guide__item__list__item__head {
    background-color: rgba(var(--color-beige-rgb), 1);
}

.guide__item__list__item.-active .guide__item__list__item__head__title:after {
    transform: rotate(180deg);
}