@charset "utf-8";
  nav {
    /* height: 100px; */
    background: #ffffff;
  }

.top_fixed_header_logo{
	margin: 0;
}
.smp_header_menu{
	vertical-align: text-bottom;
}
  /* demo style */
  .is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
  }
  .smp_header_menu ul{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0;
  }
  .smp_header_menu ul li{
    width:25%;
    text-align:center;
    display: inline-block;
  }
  .smp_header_menu ul li a{
    text-decoration: none;
    font-weight: bold;
  }
  li img{
    width:100%;
  }



/*改良版スマホトップ用CSS*/
@import url('https://fonts.googleapis.com/css?family=Tangerine');
:root{
	--button-color: #e2dcd3;
	--font-color-dark: #4c453a;
	--font-color-light : #ffffff;
	--font-english: 'Tangerine', cursive;
	--font-japanese: "Noto Sans JP", sans-serif;
	--btn-height-small: 44px;
}
/*"游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic,"Noto Sans Japanese" */
body{
	font-family: var(--font-japanese);
	/*transform: translate3d(0, 0, 0);*/
}
a{
	text-decoration: none;
}
div.smp-top-hotword > a{
	display: inline-block;
	text-decoration: none;
}
h3.smp-top-hotword{
	font-size: 16px;
	text-align: center;
	font-weight: normal;
}
div.smp-top-hotword{
	width: 95%;
	text-align: center;
	margin: 0 auto;
}
div.smp-top-hotword > a >div.hotword-button{
	display: inline-block;
	background: var(--button-color);
	padding: 5px 8px;
	margin: 5px 5px;
	font-size: 15px;
	line-height: 25px;
	border-radius: 8px;
	color: var(--font-color-dark);
}
/*フォント設定用*/
.english{
	font-family: var(--font-english);
}
.number{
}
div.smp-headline#select_wine{
	position: relative;
	width: 100%;
	padding: 10px 0;
	color: var(--font-color-dark);
	overflow: hidden;
	display: grid;
	grid-template-rows: 1fr 1fr;
	grid-template-columns: 1fr 5fr 1fr;
	justify-items: center;
	align-items: center;
}
.headline-number{
	grid-row: 1 / 3;
	grid-column: 1 / 2;
	font-size: 3em;
}
.headline-top-text{
	grid-row: 1 / 2;
	grid-column: 2 / 3;
	align-self: end;
	justify-self: left;
	font-size:35px;
}
.headline-down-text{
	grid-row: 2 / 3;
	grid-column: 2 / 3;
	padding: 2px 0;
	align-self: start;
	justify-self: right;
}
#select-month{
	grid-row: 1 / 3;
	grid-column: 3 / 4;
	align-self: end;
	padding: 0 0 10% 0;
	position: relative;
	font-size: 2em;
}
div.smp-headline:before {
	content: '';
	overflow: hidden;
	position: absolute;
	margin-left: 15%;
	width: 83%;
	background: #000;
	height: 1px;
}
#select-month:before {
	content: '';
	border: 1px solid var(--font-color-dark);
	transform: translate(-10% ,-15%);
	border-radius: 50%;
	position: absolute;
	width: 115%;
	height: 115%;
}
div.smp-headline{
	position: relative;
	width: 100%;
	padding: 10px 0;
	color: var(--font-color-dark);
	overflow: hidden;
	display: grid;
	grid-template-rows: 1fr 1fr;
	grid-template-columns: 1fr 6fr;
	justify-items: center;
	align-items: center;
}
div.headline-down-text.two-column{
	margin-right: 10px;
}


.iframe-content {
   position: relative;
 width: 100%;
    padding: 88% 0 0 0;
}
.iframe-content iframe {
    position: absolute;
 top: 0;
 left: 0;
    width: 100%;
    height: 100%;
}

