/* 楽天用に下にdivを噛ませる --------------------------------------------------------------------------*/
#fotter-last-block{
  height:465px;
}

/* フッター --------------------------------------------------------------------------*/

#works-footer{
  position:absolute;
  width:100%;
  min-width:1060px;
  background-color:#f2f2f2;
  left:0;
}

#works-footer2{
  text-align:left;
  width:1060px;
  padding:20px 0 0 0;
  margin:0;
  font-family:'Lucida Grande','Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  font-size:12px;
  line-height:1.5;
}

#works-footer a{
  text-decoration:none;
  color:#333 !important;
  display:block;
}

#works-footer a:hover{
  background-color:#eaeaea;
}

/* はじめてのお客様へ --------------------------------------------------------------------------*/
#first_guest{
  width: 650px;
  font-family: 'Lucida Grande','Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  display: inline-block;
  margin: 0 0 20px 0;
  vertical-align: top;
}

/*タイトル*/
#first_guest > .title{
  width: 629px;
  height: 25px;
  color: #33528c;
  font-size: 15px;
  font-weight: bold;
  padding: 4px 0 0 23px;
  margin: 0 0 14px 0;
  border-bottom: 1px solid #ccc;
  display: block;
  background-image: url(https://image.rakuten.co.jp/minatodenk/cabinet/layout/first-guest-0000.gif);
  background-repeat: no-repeat;
  background-position: 0 1px;
  counter-reset: number;
}

#first_guest > .title .right{
  display: inline-block;
  color: #555;
  font-size: 12px;
  padding: 0 4px 0 0;
  margin: -14px 0 0 10px;
  width: 262px;
}

#first_guest > .title span{
  font-size:25px;
}

/*中身*/
#first_guest > a{
  width: 307px;
  height: 85px;
  padding: 20px 14px 20px 0;
  margin: 0 8px 8px 0;
  vertical-align: top;
  display: inline-block;
  text-decoration: none;
  background-position: 5px 10px;
  background-repeat: no-repeat;
  background-color:#fff;
}

#first_guest a:nth-of-type(2), #first_guest a:nth-of-type(5){
  margin-right: 0;
}

/*中身　2段目以降*/
#first_guest a:nth-of-type(n+3){
  margin-bottom: 0;
  height: 50px;
  width: 197px;
  background-position: 0 13px;
}

/*中身　ホバー時*/
#first_guest a:hover{
  background-color:#f2f2f2;
}

/*中身　文字関連*/
#first_guest a .title{
  color: #33528c;
  font-weight: bold;
  font-size: 15px;
  height: 26px;
  width: 197px;
  margin-left: auto;
}

#first_guest a .dec{
  color: #444 !important;
  padding: 0;
  font-size: 12px;
  text-align: justify;
  width: 197px;
  margin-left: auto;
}

/*中身　文字関連　2段目以降*/
#first_guest a:nth-of-type(n+3) .title{
  height: 21px;
  width: 128px;
}

#first_guest a:nth-of-type(n+3) .dec{
  width: 128px;
  font-size: 11px;
}

/*ナンバー自動振り分け*/
#first_guest a:before{
  text-align:center;
  counter-increment:number;
  content:counter(number);
  color:#999;
  font-weight:bold;
  font-size:18px;
  line-height:1;
  width:32px;
  height:29px;
  display:block;
  margin:-15px 0 0 0;
  padding:3px 1px 0 0;
  position:absolute;
  font-family: "小塚ゴシック", sans-serif;
}

/*○○th文字*/
#first_guest a .year {
  font-family: "Arial",Meiryo;
  color: #33538d;
  font-weight: bold;
  font-size: 29px;
  position: absolute;
  margin: 6px 0 0 10px;
}

#first_guest a .year small{
  font-size:18px;
  margin:0 0 0 2px;
}

/* 最新のご注文情報--------------------------------------------------------------------------*/
#works-tyuumonn{
  font-family:'Lucida Grande','Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  width:350px;
  height:269px;
  padding:0;
  font-size:13px;
  line-height:1.4;
  color:#333;
  display: inline-block;
  margin-left: 55px;
}

#works-tyuumonn iframe.order{
  width:350px;
  height:225px;
  border:0;
  margin:-1px 0 0 0;
}

