:root {
    interpolate-size: allow-keywords;

    --key-color: #f774a8;
    --key-color: #f8659f;
    --sub-color: #17bd67;
}

/*テンプレート初期設定のリセット*/
.sideContents {
    display: none;
}

#wrap {
    background-image: url(gridpattern.png);
    background-size: 50%;
}

.contents {
    background-color: rgba(255, 255, 255, 0.5);
}

#topGroupName {
    float: initial;
    width: initial;
}

/*__テンプレート初期設定のリセット*/


#categoryTitle_innerId {
    display: none;
}

.ped_dnt_wrapper {
    background-image: url(https://stg-dental.feed.jp/contents/shop/dental/campaign/031611_ped/img01.png);
    height: 700px;
    width: 1200px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    background-size: 110%;
    background-repeat: no-repeat;
    background-position: center -150px;
    position: relative;
}

#ped_dnt_wrapper01 {
    background-image: url(img01.png);
}

#ped_dnt_wrapper02 {
    background-image: url(img02.png);
}

#ped_dnt_wrapper03 {
    background-image: url(img03.png);
}

.ped-dnt-subject {
    position: absolute;
    top: 30px;
    left: 30px;
}

.ped-dnt-title {
    color: var(--key-color);
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
    margin: 0 0 15px 0;
    padding: 0 0 10px 0;
    font-size: 33px;
    border-bottom: 1px solid var(--key-color);
    text-shadow: 0px 0 3px #fff;
}

.ped_dnt_message p {
    font-size: 20px;
    color: var(--sub-color);
    border: 2px solid var(--sub-color);
    padding: 20px;
    margin: 10px;
    border-radius: 20px;
    background-color: #fff;
}

.contents .content-description {
    font-size: 20px;
    margin: 15px 0;
    padding: 2px;
    color: #333;
    text-shadow: 0 0 2px #fff;
    line-height: 180%;
    background-color: rgba(255, 255, 255, .5);
    display: inline;
}

.titleBnr {
    border-radius: 4px;
}

.menubox {
    position: relative;
}


.menubox li a {
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.menus {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

.menus li {
    display: flex;
    align-items: center;
    margin: 0 0px;
    outline: 1px solid #fff;
    outline-offset: 0px;
    width: 200px;
    transition: width .7s ease-out;
    height: 200px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    order: 1;
    border-radius: 5px 5px 0 0;
}

.menus li.active-origin {
    /* box-shadow: 1px 1px 5px #000; */
    order: 0;
}



#menu01::after,
#menu02::after,
#menu03::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 150%;
    /* background-size: 900px; */
    background-size: 75%;
    background-position: center;
    border-radius: 5px;
    filter: grayscale(80%);
    opacity: 0.7;
    z-index: -1;
    background-repeat: repeat;
    transform: rotate(5deg) translate(-10%, -10%);
}

#menu01::after {
    background-position: center;
}

#menu01::after {
    background-image: url('itemimg01.png');
}

#menu02::after {
    background-image: url('itemimg02.png');
}

#menu03::after {
    background-image: url('itemimg03.png');
}

#menu01.menu-active,
#menu02.menu-active,
#menu03.menu-active {
    width: calc(100% - 420px);
}

#menu01.menu-active::after,
#menu02.menu-active::after,
#menu03.menu-active::after {
    filter: grayscale(0%);
    opacity: 1;
    background-size: 45%;
    animation: 8s forwards scale_bg_image ease-in;
}


@keyframes scale_bg_image {

    0% {
        background-size: 60%;
    }

    100% {
        background-size: 25%;
    }
}

.menu-text {
    /* position: absolute; */
    z-index: 0;
    bottom: 0;
    color: rgba(30, 30, 30, 1);
    font-size: 20px;
    /* backdrop-filter: blur(5px); */
    border-radius: 0 0 5px 5px;
    padding: 5px 0;
    margin: 0;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;

    font-family: "Kiwi Maru", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.menu-text .menu-fullword p {
    font-size: 15px;
    margin: 5px 0px;
    padding-top: 10px;
    line-height: 1.7;
    text-align: left;
    height: 0;
    overflow: hidden;
    transition: height .5s ease-out .7s;
}

.menu-active .menu-text .menu-fullword p {
    height: auto;
    border-top: 1px solid rgba(100, 100, 100, 0.5);
}

.menu-active .menu-text {
    /* background-color: rgba(255, 255, 255, 0.7); */
}

li .menu-text .menu-fullword {
    display: block;
    overflow: hidden;
    opacity: 0;
    height: 0px;
    width: 0px;
    transition: all .8s ease;
}

li.menu-active .menu-text .menu-fullword {
    margin: 0 30px;
    opacity: 1;
    height: auto;
    width: auto;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
}

li.menu-active .menu-text .menu-keyword {
    margin: 0 0 0 30px;
    background-color: var(--sub-color);
    color: #fff;
    border: 3px solid #fff;
}

li .menu-text .menu-keyword {
    color: var(--key-color);
    border-radius: 100px;
    background-color: #ffffff;
    height: 6em;
    width: 6em;
    padding: 10px;
    margin: 0 30px;
    justify-content: center;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    border: 2px solid;
    border-color: var(--key-color);
    position: relative;
    text-decoration: underline;
    text-align: center;
}

li .menu-text .menu-keyword::after {
    content: "≫";
    position: absolute;
    right: 0px;
    font-size: 18px;
    color: #888;
    text-decoration: none;
}

li.menu-active .menu-text .menu-keyword::after {
    color: #fff;
}

li.active-origin .menu-text .menu-keyword::after {
    content: none;
}


.menu-active .menu-text .menu-fullword p::after {
    content: "関連アイテムを見る ≫";
    background: var(--sub-color);
    color: #fff;
    border-radius: 50px;
    padding: 3px 10px;
    margin: 3px 0 0 0;
    display: inline-block;
    text-shadow: none;
    font-size: 85%;
    float: right;
    font-family: 'メイリオ', 'Meiryo', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', Sans-Serif;
    border: 1px solid #fff;
}

.active-origin .menu-text .menu-fullword p:after {
    content: "";
    padding: 0;
    border: 0;
}

.contents .menu-description-sect {
    width: 890px;
    position: relative;
}

.contents .menu-description {
    /* display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px; */
    display: flex;
    justify-content: space-between;
    padding: 1em;
    margin: 0;
    background-color: #eee;
    font-size: 14px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity .7s ease-out;
}

.contents .goods-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(90% / 4);
}

.contents .goods-block img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}


.contents .desc-active {
    opacity: 1;
    position: relative;
}

@media screen and (max-width: 767px) {
    section.ped_dnt_wrapper {
        width: auto;
        height: 140vmin;
        background-position: top;
        align-items: end;
        background-size: contain;
    }

    .ped-dnt-subject {
        position: relative;
        top: 0;
        left: 0;
        background-position: top;
    }

    .ped-dnt-title {
        font-size: 18px;
    }

    .contents .content-description {
        font-size: 14px;
    }

    #menu01.menu-active,
    #menu02.menu-active,
    #menu03.menu-active,
    .menus li {
        width: calc(100% / 3 - 5px);
        height: auto;
        border-radius: 0;
        outline: 0;
    }

    .menu-text {
        font-size: 13px;
    }

    #menu01::after,
    #menu02::after,
    #menu03::after {
        background-image: none;
    }

    li.menu-active .menu-text .menu-keyword {
        margin: auto;
    }

    .ped_dnt_message p {
        font-size: 14px;
        padding: 10px;
    }
}