/*************************/
/*           共通          */
/*************************/

h2.chablis-h2 {
    color: #000;
    position: relative;
}

h2.chablis-h2:after {
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 30px;
    height: 5px;
    background-color: #42bac5;
    content: " ";
}

.marker-chablis {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(70%, transparent), color-stop(60%, #ffe96e));
    background: linear-gradient(transparent 70%, #ffe96e 60%);
    color: #2d2d2d;
    font-weight: bold;
    padding: 0 6px;
}

.small {
    font-size: 90%;
}

.chablis-relation-lnk {
    text-align: right;
    margin: 0 0 1.8em;
}

.chablis-relation-lnk p {
    background-color: #f7f5e7;
    display: inline;
    border-radius: 3px;
    border: 1px dotted #1c6988;
    padding: 0 10px;
}

/* ワイナリーボタン */
a.winery-btn {
    display: block;
    text-align: center;
    padding-right: 18px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-decoration: none;
    background: #fbb03b;
    color: #FFF;
    letter-spacing: 0.05em;
    border-bottom: solid 4px #ae7418;
    border-radius: 3px;
    position: relative;
    margin-top: 22px;
}

a.winery-btn:active {
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
    border-bottom: none;
}

a.winery-btn:after {
    margin-left: 22px;
    font-size: 1.6rem;
    position: absolute;
    background-image: url(data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20512%20512%22%20fill%3D%22%23ffffff%22%3E%3Cpath%20d%3D%22M256%208c137%200%20248%20111%20248%20248S393%20504%20256%20504%208%20393%208%20256%20119%208%20256%208zm113.9%20231L234.4%20103.5c-9.4-9.4-24.6-9.4-33.9%200l-17%2017c-9.4%209.4-9.4%2024.6%200%2033.9L285.1%20256%20183.5%20357.6c-9.4%209.4-9.4%2024.6%200%2033.9l17%2017c9.4%209.4%2024.6%209.4%2033.9%200L369.9%20273c9.4-9.4%209.4-24.6%200-34z%22%2F%3E%3C%2Fsvg%3E);
    content: "";
    width: 18px;
    height: 18px;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/* for PC */

@media screen and (min-width:768px) {
    .chablis-contents {
        margin: 25px;
    }

    h2.chablis-h2 {
        font-size: 3.2rem;
        font-weight: normal;
        margin-top: 100px;
    }

    h2.chablis-h2:first-child {
        margin-top: 50px;
    }
    a.winery-btn {
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 1.8rem;
    }
}


/* for SP */

@media screen and (max-width:767px) {
    .chablis-contents {
        margin: 15px;
    }

    h2.chablis-h2 {
        font-size: 2.2rem;
        font-weight: bold;
        margin-top: 90px;
        margin-bottom: 20px;
    }

    h2.chablis-h2:first-child {
        margin-top: 40px;
    }

    .chablis-relation-lnk p {
        padding: 3px 5px;
        font-size: 1.2rem;
    }
    a.winery-btn {
        padding-top: 5px;
        padding-bottom: 5px;
        font-size: 1.4rem;
    }
}


/* CC商品リスト表示 */

.fs-c-productList__message.fs-c-noResultMessage {
    display: none;
}


/* TOPへ戻る */

#page_top {
    width: 100px;
    height: 60px;
    position: fixed;
    right: 0px;
    bottom: calc(10% + 90px);
    background: #046ba9;
    opacity: 0.8;
    z-index: 100;
    display: none;
}

#page_top a {
    position: relative;
    display: block;
    width: 100px;
    height: 60px;
    text-decoration: none;
}

#page_top a:before {
    position: absolute;
    height: 25px;
    top: -25px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
    background-image: url(data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20320%20512%22%20fill%3D%22%23ffffff%22%3E%3Cpath%20d%3D%22M177%20255.7l136%20136c9.4%209.4%209.4%2024.6%200%2033.9l-22.6%2022.6c-9.4%209.4-24.6%209.4-33.9%200L160%20351.9l-96.4%2096.4c-9.4%209.4-24.6%209.4-33.9%200L7%20425.7c-9.4-9.4-9.4-24.6%200-33.9l136-136c9.4-9.5%2024.6-9.5%2034-.1zm-34-192L7%20199.7c-9.4%209.4-9.4%2024.6%200%2033.9l22.6%2022.6c9.4%209.4%2024.6%209.4%2033.9%200l96.4-96.4%2096.4%2096.4c9.4%209.4%2024.6%209.4%2033.9%200l22.6-22.6c9.4-9.4%209.4-24.6%200-33.9l-136-136c-9.2-9.4-24.4-9.4-33.8%200z%22%2F%3E%3C%2Fsvg%3E);
    content: "";
    width: 16px;
}

