:root{
  --padding: 15px;
  --fontSize: 18px;
  --poi-space: 50px;
  --poi-blue:#393596;
}
@media screen and (max-width:960px) {
    :root{
      --fontSize: 16px;
      --poi-space: 5vw;
    }
}





/* poiAutoTemplate css v1.1 20220920*/
#localPage,
#localPage * {
    box-sizing: border-box;
}





#localPage {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    overflow: hidden;
    z-index: 10;
    background: rgba(255,255,255,0.8);
    padding: 15px 0;
    gap: 12px;
}

#localPage a {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    font-size: calc( var(--fontSize) *1.2 );
        text-align: center;
        letter-spacing: 0.1em;
        font-weight: 600;
    color: #e37241;
    background: white;
    border-radius: 5em;
    border:solid 2px #e37241;
    width: calc( (1080px / 4) - 30px );
    /* margin: 0 15px; */
    transition: all 0.2s;
    flex-shrink: 1;
    justify-content: center;
    padding: 8px;
}

#localPage a.on{
    background: #e37241;
    color: white;
}
@media screen and (min-width:1280px) {
    #localPage a:hover{
        background: #e37241;
        color: white;
    }
}

#localPage a img{
    display: none;
    /* display: inline-block; */
    /* width: 2.2em;
    height: 2.2em;
    border-radius: 5em;
    background: #490073; */
}

#localPage a div{
    /* width: calc(100% - 2.2em);
    text-align: center;
    transform: translateX(-0.4em); */
}




.poiAutoTemplate,
.poiAutoTemplate * {
    box-sizing: border-box;
    transition: all 0.2s;
}

.poiAutoTemplate {
    font-family: 'Noto Serif TC', serif;
    font-weight: 400;
}

.poiAutoTemplate.poiAutoTemplate-center {
    margin: 0 auto;
}

.poiAutoTemplate img {
    width: 100%;
}

.poiAutoTemplate .ph-group {
    margin-bottom: 50px;
    width: 100%;
}

.poiAutoTemplate .ph-title{
    display: block !important;
    padding: var(--poi-space) 0;
    text-decoration: none;
    font-family: 'Noto Serif TC', serif;
    font-size: calc( var(--fontSize) * 3.3 );
    font-weight: 700;
    color: black;
    text-align: center;
    letter-spacing: 0.5em;
}

@media screen and ( max-width: 960px){

  .poiAutoTemplate .ph-title{
    font-size: calc( var(--fontSize) * 2 );
    letter-spacing: 0.2em;
  }


}

.poiAutoTemplate .ph-group-title {
    display: block;
    padding: var(--poi-space) 0;
    text-decoration: none;
    font-family: 'Noto Serif TC', serif;
    font-size: calc( var(--fontSize) * 1.6 );
    font-weight: 700;
    color: black;
    text-align: center;
    letter-spacing: 0.2em;
}

.poiAutoTemplate .ph-group-title span{
    position: relative;
    display: inline-block;
    /* max-width: 16em; */
}

.poiAutoTemplate .ph-group-title img{
    display: none;
}

/*.poiAutoTemplate .ph-group-title span:before{
    content: '';
    display: inline-block;
    width: 3em;
    height: 2em;
    background: url(../images/ph-group-title-1.png) center center no-repeat;
    background-size: contain;
    position: absolute;
    left: 0;
    top: 50%;
    z-index: -1;
    transform: translate(-80%, -50%);
}

.poiAutoTemplate .ph-group-title:nth-of-type(2) span:before{
    background-image: url(../images/ph-group-title-2.png);
}
.poiAutoTemplate .ph-group-title:nth-of-type(3) span:before{
    background-image: url(../images/ph-group-title-3.png);
}
.poiAutoTemplate .ph-group-title:nth-of-type(4) span:before{
    background-image: url(../images/ph-group-title-4.png);
}

.poiAutoTemplate.poiAutoTemplate-changeTab .ph-group-title {
    display: none;
}*/

/*.poiAutoTemplate.poiAutoTemplate-changeTab .ph-group-title.poiAutoTemplate-on {
    display: block;
}*/

.poiAutoTemplate.poiAutoTemplate-titleHide .ph-group-title {
    display: none !important;
}

.poiAutoTemplate .ph-group,
.poiAutoTemplate.poiAutoTemplate-scrollTab .ph-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.poiAutoTemplate.poiAutoTemplate-itemScroll .ph-group,
.poiAutoTemplate.poiAutoTemplate-scrollTab.poiAutoTemplate-itemScroll .ph-group {
    flex-wrap: nowrap;
    justify-content: start;
    overflow-x: scroll;
}

.poiAutoTemplate.poiAutoTemplate-changeTab .ph-group {
    display: none;
}