.iframe-wrapper{
	position: relative;
	/*HTMLセレクトの時*/
	/*width: 100%;*/
	/*画像セレクトの時*/
	margin: 0 4px;
	width: calc(100% - 8px);
	padding: 75% 0 0 0;
}
.iframe-wrapper > iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/*見出し画像の上下のスペース調整*/
.headline-img > img {
    padding: 10px 0;
}
/*▼価格別検索▼*/
.price-range{
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.price-image-wrapper {
	text-align: left;
}
.price-range a {
	display: block;
	margin: 10px auto;
	width: 90%;
}
.low_price, .middle_price, .high_price {
	display: block;
	background: var(--button-color);
	padding: 13px 0px;
	font-size: 16px;
	line-height: 24px;
	border-radius: 8px;
	color: var(--font-color-dark);
}
/*▲価格別検索▲*/
/*ランキング*/
div.smp-contents-group{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr 60px;	/*60pxは詳細リンクボタンの大きさ*/
	font-size: 12px;
	width: calc(100% - 8px);
	padding-top: 10px;
	padding-bottom: 10px;
	margin: 0 4px 20px;
	background: var(--button-color);
	border-radius: 8px;
}
div.smp-contents-group#content-topics{
	grid-template-rows: 1fr 1fr 1fr 60px;	/*60pxは詳細リンクボタンの大きさ*/
	}
#ranking{
	grid-template-rows: auto 1fr 1fr;
}
.column-full .item-heading {
    font-size: 22px;
}
.column-full .item-price {
    font-size: 22px;
}
div.rank-img{
	width: 100%;
}
div.rank-img > img{
	width: 100%;
}
.column1, .column2 {
	/*margin: 10px 8px;*/
	margin: 5px 4px;
}
div.item-heading {
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	color: var(--font-color-dark);
}
.column-full{
	grid-column: 1 / 3;
	width: calc(100% - 8px);
	margin: 0 4px;
}
.bottom-detail-button{
	grid-column: 1 / 3;
	padding: 5px 0;
	/*width: calc(100% - 40px);*/
	width: 70%;
	margin: 10px auto;
	font-size: 16px;
	text-align: center;
	color: var(--button-color);
	background: var(--font-color-dark);
	border-radius: 8px;
	line-height: 30px;
}
.bottom-detail-button a{
	display: block;
	width: 100%;
	height: 100%;
	color: var(--button-color);
}
div.smp-wine-name {
	position: relative;
	color: black;
	overflow: hidden;
	height: 4.5em;
	line-height: 1.5em;
	text-align: left;
	font-size: 12px;
}
.item-price{
	font-size: 20px;
	text-align: left;
	font-weight: bold;
	line-height: 1.5em;
	/*padding-left: 8px;*/
	color: var(--font-color-dark);
}
/*タブ*/
.smp-tab-wrap{
	width: 100%;
	margin:0;
}
div.smp-tab-list-wrapper{
	overflow-x: scroll;
	-webkit-overflow-scrolling: touch;
}
.smp-tab-list{
	font-size:0;
}
.smp-tab-menu.active a{
	color: var(--font-color-dark);
}
.smp-tab-menu:not(.active) a{
	color: var(--button-color);
}
.smp-tab-menu:first-of-type{
	margin-left: 4px;
}
.smp-tab-menu:last-of-type{
	margin-right: 4px;
}
.smp-tab-list li{
	width:100px;
	margin:0 2px;
	display:inline-block;
	padding: 11px 0;
	border-radius: 8px 8px 0 0;
	color: #fff;
	background: var(--font-color-dark);
	text-align:center;
	font-size:13px;
	line-height: 26px;
	vertical-align: middle;
	height: 26px;
	cursor:pointer;
	transition:ease 0.2s opacity;
}
.smp-tab-list .multi-lines {
	line-height: 13px;
}
.smp-tab-contents-wrapper{
	background: var(--button-color);
	border-radius: 8px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	margin: 0 4px;
}
.tab_panel{
	width:100%;
	display:none;
}
.tab_panel p{
	font-size:14px;
	letter-spacing:1px;
	text-align:center;
}
.smp-tab-list li.active{
	background: var(--button-color);
	color: var(--font-color-dark);
	font-weight: bold;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	transition: all .5s;
}
.tab_panel.active{
	display:block;
}


