/* ベース */
html {
  font-size: 62.5%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, "メイリオ", Meiryo, sans-serif;
  font-size: 1.4rem;
  line-height: 1.4;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  background-color: #fff;
  color: #555;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
}

ul{
  margin: 0;
}

ul li{
  list-style: none;
}

dl{
  display: -ms-flexbox;
  display: flex;
  margin: 0;
}

dl dd{
  margin: 0;
}

a{
  color: #888;
  text-decoration: none;
}

h1,
h2,
h3{
  margin: 0;
}

input[type="text"],
input[type="checkbox"],
input[type="password"],
button,
select{
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, "メイリオ", Meiryo, sans-serif !important;
}

input[type="text"]{
  width: 100%;
  border: 1px solid #ccc;
  padding: 0.3em;
  border-radius: 6px;
}

input[type="password"]{
  width: 100%;
  border: 1px solid #ccc;
  padding: 0.5em;
  border-radius: 6px;
}

input[type="text"]:focus,
input[type="password"]:focus{
  border: 1px solid #7db5f5;
  box-shadow: 0 0 5px rgba(72, 148, 234, 0.5);
}

input[type="radio"]{
  margin-right: 5px;
  vertical-align: middle;
}

button{
  border: none;
  cursor: pointer;
}

.wrapper{
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 100vh;
}

.container{
  width: 980px;
  min-height: 450px;
  margin: 0 auto;
}


/* ヘッダー*/
header{
  position: relative;
  margin-bottom: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #ccc;
}

header h1{
  width: 320px;
  height: 24px;
}

header h1 a{
  width: 320px;
  height: 0;
  display: inline-block;
  padding-top: 24px;
  background: url(../img/logo.png) no-repeat;
  overflow: hidden;
}

header .user-info{
  width: 560px;
  height: 30px;
  position: absolute;
  top: 15px;
  right: 0;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between;
  font-size: 1.2rem;
}

header .user-info a {
  color: #555;
}

header .menu-area{
  padding-right: 10px;
  padding-left: 0;
  vertical-align: middle;
  align-self: center;
  display: flex;
}

header .menu-area > li:first-of-type {
  margin-right: 10px;
}

header .menu-area a{
  vertical-align: middle;
}

header .menu-area i{
  width: 16px;
  display: inline-block;
  height: 0;
  margin-right: 5px;
  padding-top: 16px;
  vertical-align: middle;
  overflow: hidden;
}

header .order_history-icon{
  background: url(../img/order_history.png) no-repeat;
}

header .logout-icon{
  background: url(../img/logout.png) no-repeat;
}

header .order_history-icon + span, header .logout-icon + span{
  vertical-align: middle;
}

