@charset "UTF-8";

/* base configure */
body {
  background: #cadef0;
}

.wbr-container span.wbr{
  display: inline-block;
  white-space: nowrap;
  }

header, footer, #main, .side-menu {
  padding: 15px;
  text-align: left;
  font-size: 1.2rem;
  color: #fff;
}
header, footer {
  background: #5096dc;
  margin: 0 auto;
}

header {
  border-radius: 10px 10px 0 0;
}

footer {
  border-radius: 0 0 10px 10px;
}

#main {
  background: #7fc2ef;
  color: black;
}

h1 {
  font-size: 2.0rem;
  text-align: center;
}

summary {
  padding: 10px 5px;
}

#main h2 {
  word-break: keep-all;
  font-size: 1.5rem;
  display: inline-block;
  display: inline;
}

#main h3 {
  font-size: 1.2rem;
  display: inline;
}

#summary h3 {
  display: inline;
  margin-top: 10px;
  margin-bottom: 3px;
  font-style: italic;
}

#main details {
  background-color: PowderBlue;
  margin: 10px 0;
  border-radius: 10px;

}

#main details p {
  line-break: strict;
  margin: 5px;
  text-indent: 1rem;
}

#main details p#summarize {
  font-weight: bold;
  text-align: center;
  padding-top: 1.0rem;;
  padding-bottom: 1.0rem;
}

#plan {
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 10px;
  background: Linen;
  text-align: left;
}

/* 各商品*/
#series-items-container {
  display: grid;
  grid-template-columns: repeat(auto-fill,100%);
  grid-template-rows: auto;
  grid-gap: 10px;
  place-content: center;
  }

.series-item {
  border-radius: 10px;
  background: PowderBlue;
  padding: 10px;
}

.item-inner{
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  /* 行列の自動配置方向を列方向にする */
}

item-element{
}

.series-item .item-name {
  max-width: 900px;
  margin: 3px 10px;
  font-size: 1.3rem;
}

.series-item .rate:after{
  content: "点";
}

.item-image{
  width: 80%;
  max-width: 400px;
}

.guide-container{
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  align-items: center;
  padding: 10px;
}

.guid-item{
  border-radius: 8px;
  margin: 5px;
  padding: 8px;
  font-weight: bold;
  font-size: 1.8rem;
}

.rakuten-guide{
  background-color: #be0202;
  color: white;
}

.amazon-guide{
  background-color: #131921;
  color: white;
}


#side-left {
  background: #d687b0;
}
#side-right {
  background: #dbe159;
}
#main, #side-left, #side-right {
  min-height: 200px;
}

#goto-top{
  text-align: center;
}
#copyright {
  font-size: 0.8rem;
  text-align: center;
}

/* display column */
.column1 #side-left, .column1 #side-right {
  display: none;
}
.column2-left #side-right, .column2-right #side-left {
  display: none;
}

/* Sideways tablet, PC */
@media (min-width: 992px) {
  /* content width init */
  .column1 header, .column1 footer {
    max-width: 910px;
  }
  .column2-left header, .column2-left footer,
  .column2-right header, .column2-right footer {
    max-width: 1030px;
  }
  .column3 header, .column3 footer {
    max-width: 1160px;
  }
  .column1 #main {
    width: 910px;
  }
  .column2-left #main, .column2-right #main {
    width: 700px;
  }
  .column3 #main {
    width: 580px;
  }
  .column2-left .side-menu, .column2-right .side-menu {
    width: 300px;
  }
  .column3 .side-menu {
    width: 260px;
  }
  #content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  /* content position */
  #side-left {
    order: -1;
  }
  #side-right {
    order: 1;
  }

  /* grow shrink base-size*/
  #main {
    -webkit-box-flex: 0;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
  }
  .side-menu {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
  }
}