/* スクロールアップ */
#page_top{
	width: 50px;
	height: 50px;
	position: fixed;
	right: 4px;
	bottom: -50px;
	background: #9E9E9E;
	opacity: 0.95;
	border-radius: 50%;
	z-index: 9999;
}
#page_top a{
	position: relative;
	display: block;
	width: 50px;
	height: 50px;
	text-decoration: none;
}
#page_top a::before{
	font-family: FontAwesome;
	content: '\f102';
	font-size: 25px;
	color: #fff;
	position: absolute;
	width: 25px;
	height: 25px;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
	text-align: center;
}
/* サイドオープン時にメインコンテンツを覆う部分 */
.overlay {
  content: '';
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0);
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  z-index: 3;
}
/*
.overlay::after {
  content: "";
  visibility: hidden;
  position: fixed;
  top: 40%;
  left: 0;
  display: block;
  width: 100%;
  height: 50px;
  color: rgba(255,255,255,0);
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
}
*/
.side-open .overlay {
  visibility: visible;
  cursor: pointer;
  background: rgba(0,0,0,.7);
}
.side-open .overlay::after {
  visibility: visible;
  color: rgba(255,255,255,.8);
}

/* サイドメニュー ※リストのスタイルは省略 */
.side-menu {
	position: fixed;
	top: 0;
	right: -300px;
	width: 300px;
	height: 100%;
	text-align: left;
	font-size: 13px;
	background: var(--font-color-light);
	z-index: 1;
	pointer-events: none;
    transition: all .5s ease;
}
.side-open .side-menu {
    right: 0 !important;
    pointer-events: auto !important;
}
/*サイドメニューのヘッダー*/
.side-top{
	position: relative;
	width: 160px;
	padding: 10px 30px
}
.side-menu-li-multi > h2:after{
	content: "\f107";
	font-family: FontAwesome;
	color: #000;
	line-height: 35px;
	font-weight: normal;
	margin-left: 10px;
	position: absolute;
	right: 20px;
}
.side-menu-li-multi.active > h2:after{
	content: "\f106";
	font-family: FontAwesome;
	color: #000;
	line-height: 35px;
	font-weight: normal;
	margin-left: 10px;
	position: absolute;
	right: 20px;
}

.side-menu-li-single:after {
	content: "\f105";
	font-family: FontAwesome;
	color: #000;
	line-height: 35px;
	font-weight: normal;
	margin-left: 10px;
	position: absolute;
	right: 20px;
}
.side-menu-li-fav:after{
	/*content: "\f005" !important;
	color: #ff970e !important;*/
	content: "" !important;
}
.side-menu-li-fav{
	font-size: 18px !important;
	margin-top: 25px !important;
	 padding-left: 0 !important;
	background: var(--button-color) !important;
	border-radius: 8px;
	border-bottom: none !important;
	text-align: center;
}
i.fas.fa-star {
	font-family: Fontawesome !important;
	font-style: initial;
}
.side-menu-li-multi a, .side-menu-li-single a{
	color: var(--font-color-dark);
}
.side-menu-li-multi h2,.side-menu-li-single{
	position: relative;
	border-bottom: 0.5px solid var(--font-color-dark);
	font-size: 20px;
	padding: 7px 0 7px 10px;
	margin-left: 10px;
	margin-right: 10px;
	background: var(--font-color-light);
	color: var(--font-color-dark);
	line-height: 35px;
	font-weight: bold;
}
.side-menu-li-multi--child{
	display: none;
}
.active .side-menu-li-multi--child{
	display: block;
	font-size: 15px;
}
li{
	list-style: none;
}
.side-menu-li-multi--child li{
	border-bottom: 0.5px solid var(--font-color-dark);
	padding: 10px;
	margin-left: 10px;
	margin-right: 10px;
}
/* 開閉用ボタン*/
.side-menu-btn {
	position: fixed;
	border-radius: 8px;
	top: 10px;
	right: 4px;
	width: 40px;
	height: 40px;
	padding: 5px;
	background: #ccc;
	cursor: pointer;
	z-index: 4;
}
/* ボタンの細かい表示 */
.menu-icon-top, .menu-icon-mid, .menu-icon-bot{
	position: absolute;
	left: 0;
	right: 0;
	display: block;
	width: 80%;
	height: 2px;
	margin: auto;
	background: #fff;
	-webkit-transition: all .3s;
	transition: all .3s;
}
.menu-icon-top{
	top:14px;
}
.menu-icon-mid{
	top:24px;	/*線が太さ2pxだからその半分(1px)だけずらす*/
	opacity:1;
}
.menu-icon-bot{
	top: 35px;
}
/* サイドメニューが開かれていたら */
.side-open .menu-icon-top{
	top: 50%;
	transform: rotate(45deg);
}
.side-open .menu-icon-mid{
	opacity:0;
	transform: translate(-40px,0);
}
.side-open .menu-icon-bot{
	top: 50%;
	transform: rotate(-45deg);
}
.side-menu-wrap{
	width: 100%;
	height: 100%;
	display: block;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}
