/* ヘッダー
**********************/
.o-header {
    position: relative;
    width: 100%;
    background-color: var(--white);
    z-index: 9;
    transition: .3s;
}

.o-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: inherit;
    padding-left: 5%;
}

.o-header__inner .logo,
.o-header__title {
    overflow: hidden;
    display: block;
}

.o-header__title img {
    display: block;
    object-fit: cover;
}

.o-header__inner .menu {
    display: flex;
    align-items: center;
    height: 100%;
}

.o-header__inner .menu nav ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.o-header__inner .menu nav ul li a {
    display: grid;
    align-items: center;
    justify-items: center;
}

.o-header__inner .menu nav ul li span {
    display: block;
    font-weight: 700;
}

.o-header__nav {
    position: fixed;
    right: -100%;
    top: 0;
    height: 100dvh;
    background-color: var(--white);
    color: var(--text-primary-color);
    transition: ease .4s;
    z-index: 999;
    font-weight: 700;
    overflow-y: auto;
}

.o-header__hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    background-color: var(--primary-color);
    z-index: 99;
    cursor: pointer;

}

.o-header__hamburger img {
    display: block;
    height: 41%;
}

.o-header__nav.active {
    right: 0;
}

.o-header__nav-box-mask.active {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 998;
    background: rgba(0, 0, 0, 0.55);
    transition: ease .4s;
}

.IsScrollAllowed {
    overflow: hidden;
}


@media screen and (max-width: 767px) {
    .o-header__inner .menu nav {
        display: none;
    }

    .o-header__inner .logo,
    .o-header__title {
        width: 50vw;
    }

    .o-header {
        height: calc(70 / var(--base-font-size-row-value) * 1rem);
    }

    .o-header__hamburger {
        width: calc(60 / var(--base-font-size-row-value) * 1rem);
        height: calc(53 / var(--base-font-size-row-value) * 1rem);
        border-radius: 0 0 0 10px;
    }

    .o-header__nav {
        width: 85%;
    }

    .o-header__title img {
        width: 100%;
        max-width: 310px;
    }

}

/* PC */
@media screen and (min-width: 768px) {
    .o-header {
        height: calc(112 / var(--base-font-size-row-value) * 1rem);
    }

    .o-header__inner .menu {
        gap: calc(30 / var(--base-font-size-row-value) * 1rem);
    }

    .o-header__inner .menu nav ul {
        max-width: calc(520 / var(--base-font-size-row-value) * 1rem);
        width: 50vw;
    }

    .o-header__inner .menu nav ul li a {
        grid-template-rows: calc(28 / var(--base-font-size-row-value) * 1rem) auto;
        gap: calc(16 / var(--base-font-size-row-value) * 1rem);
    }

    .o-header__inner .menu nav ul li span {
        font-size: calc(16 / var(--base-font-size-row-value) * 1rem);
    }

    .o-header__hamburger {
        width: calc(96 / var(--base-font-size-row-value) * 1rem);
        height: calc(86 / var(--base-font-size-row-value) * 1rem);
        border-radius: 0 0 0 20px;
    }

    .o-header__nav {
        width: 35%;
    }

    .o-header__title img {
        width: 70%;
        max-width: calc(400 / var(--base-font-size-row-value) * 1rem);
    }
}

@media screen and (min-width: 1024px) {
    .o-header__inner .menu {
        gap: calc(60 / var(--base-font-size-row-value) * 1rem);
    }
}

/* ハンバーガーメニュー
**********************/
.o-header__nav .close {
    position: absolute;
    top: 50%;
    right: 18px;
    background-color: #fff;
    -webkit-mask-image: url(../images/svg/menu_close.svg);
    mask-image: url(../images/svg/menu_close.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    transform: translateY(-50%);
}

.o-header__nav>div {
    position: relative;
    padding: 10px 35px;
    background-color: var(--primary-color);
    color: #fff;
}

.o-header__nav-items {
    border-bottom: 1px solid var(--text-tertiary-color);
}

.o-header__nav-item .trigger {
    position: relative;
    padding: 10px 35px;
    background-color: var(--bg-sub-color);
    border-top: 1px solid var(--text-tertiary-color);
    cursor: inherit;
}

.o-header__nav-item .trigger span {
    background-color: var(--text-tertiary-color);
}

.o-header__nav-item .trigger.is-open span {
    transform: translateY(-50%) rotate(270deg);
}

.o-header__nav-item>ul {
    color: var(--primary-color);
}

.o-header__nav-item>ul li+li {
    border-top: 1px solid var(--chart-line-color);
}

.o-header__nav-item>ul a {
    position: relative;
    display: block;
    padding: 14px 55px;
}

.o-header__nav-item>ul a::before {
    right: 25px;
    width: 10px;
    height: 16px;
}

.o-header__nav-item>ul a:hover {
    background-color: var(--primary-color);
    color: #fff;
    opacity: 1;
}

@media screen and (max-width: 767px) {
    .o-header__nav .close {
        height: calc(25 / var(--base-font-size-row-value) * 1rem);
        width: calc(25 / var(--base-font-size-row-value) * 1rem);
    }

    .o-header__nav>div,
    .o-header__nav-item {
        font-size: calc(18 / var(--base-font-size-row-value) * 1rem);
    }

    .o-header__nav>div {
        height: calc(40 / var(--base-font-size-row-value) * 1rem);
    }

    .o-header__nav-item ul li {
        font-size: calc(16 / var(--base-font-size-row-value) * 1rem);
    }
}

@media screen and (min-width: 768px) {
    .o-header__nav .close {
        height: calc(30 / var(--base-font-size-row-value) * 1rem);
        width: calc(30 / var(--base-font-size-row-value) * 1rem);
    }

    .o-header__nav>div,
    .o-header__nav-item {
        font-size: calc(20 / var(--base-font-size-row-value) * 1rem);
    }

    .o-header__nav>div {
        height: calc(50 / var(--base-font-size-row-value) * 1rem);
    }

    .o-header__nav-item ul li {
        font-size: calc(18 / var(--base-font-size-row-value) * 1rem);
    }
}

/* パンくず
**********************/
.c-breadcrumb {
    color: var(--text-primary-color);
    background-color: #F2F2F2;
    padding: 5px 5%;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.c-breadcrumb__inner {
    display: flex;
    gap: 7px;
}

.c-breadcrumb__item:not(:last-child)::after {
    content: ">";
    position: relative;
    top: -1px;
    left: 0;
    margin-left: 5px;
}

.c-breadcrumb__item:last-child {
    font-weight: 700;
    padding-right: 5%;
}

@media screen and (max-width: 767px) {
    .c-breadcrumb {
        font-size: calc(10 / var(--base-font-size-row-value) * 1rem);
    }
}

@media screen and (min-width: 768px) {
    .c-breadcrumb {
        font-size: calc(14 / var(--base-font-size-row-value) * 1rem);
    }
}