header .cart-area{
  width: 350px;
  padding: 5px;
  background-color: #F2F5A9;
  border: 1px solid #ccc;
  border-radius: 3px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.cart-area .my-cart{
  align-self: center;
}

.cart-area .cart-icon{
  width: 24px;
  display: inline-block;
  height: 0;
  margin-right: 10px;
  padding-top: 18px;
  vertical-align: middle;
  overflow: hidden;
  background: url(../img/cart.png) no-repeat 3px;
}

.cart-area .my-cart span{
  vertical-align: middle;
}

.cart-area dl{
  width: auto;
  display: table;
  line-height: 1.0;
}

.cart-area dl dt{
  font-size: 1.1rem;
  align-self: center;
  display: table-cell;
  width: 35px;
}

.cart-area dl dd{
  font-size: 1.4rem;
  display: contents;
}

.cart-area .cart-count {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 10px;
  background-color: #fe1d1d;
  color: #fff;
  border: 1px solid #fe1d1d;
  border-radius: 10px;
  font-size: 1.2rem;
}


/* メイン */
.main {
  width: 980px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
  margin-bottom: 50px;
  margin-left: auto;
  margin-right: auto;
}

.main .pege-title{
  text-align: left;
  margin-bottom: 10px;
}

.main-content{
  margin-left: 20px;
  width: 100%;
}

.title-icon{
  width: 24px;
  display: inline-block;
  height: 24px;
  margin-right: 10px;
  vertical-align: text-bottom;
  overflow: hidden;
}

p.maker,
p.cartIn {
  font-size: 3rem;
  color: #ccc;
  text-align: center;
  margin: 50px 0;
  line-height: 2.0
}

.button-area{
  text-align: center;
}

button.cart-in:hover{
  background-color: #0077ff;
}


/* ページャー */
.pager{
  margin-top: 30px;
}

.pager ul{
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0;
}

.pager ul li {
  position: relative;
  list-style-type: none;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  width: 36px;
  padding: 5px 3px;
  text-align: center;
}

.pager ul li a{
  color: #aaa;
  display: block;
}

.pager ul li.active{
  background-color: #fe1d1d;
}

.pager ul li.active span{
  display: block;
  color: #fff;
  cursor: pointer;
}

.pager ul li.start {
  border-radius: 5px 0 0 5px;
}

.pager ul li.end {
  border-right: 1px solid #ccc;
  border-radius: 0px 5px 5px 0px;
}

.pager .page-number{
  text-align: center;
}


/*　aside メーカー選択 */
.sidebar{
  width: 210px;
  border: 1px #ccc solid;
  border-radius: 0.6rem;
}

.sidebar a:hover {
  color: #0077ff; 
}

.sidebar .menu-title{
  line-height: 1.2;
  font-size: 1.5rem;
  padding: 5px 10px;
  background-color: #F2F5A9;
  border-radius: 6px 6px 0 0;
}

.sidebar .menu-icon{
  width: 16px;
  display: inline-block;
  height: 16px;
  margin-bottom: 1px;
  margin-right: 5px;
  vertical-align: text-bottom;
  overflow: hidden;
  background: url(../img/menu.png) no-repeat;
}

.sidebar .search-icon {
  width: 16px;
  display: inline-block;
  height: 16px;
  margin-bottom: 1px;
  margin-right: 5px;
  vertical-align: text-bottom;
  overflow: hidden;
  background: url(../img/search.png) no-repeat;
}

.sidebar nav{
  padding: 10px;
}

ul.maker-list {
  padding-left: 0;
}

ul.maker-list li {
  margin-bottom: 5px;
}

ul.maker-list li a {
  color: #555;
  padding-left: 20px;
  background: url(../img/arrow.png) no-repeat 5px;
}

ul.maker-list li.active a {
  color: #003DA6;
  font-weight: bold;
  background: url(../img/arrow_active.png) no-repeat 5px;
}

ul.maker-list li a :active {
  color: #0077ff;
}

.sidebar.search {
  margin-bottom: 10px;
}

.sidebar.search div{
  padding: 10px;
  position: relative;
}

.sidebar.search input[type="text"] {
  width: 100%;
  padding-right: 28px;
}

.sidebar.search form {
  margin-bottom: 0px;
}

#searchButton {
  padding: 0;
  width: auto;
  position: absolute;
  top: 14px;
  right: 17px;
}

#searchButton > .search-icon{
  margin: 0;
}

/* フッター */
footer{
  width: 100%;
  margin-top: auto;
  padding: 3px;
  background-color: #003DA6;
  color: #fff;
  text-align: center;
  box-shadow: 0px 1px #003DA6;
}

footer .copyright{
  margin: 0;
  padding: 5px;
}


/* メッセージ */
.error,
.caution{
  text-align: center;
  color: #ff5353;
}

.error_input input {
  border-color: #ff5353;
}
.error_radio label {
  color: #ff5353;
}


/* clearfix */
.inline-group {
  height: 100%;
  overflow: hidden;
}

.noshi-pack li::after,
.direct-delivery li::after{
  content: "";
  clear: both;
  display: block;
}