@charset "utf-8";
/* CSS Document */

/* レシポンシブ用ブレイクポイント設置 */
@media (min-width: 500px) and (max-width: 799px) {

/* ==================== トップページ==================== */

/* 背景設定 */
#index{background-image: url(img/top_sp.jpg);background-repeat: no-repeat;background-size:100% auto;}
	
	

/* センターの文字設定　トップページ用 */
.SenterTEXT{
	margin: 0 auto;
	padding: 15px 0 0 0;
	width: 80%;
	color: #333c3a;
	font-size: 16px;
	line-height: 1.5em;
	background-color:rgba(255,255,255,255)
	vertical-align: middle;
}

	.iSommelierTEXT{
	color: #6D678A;
	font-size: 30px;
	line-height: 1.5em;
	font-weight:500;
}	
	
/* 会社概要　トップページ用 */
.CompanyTEXT{
	top: 0px;
	right: 0;
	bottom: 0;
	left: 0;
	margin: 0 auto;
	color: #333c3a;
	font-size: 14px;
	line-height: 1.3em;
	text-align:center;
	background-color:rgba(255,255,255,255)
	vertical-align: middle;	
}

.KaishameiTEXT{
	color: #6D678A;
	font-size: 24px;
	line-height: 1.5em;
	font-weight:500;
}


/* ==================== 診断ページ==================== */

/* 背景設定 */
#Sindan{background-image: url(img/sindan_sp.jpg);background-repeat: no-repeat;background-size:100% auto;}
	

/* センターの文字設定　診断ページ用*/
.sindanSenterTEXT{
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	text-align: center;
	margin: 0 auto;
	width: 90%;
	color: #333c3a;
	background-color:rgba(255,255,255,255)
	vertical-align: middle;
}
/* 診断ページボタンのデザイン */
.buttonSindan {
  display: inline-block;
  width: 80%;
  height: 50px;
  text-align: center;
  text-decoration: none;
  line-height: 50px;
  outline: none;
  font-size: 20px;
  border: 2px solid #9d0000;
  color: #333;
  background-color: rgba(255,255,255, .7);
}
.buttonSindan::before,
.buttonSindan::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.buttonSindan,
.buttonSindan::before,
.buttonSindan:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.buttonSindan:hover {
	color: #FFF;
	background-color: rgba(180,0,0, .7);
	border: 3px double #9d0000;
}


/* プログレスバー*/

.progress{
	display: inline-block;
	margin: 0 auto;
	text-align:center;
	vertical-align: middle;	
	line-height: 1.3em;
}

.progress_on {
	color: #9A0000;
	font-size: 20px;
	float:left;
}
.progress_off {
	color: #D3BBBC;
	font-size: 20px;
	float:left;
}




/* ==================== ランキング==================== */
	
/* 背景設定 */
#ranking{background-image: url(img/glass.jpg);background-repeat: no-repeat;background-size:100% auto;}

/* センターの文字設定　ランキング*/
.rankingTEXT{
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	text-align: center;
	margin: 0 auto;
	width: 90%;
	height:auto;
	color: #333c3a;
	background-color:rgba(255,255,255,255)
	vertical-align: middle;
}

/* ワイン一覧レイアウト */
.fream1{ /* 外枠*/
	width: 93%;
	background-color:rgba(255,255,255,.5);
	border-bottom: 1px solid #333c3a;
	padding: 15px;
	margin-bottom: 15px;
}
.fream2{ /* ワイン画像*/
	width:55px; 
	height:180px;
	float:left;
	text-align:left;
}
.fream3{ /* 順位*/
    //background-color: #FFAB85;
	height:55px;
	float:right;
	color: #333c3a;
	font-size: 15px ;
	text-align: right;
	font-weight: 600;
	border-bottom: 1px dashed #ACACAC;
}
.fream4{ /* 内容*/
     //background-color: #35AB85;
	position:relative; left:0px;top:10px;
	float:none;
	color: #333c3a;
	font-size: 17px ;
	text-align:left;
	font-weight: 700;
	line-height: 1.3em;
	}
.fream5{ /* 値段*/
   //background-color: #50775D;
	position:relative; left:0px;top:5px;
	color: #333c3a;
	font-size: 22px ;
	text-align: right;
	float:none;
	
}

	
/* ワインの画像*/
img.rankingWine {
width: 40px;
height: 130px;
}	
	
	
/* テイストマーク*/
#TasteMark {
  position:relative; left:0px;top:15px;
}
img.taste_mark {
width: 40px;
height: 40px;
}




/* 詳細ボタン用ボックス */
.shousaibox{
    position:relative; left:0px;top:-20px;
	width: 400px;
	height: 35px;
	display: table-cell;
	vertical-align: middle;	
}


/* 詳細ボタンのデザイン */
.buttonshousai {
  margin: 10px 0 0 0;
  display: inline-block;
  width: 110px;
  height: 30px;
  text-align: center;
  text-decoration: none;
  outline: none;
  background-color: rgba(50,100,60, .6);
  border: 2px solid #fff;
  color: #fff;
  line-height: 28px;
  font-size: 14px;
  float:left;
}
.buttonshousai::before,
.buttonshousai::after {
  position: absolute;
  z-index: -1;
  content: '';
}
.buttonshousai,
.buttonshousai::before,
.buttonshousai::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.buttonshousai:hover {
  background-color: rgba(50,100,60, .9);
  color: #F9F348;
  border: 2px solid #faffc6;
}