.side-campain{
	display: block;
	width:90%;
	margin: 0 auto;
}
/* サイドメニューの検索 */
.side-menu-wrap input[type=text] {
	border: #c9bc9c 2px solid !important;
	/*border-radius: 8px 0 0 8px !important;*/
	border-radius: 8px;
}
.side-menu-wrap input[type=text] {
	font-size: 120%;
	height: var(--btn-height-small);
	width: calc(100% - 30px);
	padding: 5px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-appearance: none;
}
.search-button input[type=submit] {
	color: #080404 !important;
	background: #c9bc9c !important;
	border-radius: 0 8px 8px 0 !important;
}
input[type=text] {
  font-size: 16px !important;
}
.search-button input[type=submit] {
	padding: 0 10px;
	border: none;
	font-weight: bold;
	font-size: 110%;
	width: 100%;
	height: var(--btn-height-small);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-appearance: none;
}
/* メインコンテンツ */
.wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  font-size: 13px;
  background: var(--font-color-light);
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  z-index: 2;
}

/* サイドメニューオープン */
.side-open .wrapper,
.side-open .overlay {
  -webkit-transform: translate3d(-300px, 0, 0);
  transform: translate3d(-300px, 0, 0);
}
.emblem{
	width: 25%;
	display: inline-block;
}
.emblem-right{
	display: inline-block;
	width: 60%;
	vertical-align: top;
	padding: 10px 0 0 10px;
	font-size: 12px;
}
#emblem-ul{
	margin: 15px 10px;
}
.emblem img{
	width: 100%;
}
.emblem-li{
	border-bottom: 1px solid var(--font-color-dark);
	box-sizing: border-box;
	margin-bottom: 10px;
	padding-bottom: 10px;
}
.emblem-text{
	font-size:14px;
}
/* 用語解説用 */
.glossary > a {
	text-decoration: underline;
  color: #968b7c;
}
.glossary {
	font-size: 10px;
	text-align: right;
	height: 20px;
	line-height: 20px;
	width: 60%;
	margin: 0 10px 10px auto;
	border-radius: 4px;
}
/*aji-chart*/
.aji-button{
	display: block;
	background: var(--button-color);
	padding: 13px 0px;
	font-size: 16px;
	line-height: 24px;
	margin: 0px auto 10px;
	width: calc(100% - 20px);
	border-radius: 8px;
	color: var(--font-color-dark);
}

