@charset "utf-8";

/*
  NOTE : 目次や商品名バーなどの画像のテンプレートが残っていなかったため、
         CSSでそれっぽいのを作成した。
*/

/*  タイトルバー（商品名）  */
.square_box {
  position: relative;
  max-width: 300 px;
  background-color: #666565;
}

.square_box::before {
  content: "";
  display: block;
  padding-bottom: 7.5%;
}

.square_box h1 {
  color: white;
  position: absolute;
  top: 0;
  margin: 10px;
}

/* タブメニュー */
#tab-control {
  margin-top: 0.25%;
  float: left;
}

#tab-control>a {
  width: 130px;
  height: 5px;
  display: inline-block;
  border-width: 1px 1px 0px 1px;
  border-style: solid;
  border-color: gray;
  border-radius: 0.75rem 0.75rem 0 0;
  padding: 0.75rem 1rem;
  text-align: none;
  color: rgb(212, 211, 211);
  background-color: white;
  font-weight: bold;
  position: relative;
}

#tab-control>a:hover {
  text-decoration: underline;
  color: black;
  background-color: rgb(197, 191, 191);
}

#tab-control>a.active {
  color: white;
  background-color: gray;
}

/* 仕様表 */
table {
  width: 475px;
  margin: 1%;
}

table td,
th {
  border: 1px solid black;
  padding: 5px;
}

table th {
  background-color: rgb(240, 235, 235);
}

/* 
    中国用のページのovenバーの画像がなかったので、急遽CSSで作った。
    TODO : 名前がいまいちなので、時間ができたら、リファクタリングする。
*/
.square_box_red {
  position: relative;
  max-height: 25px;
  max-width: 150 px;
  background: linear-gradient(rgb(255, 20, 20), rgb(187, 0, 0));
  margin-bottom: 0.5%;
}

.square_box_red::before {
  content: "";
  display: block;
  padding-bottom: 7.5%;
}

.square_box_red h1 {
  font-size: 15px;
  color: white;
  position: absolute;
  top: -5px;
  margin: 10px;
}