.poiAutoTemplate.poiAutoTemplate-changeTab .ph-group.poiAutoTemplate-on {
    display: flex;
}


.poiAutoTemplate.poiAutoTemplate-menuTrans .ph-menu {
    display: none;
}


.poiAutoTemplate .ph-menu{
   
}

.poiAutoTemplate .slidecontain {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: calc( var(--fontSize) *1.2 );
    font-weight: 600;
    letter-spacing: 0.15em;
}

.poiAutoTemplate .slidecontain li {
    display: inline-block;
    flex-shrink: 0;
}

.poiAutoTemplate .slidecontain li a {
    position: relative;
    display: block;
    padding: 0.4em 1.5em;
    margin: 0.5em;
    text-decoration: none;
    color: black;
    background: white;
    border: solid 2px #ffe561;
    border-radius: 5em;
    transition: all 0.2s;
}

.poiAutoTemplate .slidecontain li a:hover,
.poiAutoTemplate .slidecontain li.poiAutoTemplate-on a{
    color: black;
    background: #ffe561;
}

.poiAutoTemplate .slidecontain li.poiAutoTemplate-on a:after{
    content: "";
  display: inline-block;
  position: absolute;
  bottom: -2px;
  right: 50%;
  width: 0;
  height: 0;
  border-top: 0.5em solid #ffe561;
  border-left: 0.5em solid transparent;
  border-right: 0.5em solid transparent;
  transform: translate(50%, 100%);
}



.poiAutoTemplate .ph-group-content {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-shrink: 0;
    margin: var(--padding);
    background: url(../images/ph-group-content-bg.jpg) repeat;
    background-size: auto;
    padding: calc( var(--padding) * 2);
    transition: all 0.2s;
    border: solid white 4px;
}

.poiAutoTemplate-box1 .ph-group-content {
    width: 100%;
}

.poiAutoTemplate-box2 .ph-group-content {
    width: calc(100% / 2 - 30px);
}

.poiAutoTemplate-box3 .ph-group-content {
    width: calc(100% / 4 - 30px);
}

.poiAutoTemplate-box4 .ph-group-content {
    width: calc(100% / 4 - 30px);
}

.poiAutoTemplate-box5 .ph-group-content {
    width: calc(100% / 5 - 30px);
}

.poiAutoTemplate-box6 .ph-group-content {
    width: calc(100% / 6 - 30px);
}


.poiAutoTemplate .ph-group-content .ph-group-content-photo {
    width: 50%;
    padding-right: calc( var(--padding) * 2);
}
.poiAutoTemplate .ph-group-content .ph-group-content-photo a{
    display: block;
    overflow: hidden;
}
.poiAutoTemplate .ph-group-content .ph-group-content-text {
    width: 50%;
    padding-bottom: 38px;
}



.poiAutoTemplate .ph-group-content-tag {
    display: inline-block;
    font-size: var(--fontSize);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-align: center;
    color: white;
    background: var(--poi-blue);
    overflow: hidden;
    padding: 0.4em 1.5em;
    border-radius: 5em;
}



.poiAutoTemplate .ph-group-content-text-name {
    display: block;
    padding: var(--padding) 0;
    color: var(--poi-blue);
    font-size: calc( var(--fontSize) * 1 );
    line-height: 1.4;
    letter-spacing: 0.05em;
    font-weight: 900;
}

.poiAutoTemplate .ph-group-content-text-sale{
    position: relative;
}

.poiAutoTemplate .ph-group-content-text-sale a {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 0.6em 0;
    font-size: var(--fontSize);
    font-weight: 600;
    letter-spacing: 0.05em;
        line-height: 1.4;
        color: red;
    border-top: solid 1px;
    border-bottom: solid 1px;
}

.poiAutoTemplate .ph-group-content-text-detail a {
    display: block;
    padding: var(--padding) 0;
    font-size: calc( var(--fontSize) * 0.8 );
    line-height: 1.5;
    letter-spacing: 0.1em;
    color: black;
    font-weight: 400;
    text-align: left;
}

.poiAutoTemplate .ph-group-content-text-price {
    display: inline-block;
    font-size: calc( var(--fontSize) * 1.5 );
    font-weight: 900;
    position: absolute;
    right: 0;
    bottom: 0;
    background: var(--poi-blue);
    color: white;
    padding: 0.4em 0.7em;
    letter-spacing: 0.05em;
}

.poiAutoTemplate .ph-group-content-text-price span {
    font-size: calc( var(--fontSize) * 0.83 );
    font-weight: 400;
}