/*表*/
#header2 td{
  background-color: #ccc;
}

/* お問い合わせ --------------------------------------------------------------------------*/
#contact{
  width: 289px;
  display: inline-block;
  vertical-align: top;
}

div#contact > div.title,
#works-tyuumonn > div.title,
#calendar > div.title,
#footer-guide > div.title{
  border-bottom: 1px solid #ccc;
  width: 100%;
  height: 25px;
  color: #33528c;
  font-size: 15px;
  font-weight: bold;
  padding: 4px 0 0 0;
  margin: 0 0 14px 0;
}

div#contact > div.dec{
  color: #333;
}

div#contact > div.dec > span{
  font-size: 20px;
  font-weight: bold;
}

div#contact .mail{
  display: inline-block;
  text-decoration: none;
  color: #333!important;
  font-size: 13px;
  font-weight: bold;
  border: 2px solid #333;
  max-width: 100%;
  padding: 4px 4px 2px 4px;
  border-radius: 3px;
  text-align: center;
  margin: 8px 0 5px 0;
}

#contact .a-none{
  display: inline-block;
}

#contact > img[src^="https://event.rakuten.co.jp/campaign/shop/twenty-first/emblem.png"]{
  margin-top: 10px;
  vertical-align: middle;
}
#contact > img[src^="https://event.rakuten.co.jp/campaign/shop/twenty-second/emblem.gif"]{
  margin-top: 10px;
  vertical-align: middle;
}

#contact > img[src^="https://image.rakuten.co.jp/minatodenk/cabinet/layout/ft-award.gif"]{
  width: 190px;
  vertical-align: middle;
  margin-top: 10px;
}

.ft-record{
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
  width: 103px;
  font-size: 11px;
  color: #333;
}

.ft-record > b{
  display: block;
  font-size: 13px;
}

/* お買い物ガイド --------------------------------------------------------------------------*/
#footer-guide{
  width: 200px;
  display: inline-block;
  vertical-align: top;
  margin-left: 55px;
}

div#footer-guide > ul{
  margin: 0;
  padding: 0;
  list-style: none;
}

div#footer-guide > ul >li{
  line-height: 2;
}

div#footer-guide > ul >li >a:before{
  content: "-";
  margin-right: 5px;
}

/* 営業日カレンダー --------------------------------------------------------------------------*/
#calendar{
  width: 452px;
  display: inline-block;
  vertical-align: top;
  margin-left: 55px;
}

.calendar{
  width: 452px;
  height: 245px;
  border: 0;
  margin: 0;
  margin-top: 0px;
  overflow: hidden;
}

#calendar table.calbase_rakuten{
  margin-bottom: 20px;
  width: 452px;
  background-color: #f2f2f2;
  border: none;
}

#calendar table.calbase_rakuten *{
  color: #333;
}

#calendar table.calbase_rakuten th.caltitle_rakuten{
 display: none;
}

#calendar table.calframe_rakuten th{
  text-align: center;
  border-bottom: none;
}

#calendar font.event1day_rakuten{
  color: #FF9999;
}

#calendar font.event3day_rakuten{
  color: #B3D2F5;
}

#calendar table.calframe_rakuten{
  width: 218px;
  margin: 0;
  display: inline-block;
  vertical-align: top;
}

#calendar table.calbase_rakuten > tbody > tr:nth-child(2) > td:nth-child(1) > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1) > table:nth-child(2){
  margin: 0 0 0 10px;
}

#calendar tr.weektitle_rakuten td{
  background-color: #999;
  color: #fff!important;
}

#calendar table.calframe_rakuten td{
  width: 30px;
  height: 28px;
  border: 1px solid #f2f2f2;
}

#calendar table.event_rakuten{
  margin: 7px 10px 7px 0;
}

#calendar table.event_rakuten tr:nth-of-type(2){
  display: none;
}

/* フッター最下層 --------------------------------------------------------------------------*/
#works-footer-last{
  width:100%;
  color:#333;
  font-size:11px;
  padding:16px 0;
  text-align:center;
}

#works-footer-last > ul{
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline-block;
}

#works-footer-last > ul > li{
  display: inline-block;
  border-right: 1px #ccc solid;
  padding: 0 5px;
}

#works-footer-last > ul > li:last-child{
  border-right:none;
}