#page_top a:after {
    content: 'PAGE TOP';
    font-size: 13px;
    color: #fff;
    position: absolute;
    top: 30px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}


/*************************/
/*          目次          */
/*************************/

.chablis-outline {
    background-color: #ebebeb;
    margin: 0 auto;
}

h2.chablis-outline-h2 {
    font-weight: normal;
    color: #000;
    border-bottom: 1px solid #000;
    margin: 0 0 25px 0;
    padding: 5px;
}

.chablis-outline ul {
    list-style: disc;
    color: #000;
    line-height: 1.6;
    margin: 0px;
}

/* for PC */
@media screen and (min-width:768px) {
    .chablis-outline {
        width: 600px;
        padding: 35px;
    }
}


/* for SP */
@media screen and (max-width:767px) {
    .chablis-outline {
        padding: 15px 20px;
    }

    .chablis-outline ul {
        padding-left: 30px;
    }
}



/*************************/
/* 価格帯別おすすめシャブリ */
/*************************/

h3.chablis-rmd-h3 {
    color: #ffffff;
    padding: 15px 20px;
    margin-top: 40px;
    background-color: #5090a7;
    position: relative;
}

.chablis-rmd-h3:before {
    position: absolute;
    content: "";
    width: calc(100% - 12px);
    height: calc(100% - 3px);
    top: -4px;
    left: 3px;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
}

.chablis-rmd-h3:after {
    position: absolute;
    content: "";
    width: calc(100% - 3px);
    height: calc(100% - 9px);
    top: 0px;
    left: -6px;
    border-right: 2px solid #000;
    border-left: 2px solid #000;
}

ul.chablis-item-list {
    padding: 5px;
}

ul.chablis-item-list li p:first-of-type a {
    font-weight: 900;
}

/* 得点タグ */
ul.chablis-item-list span.point {
    display: inline-block;
    font-size: 75%;
    background-color: #a51647;
    margin: 2px;
    padding: 0px 7px;
    color: #fff;
}


/* おすすめワインキャッチ */
ul.chablis-item-list li:before {
    content: attr(data-catch);
    display: block;
    text-align: center;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 15px;
    color: #de6656;
    -webkit-transform: skewX(150deg);
    transform: skewX(150deg);
    border-right: 2px dotted #de6656;
    border-left: 2px dotted #de6656;
    margin: 0 40px 10px;
}

/* 価格帯別のその他のワインリンク */
.other_btn {
    text-align: center;
}

.other_btn a.btnshine {
    /*キラッと光る基点とするためrelativeを指定*/
    position: relative;
    /*ボタンの形状*/
    display:
        inline-block;
    background: #333;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    outline: none;
    overflow: hidden;
    line-height: 2.8em;
}


/* for PC */