/*三個一排樣式*/
.poiAutoTemplate-box3 .ph-group-content {
    width: calc(100% / 4 - var(--padding)*2 );
    padding: var(--padding);
    margin: var(--padding);
    align-items: flex-start;
    align-content: flex-start;
}
.poiAutoTemplate-box3 .ph-group-content .ph-group-content-photo{
    width: 100%;
    padding-right: 0;
}
.poiAutoTemplate-box3 .ph-group-content .ph-group-content-text{
    width: 100%;
    text-align: center;
        padding: var(--padding) 0 calc(var(--padding)*3);
}
.poiAutoTemplate-box3 .ph-group-content-text-price{
    width: 100%;
}

@media screen and (max-width: 1080px){
    .poiAutoTemplate-box3 .ph-group-content{
        width: calc(100% / 2 - var(--padding)*2 );
        margin: var(--padding);
    }
}

@media screen and (max-width: 768px){
    .poiAutoTemplate-box3 .ph-group-content{
            width: 100%;
    }
}




/*單個一排樣式*/
.poiAutoTemplate-box1 .ph-group-content {
}




/*hover*/
.poiAutoTemplate .ph-group-content:hover{
    outline: solid 4px var(--poi-blue);
    filter: brightness(1.05);
}


.poiAutoTemplate .ph-group-content a img{
    transition: all 0.6s;
}
.poiAutoTemplate .ph-group-content:hover a img{
    transform: scale(1.04);
}

/*.poiAutoTemplate .ph-group-content:hover .ph-group-content-text-name{
    color: #ffe561;
}*/










/************POI商品 自動寬度CSS********************/
/************POI商品 自動寬度CSS********************/
/************POI商品 自動寬度CSS********************/
/************POI商品 自動寬度CSS********************/
@media screen and (max-width:1280px) {

    .poiAutoTemplate.poiAutoTemplate-rwd.poiAutoTemplate-box5 .ph-group-content,
    .poiAutoTemplate.poiAutoTemplate-rwd.poiAutoTemplate-box6 .ph-group-content {
        width: calc(100% / 4 - 10px);
    }

    #localPage{
        justify-content: flex-start;
    }
    #localPage a{
        width: calc( (100% / 4) - 1% );
        margin: 0 0.5%;
    }
}


@media screen and (max-width:960px) {
    #localPage{
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }
    #localPage a{
        width: 30%;
        flex-shrink: 0;
        flex-grow: 1;
 
    }
    #localPage a:nth-of-type(1),
    #localPage a:nth-of-type(2){
        /* margin-bottom: 7.5px; */
    }

    .poiAutoTemplate .ph-group{
            margin-bottom: 50px;
    }

    .poiAutoTemplate .ph-group-title{
        font-size: calc( var(--fontSize) * 2 );
        letter-spacing: 0.2em;
    }

    .poiAutoTemplate .ph-group-content {
        padding: var(--padding);
        padding-bottom: 0;
        text-align: center;
    }
    .poiAutoTemplate .ph-group-content .ph-group-content-photo {
        width: 100%;
        padding-right: 0;
        padding-bottom: var(--padding);
    }
    .poiAutoTemplate .ph-group-content .ph-group-content-text {
        width: 100%;
        padding-bottom: 0;
    }
    .poiAutoTemplate .ph-group-content-text-name{
        font-size: calc( var(--fontSize) * 1.2 );
    }
    .poiAutoTemplate .ph-group-content-text-price {
        display: block;
        width: 100%;
        position: inherit;
        border-radius: 15px 15px 0 0;
    }
    
}



@media screen and (max-width:820px) {

    .poiAutoTemplate.poiAutoTemplate-rwd.poiAutoTemplate-box4 .ph-group-content,
    .poiAutoTemplate.poiAutoTemplate-rwd.poiAutoTemplate-box5 .ph-group-content,
    .poiAutoTemplate.poiAutoTemplate-rwd.poiAutoTemplate-box6 .ph-group-content {
        margin-bottom: 7%;
        width: calc(100% / 2 - 10px);
    }
}



@media screen and (max-width:550px) {

    .poiAutoTemplate.poiAutoTemplate-rwd.poiAutoTemplate-box2 .ph-group-content,
    .poiAutoTemplate.poiAutoTemplate-rwd.poiAutoTemplate-box4 .ph-group-content,
    .poiAutoTemplate.poiAutoTemplate-rwd.poiAutoTemplate-box5 .ph-group-content,
    .poiAutoTemplate.poiAutoTemplate-rwd.poiAutoTemplate-box6 .ph-group-content {
        margin-bottom: 10%;
        width: calc(100% - 10px);
    }

    .poiAutoTemplate .slidecontain li a{
        padding:0.4em 0.6em;
    }
}
/************POI商品 自動寬度CSS********************/
/************POI商品 自動寬度CSS********************/
/************POI商品 自動寬度CSS********************/
/************POI商品 自動寬度CSS********************/

.hide-ph-menu .poiAutoTemplate .ph-menu{
    display: none;

}


.hide-ph-menu .poiAutoTemplate .ph-group-title{
    display: none;

}