.fream11{ /* トップへ戻る*/

	height:50px;
	float:right;
	color: #333c3a;
	font-size: 20px ;
	text-align: right;
	
}


/* ==================== ワイン詳細==================== */

.ShousaiTEXT{
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	text-align: center;
	margin: auto 0;
	width: 95%;
	height:auto;
	color: #333c3a;
	background-color:rgba(255,255,255,255)
	vertical-align: middle;
}

/* ワイン詳細レイアウト */
.Shousaifream1{ /* 外枠*/
	width:95%;
	padding: 20px;
}
.Shousaifream2{ /* ワイン画像*/
	width:18%; 
	float:left;
	height:320px; 
	text-align:center;
}
.Shousaifream3{ /* キャッチ*/
	width:80%; 
	height: 18px;
	float:right;
	color: #50775D;
	font-size:18px;
	line-height: 1.2em;
	text-align:left;
	font-weight: 600;
}
.Shousaifream4{ /* チャート*/
	width:80%; 
	position:relative; left:0px;top:-10px;
	float:right;
	color: #50775D;
	text-align:center;
	font-weight: 500;
	}
.Shousaifream5{ /* ワイン名*/
	width:80%; 
	position:relative; left:0px;top:-120px;
	height:150px;
	float:right;
	color: #333c3a;
	font-size: 22px ;
	text-align:left;
	line-height: 1.3em;
	font-weight: 700;
	}

.Shousaifream6{ /* 値段*/
	position:relative; left:0px;top:-100px;
	height:50px;
	float:right;
	color: #333c3a;
	font-size: 23px ;
	text-align: right;
    font-weight: 700;
}
.Shousaifream7{ /* 説明*/
	position:relative; left:0px;top:-100px;
	float:right;
	color: #333c3a;
	font-size: 15px ;
	text-align: left;
}
.Shousaifream8{ /* 戻るボタン*/
	width:100%;
	position:relative; left:0px;top:-100px;
	height:100px;
	margin: 0 auto;
	float:left;
	color: #333c3a;
	text-align:center;
}

table.WineData {　/* ワインデータテーブル*/
    border-collapse: separate;
    border-spacing: 1px;
    text-align: left;
    line-height: 1;
    border-top: 1px solid #ccc;
}

table.WineData th {
    width: 60px;
    padding: 5px;
    vertical-align: top;
    border-bottom: 1px solid #ccc;
	color: #643536;
	font-size: 13px ;
}

table.WineData td {
    padding: 5px;
	font-size: 13px ;
    vertical-align: top;
    border-bottom: 1px solid #ccc;
}


/* ワインの画像*/
img.ShousaiWine {
	width: 80px;
	height: 300px;
}


/* テイストマーク*/
#TasteMark_shousai {
  position:relative; left:0px;top:15px;
}
img.taste_mark_shousai {
width: 60px;
height: 60px;
}


	
	
/* ==================== 共通設定==================== */

/* ボタンのデザイン */
.button {
  display: inline-block;
  width: 200px;
  height: 54px;
  text-align: center;
  text-decoration: none;
  outline: none;
  background-color: rgba(50,50,50, .5);
  border: 2px solid #fff;
  color: #fff;
  line-height: 50px;
  font-size: 20px;
}
.button::before,
.button::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.button,
.button::before,
.button::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.button:hover {
  background-color: rgba(140,10,20, .6);
  border: 2px solid #8e0a16;
}


/* 元に戻るボタンのデザイン */
.buttonbk {
  display: inline-block;
  width: 200px;
  height: 40px;
  text-align: center;
  text-decoration: none;
  outline: none;
  background-color: rgba(50,50,50, .5);
  border: 2px solid #fff;
  color: #fff;
  line-height: 36px;
  font-size: 18px;
}
.buttonbk::before,
.buttonbk::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.buttonbk,
.buttonbk::before,
.buttonbk::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.buttonbk:hover {
  background-color: rgba(140,10,20, .6);
}


/* 見出しのデザイン */
h3 {
  background-color: rgba(50,100,60, .5);
  border-radius: 4px;
  font-size: 18px;
  padding: 0.3em;
  text-align:center;
  color: #fff;
}
	
h4 {
  background-color: rgba(50,100,60, .5);
  border-radius: 4px;
  font-size: 18x;
  padding: 0.1em;
  text-align:center;
  color: #fff;
}



/* 余白を開ける */
.distance1{line-height:1em;}
.distance2{line-height:2em;}
.distance3{line-height:3em;}



/* 仕切り線 */
hr {
  height: 1px;
  border: none;
  position:relative; left:00px;top:-10px;
  border-top: 1px #ACACAC dashed;
}

/* リンク画像hover効果*/
a:hover img{
opacity:0.8;
filter:alpha(opacity=80);
-ms-filter: “alpha( opacity=80 )”;
}

/* テキストリンク設定*/
a.link1{text-decoration:none; color:#5f1f20 } 
a.link1:hover {text-decoration : underline ; color : #FF0000 ;} 
a.link1:visited { color: #4c524d; }



}  /* レシポンシブ終了*/