@media screen and (min-width:768px) {
    h3.chablis-rmd-h3 {
        font-size: 2.6rem;
    }

    ul.chablis-item-list {
        /* display: flex;
        flex-wrap: wrap;
        justify-content: flex-end; */
        list-style: none;
        display: grid;
        grid-template-columns: auto auto auto;
    }

    ul.chablis-item-list li {
        /* width: 33%; */
        padding: 30px 15px 0;
        display: grid;
        grid-template-rows: subgrid;
        grid-row: span 5;
    }

    /* 削除保留 */
     .other_btn a.btnshine {
        width: 60%;
        font-size: 22px;
        margin: 15px auto 60px;
    }

    .other_btn a.btnshine:after {
        content: "";
        background-repeat: no-repeat;
        width: 32px;
        height: 32px;
        background-image: url(data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20512%20512%22%20fill%3D%22%23ffffff%22%3E%3Cpath%20d%3D%22M505%20442.7L405.3%20343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3%2044-79.7%2044-128C416%2093.1%20322.9%200%20208%200S0%2093.1%200%20208s93.1%20208%20208%20208c48.3%200%2092.7-16.4%20128-44v16.3c0%206.4%202.5%2012.5%207%2017l99.7%2099.7c9.4%209.4%2024.6%209.4%2033.9%200l28.3-28.3c9.4-9.4%209.4-24.6.1-34zM208%20336c-70.7%200-128-57.2-128-128%200-70.7%2057.2-128%20128-128%2070.7%200%20128%2057.2%20128%20128%200%2070.7-57.2%20128-128%20128z%22%2F%3E%3C%2Fsvg%3E);
        position: absolute;
        right: 24px;
        top: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    /*キラッと光る*/
    .other_btn .btnshine::before {
        content: '';
        /*絶対配置でキラッと光るの位置を決める*/
        position: absolute;
        top: 0;
        left: -75%;
        /*キラッと光る形状*/
        width: 50%;
        height: 100%;
        background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
        transform: skewX(-25deg);
    }

    /*hoverした際の移動のアニメーション*/
    .other_btn .btnshine:hover::before {
        animation: shine 0.7s;
    }

    @keyframes shine {
        100% {
            left: 125%;
        }
    }
}


/* for SP */

@media screen and (max-width:767px) {
    h3.chablis-rmd-h3 {
        font-size: 1.8rem;
    }

    ul.chablis-item-list li {
        list-style: none;
        padding: 5px;
    }

    ul.chablis-item-list li img {
        padding: 0px 70px;
    }

    ul.chablis-item-list li:before {
        margin: 0 80px 10px;
    }

    ul.chablis-item-list a.winery-btn {
        margin: 0 30px 60px;
        
    }

    ul.chablis-item-list li p:first-of-type a {
        font-size: 2rem;
    }

    /* 削除保留 */
    .other_btn a.btnshine {
        margin: 20px auto 30px;
    }
}


/*************************/
/* おすすめシャブリ生産者 */
/*************************/

dl.rmd-winery {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.rmd-winery dt img {
    border: 1px solid #a5a5a5;
}

/* 検索ボタン */
a.wine-btn {
    background-color: #000;
    color: #fff;
    text-decoration: none;
    margin-left: 5px;
    padding: 6px 30px 6px 6px;
    font-size: 14px;
    position: relative;
    display: inline-block;
    line-height: 1;
}

a.wine-btn:after {
    position: absolute;
    right: 0px;
    background-image: url(data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20512%20512%22%20fill%3D%22%23ffffff%22%3E%3Cpath%20d%3D%22M505%20442.7L405.3%20343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3%2044-79.7%2044-128C416%2093.1%20322.9%200%20208%200S0%2093.1%200%20208s93.1%20208%20208%20208c48.3%200%2092.7-16.4%20128-44v16.3c0%206.4%202.5%2012.5%207%2017l99.7%2099.7c9.4%209.4%2024.6%209.4%2033.9%200l28.3-28.3c9.4-9.4%209.4-24.6.1-34zM208%20336c-70.7%200-128-57.2-128-128%200-70.7%2057.2-128%20128-128%2070.7%200%20128%2057.2%20128%20128%200%2070.7-57.2%20128-128%20128z%22%2F%3E%3C%2Fsvg%3E);
    content: "";
    background-repeat: no-repeat;
    width: 18px;
    height: 18px;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

a.wine-btn:hover {
    opacity: 60%;
}

/* for PC */
@media screen and (min-width:768px) {
    dl.rmd-winery {
        padding: 20px;
        width: 100%;
        font-size: 1.8rem;
        line-height: 180%;
        margin: 0 0 1.8em;
    }
    .rmd-winery dt {
        width: 22%;
        margin-bottom: 40px;
    }
    .rmd-winery dd {
        margin: 0px 0px 40px 0px;
        width: 75%;
    }
}

/* for SP */
@media screen and (max-width:767px) {
    dl.rmd-winery {
        padding: 5px;
        width: 100%;
    }
    .rmd-winery dt {
        width: 32%;
        margin-bottom: 15px;
    }
    .rmd-winery dd {
        margin: 0px 0px 15px 0px;
        width: 65%;
        margin-bottom: 4rem;
    }
}


/*************************/
/*      当たり年          */
/*************************/

h3.chablis-luck-h3 {
    color: #ffffff;
    padding: 10px 15px;
    margin-top: 40px;
    margin-top: 35px;
    background-color: #6a345e;
    position: relative;
}

table.chablis_score {
    width: 97%;
    margin: 20px auto;
    text-align:center;
    font-size: 1.8rem;
    border-collapse: collapse;
    border-spacing: 0;
    box-sizing: border-box;
}

table.chablis_score tr td:nth-child(odd){
    background-color: #e6eff5;
}
table.chablis_score tr th{
    background-color:#37767e;
    color:#fff;
    padding: 8px;
}
table.chablis_score tr td{
    padding:8px;
}
table.chablis_score tr{
    border: solid 1px #eee;
}

/* for PC */

@media screen and (min-width:768px) {
    h3.chablis-luck-h3 {
        font-size: 2.2rem;
    }
}
/* for SP */

@media screen and (max-width:767px) {
    h3.chablis-luck-h3 {
        font-size: 1.8rem;
    }
    .chablis_score-wrap {
        overflow-x: scroll;
    }
    .chablis_score {
        width: 100%;
        border-collapse: collapse;
        white-space: nowrap;
    }
}


/*************************/
/*      格付け          */
/*************************/

ul.chablis-rating-img {
    list-style: none;
    padding: 0;
}

ul.chablis_rank {
    counter-reset: number 0;
    list-style: none;
    padding: 0;
}

ul.chablis_rank h5:after {
    counter-increment: number 1;
    /* number カウンタを増加 */
    content: counter(number);
    /* 表示形式を指定 */
    position: absolute;
    left: 10px;
    color: #fff;
}

ul.chablis_rank h5:before {
    content: "";
    background-color: #f58300;
    width: 30px;
    height: 30px;
    display: inline-block;
    border-radius: 15px;
    margin-right: 6px;
    margin-bottom: -8px;
}

ul.chablis_rank h5 {
    background-color: transparent;
    color: #000;
    position: relative;
    padding: 0px;
    font-size: 1.8rem;
    font-weight: bold;
}

.chablis_rank a {
    font-size: 16px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
	text-align: center;
	text-decoration: none;
	width: 300px;
	padding: 0.8rem 3rem 0.8rem 2rem;
	font-weight: bold;
	background: #000;
	color: #fff;
	border-radius: 100vh;
	position: relative;
	transition: 0.5s;
    margin: 10px 0 50px;
}
.chablis_rank a:before{
    content: "";
	width: 7px;
	height: 7px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(45deg);
}
ul.chablis_rank {
    counter-reset: number 0;
    list-style: none;
    padding: 0;
}

/* for PC */

@media screen and (min-width:768px) {
    ul.chablis-rating-img {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    ul.chablis-rating-img li {
        width: 50%;
        padding: 15px;
    }

    ul.chablis_rank h5:after {
        top: 3px;
    }
}
/* for SP */

@media screen and (max-width:767px) {
    ul.chablis_rank h5 {
        line-height: 1.8;
    }
    ul.chablis_rank h5:after {
        top: 0px;
    }
}


