#prisilaTop .layout_table .layout_header .header-menu .layout_header #searchBox {
    max-width: 1150px;
    margin: 0 auto;
}

#prisilaTop .layout_table {
    padding: 0.5em;
}

#prisilaTop .headertext {
    background: #fff;
    max-width: 1150px;
    margin: 10px auto 0;
    color: #FF7BAC;
}

#prisilaTop .grid.w33-2 li {
    margin-top: 1.5em;
    margin-bottom: 1em;
}

#prisilaTop .layout_header #searchBox > div {
    margin:15px auto;
    width:65%;
    float:none;
}


/* ----------Sliderカスタマイズ---------- */
#heroimg .sp-slide img {
    width: 100%;
    height: auto;
}

#prisilaTop .sp-buttons {
    padding: 20px 0 !important;
}

#prisilaTop .sp-next-arrow:after,
#prisilaTop .sp-next-arrow:before,
#prisilaTop .sp-previous-arrow:after,
#prisilaTop .sp-previous-arrow:before {
    width: 30% !important;
    height: 70% !important;
    background-color: #696969 !important;
}

#prisilaTop .sp-arrow:after {
    top: 65%;
}

/* ---前後画像--- */
#prisilaTop .sp-slide {
    position: absolute;
    opacity: 0.5;
}

#prisilaTop .sp-selected {
    opacity: 1;
}

#prisilaTop #heroimg {
    position: relative;
}


#prisilaTop .sp-button {
    background-color: #dcdcdc;
    border: none !important;
}

#prisilaTop .sp-selected-button {
    background-color: #E097AD;
}

/* ====================中央カラム==================== */
#prisilaTop .layout_table .layout-content {
    max-width: 900px;
}

/* ----------h2---------- */
#prisilaTop .layout-content h2 {
    color: #808080;
    /* 文字色 */
    padding: 5px 5px 5px 30px;
    /* 上・右・下・左の余白 */
    position: relative;
    background-color: transparent;
}

#prisilaTop .layout-content h2:before {
    background-color: #ef858c;
    /* 左側の線の色 */
    border-radius: 5px;
    content: '';
    position: absolute;
    top: 0;
    left: 3px;
    /* 左端からの位置 */
    width: 5px;
    /* 左側の線の幅 */
    height: 100%;
}

#prisilaTop .layout-content h2:after {
    background-color: #f3cbd0;
    /* 右側の線の色 */
    border-radius: 5px;
    content: '';
    position: absolute;
    top: 0;
    left: 12px;
    /* 左端からの位置 */
    width: 5px;
    /* 右側の線の幅 */
    height: 100%;
}

/* ----------recommends---------- */
#prisilaTop #recommends .grid li div:before {
    display: none
}

#recommends .ribbon-wrapper {
    display: block;
    position: relative;
    overflow: unset;
}

#recommends img {
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
}

#recommends .introbox p {
    text-align: center;
}



/* ---上段の色--- */
#recommends .ribbon_top {
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    padding: 8px 15px;
    margin: 0 0 0 -13px;
    width: calc(100% + 13px);
    top:10px;
    z-index: 1;
    font-size: initial;
    font-weight:bold;
    color: white;
    background: #FFCBDE; //リボン色
}

.ribbon_top:before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border: none;
    border-bottom: solid 15px transparent;
    border-right: solid 13px #C69C6D; //折返し色　
}

#recommends .introtxt_top {
    font-weight: bolder;
    font-size: initial;
    color: #a0522d; //文字色
}

/* ---下段の色--- */
#recommends .ribbon_bottom {
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    padding: 8px 15px;
    margin: 0 0 0 -13px;
    width: calc(100% + 13px);
    top:10px;
    z-index: 1;
    font-size: initial;
    font-weight:bold;
    color: white;
    background:#C69C6D ; //リボン色
}

.ribbon_bottom:before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border: none;
    border-bottom: solid 15px transparent;
    border-right: solid 13px #FFCBDE; //折返し色　
}

#recommends .introtxt_bottom {
    font-weight: bolder;
    font-size: initial;
    color: #a0522d; //文字色
}

/* ----------recommends END---------- */

#prisilaTop .buywigranking p {
    margin: 0 auto 5px;
    text-align: center;
    font-size: 1.5em;
}


#prisilaTop .topcontent {
    margin: 3em auto 0;

}

#prisilaTop .itemname {
    font-weight: normal;
}

/* ====================左カラム==================== */
#prisilaTop .layout-menu {
    max-width: 250px;
}

#prisilaTop .sidenavi-bottom {
    margin: 2em auto;
}

#prisilaTop .world li {
    margin: 20px auto
}

.companyinfo ul {
    display: flex;
    justify-content: space-around;
    padding: 20px
}


/*====================レスポンシブ====================*/
@media screen and (max-width:480px) {

    /*　---slider---　*/
    #prisilaTop .sp-mask {
        max-height: 100%;
        height: auto;
    }

    #prisilaTop .sp-arrows {
        display: none;
    }

    #recommends .introtxt_top{
        font-size: larger;
    }
  
    #recommends .introtxt_bottom{
        font-size: larger;
    }
    
    #prisilaTop .layout_header #searchBox > div {
        margin:15px auto;
        width:90%;
        float:none;
    }

    
}

@media only screen and (max-width: 568px) and (min-width: 320px) {

    /*　---navibutton---　*/
    #prisilaTop .sp-button {
        width: 15px !important;
        height: 15px !important;
        margin: 0.5em 1em !important;
    }
}

@media screen and (max-width:1150px) {
    #prisilaTop .headertext {
        margin: 10px 5px 0;
    }
}

@media screen and (min-width: 801px) {
    .layout_header .header-menu #global-nav {
        display: flex !important;
        justify-content: space-around !important;
    }
}

@media screen and (max-width:800px) {
    #prisilaTop .layout-menu {
        max-width: 100%;
    }

    #prisilaTop .layout-menu .subttl:before,
    #prisilaTop .layout-menu .subttl:after {
        width: 3em
    }
}

#prisilaTop .grid li .introbox:before {
    display: none;
}