/* イベント */
.sale201909 img {
	width: 100%;
}
.select-wine-text {
    text-align: center;
    padding: 0 10px;
    color: #4D473D;
}
/*プロフィール*/
.buyer-profile-box{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
    border: 3px solid #9aa339;
    box-sizing: border-box;
    padding: 5px;
    margin-top: 25px;
}
.buyer-profile-box figure {
	width: calc(30% - 10px);
	padding: 0 10px 0 0;
}
.buyer-profile-right {
    width: 70%;
}
.buyer-profile-box p {
	line-height: 1.6em;
	text-align: left;
}
figure img{
	max-width: 100%;
	height: auto;
}
@media screen and (max-width: 896px){
	section.buyer-profile-box h2 {
	    font-size: 18px;
	}
}
section.buyer-profile-box h3 {
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: 5px;
    font-weight: bold;
    width: 100%;
}

@media screen and (min-width: 641px) {
  .smp_header_menu, .side-menu, .side-menu-btn, .overlay{
  	display: none;
  }
}

/*アイテムカード 旧コード

a.item-card-gold {
    display: -ms-grid;
    display: grid;
    grid-template-columns: 4fr 6fr; 
    -ms-grid-columns: 4fr 6fr;
    grid-template-rows: auto;
    -ms-grid-rows: auto;
    grid-column-gap: 5px;
    width: calc(100% - 10px);
    padding: 5px;
}
.item-card-gold-right {
    color: #000000;
    padding: 0;
    display: -ms-grid;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: 2fr 3fr 2fr;
}
.card-item-catch {
	font-size: 14px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

*/
.card-item-name {
	overflow: hidden;
	height: 55px;
	position: relative;
	font-size: 18px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
    line-height: 1.5;
}
.card-item-price {
    text-align: right;
    font-size: 12px;
}
.price-num {
    font-size: 1.8em;
    color: #ff0000;
    padding: 0 5px;
}
.item-card-gold-left {
    padding-top: 5px;
}
.item-card-gold-left img{
	width: 100%;
}
span.sale {
    font-size: 1.4em;
    background: #ff0000;
    color: #ffffff;
    padding: 5px;
    margin-right: 5px;
}
@media screen and (min-width: 641px) {
/*	.item-card-gold-right {
	    color: #000000;
	    padding: 10px 10px 10px 5px;
	    display: -ms-grid;
	    display: grid;
	    grid-template-columns: auto;
	    grid-template-rows: 2fr 4fr 2fr;
	}
*/
	.item-card-gold-left {
	    padding-top: 25px;
	}
	.card-item-catch {
	    font-size: 22px;
		overflow: hidden;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}
/*
	.card-item-name {
	    overflow: hidden;
	    height: 115px;
	    position: relative;
	    font-size: 26px;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
	}
*/
	.card-item-price {
	    text-align: right;
	    font-size: 24px;
	}
}



/*アイテムカード 修正版*/


/* 1. -ms-grid 削除、3. grid-column-gap を column-gap に変更 */
a.item-card-gold {
    /* display: -ms-grid; は削除 */
    display: grid;
    grid-template-columns: 4fr 6fr;
    /* -ms-grid-columns: 4fr 6fr; は削除 */
    grid-template-rows: auto;
    /* -ms-grid-rows: auto; は削除 */
    column-gap: 5px; /* grid-column-gap を変更 */
    width: calc(100% - 10px);
    padding: 5px;
}

.item-card-gold-right {
    color: #000000;
    padding: 0;
    /* display: -ms-grid; は削除 */
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: 2fr 3fr 2fr;
}

/* 2. -webkit- 記述は残すが、行数/フォントサイズ以外は @media で再定義しない */
.card-item-catch {
    font-size: 14px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media screen and (min-width: 641px) {
    .item-card-gold-right {
        color: #000000;
        padding: 10px 10px 10px 5px;
        /* display: -ms-grid; は削除 */
        /* display: grid; は既に親で定義されているか、値が変わらないので削除可 */
        grid-template-rows: 2fr 4fr 2fr; /* ここで値が変わる部分のみ残す */
    }
    /* ... 値が変わる部分のみを記述 ... */
    .card-item-name {
        overflow: hidden;
        height: 115px;
        position: relative;
        font-size: 26px;
        /* display: -webkit-box; など、値が変わらないものは再定義不要 */
        -webkit-line-clamp: 3; /* 行数の変更のみ残す */
    }
}