/* --------------------- style common css --------------------- */
/* =============================== base =============================== */
body {
  margin: 0;
  padding: 0;
  line-height: 1.4;
  color: #555;
  background: #efefef;
  font-size: 12px;
}

body {
  height: 100%;
  font-family: "source-han-sans-japanese", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "Meiryo", "sans-serif";
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 1px;
  overflow-x: hidden;
  position: relative;
}

/* height100% hack */
body > #container {
  height: auto;
}

/* link */
a {
  color: #000;
  text-decoration: none;
}

a:hover {
  color: #c50d0b;
  text-decoration: underline;
}

/* common_img */
img {
  border: none;
}

/* --------------------- container --------------------- */
#container {
  margin: 0px auto;
  max-width: 800px;
  height: 100%;
  min-height: 100%;
  background: url("../image/back_container.gif") repeat-y 50% 0;
  position: relative;
}

/* --------------------- header --------------------- */
#header {
  margin: 0 auto;
  height: 25px;
  background: #a3a3a3;
  text-align: right;
}

#header img {
  padding: 5px;
}

/* --------------------- contents --------------------- */
#contents {
  margin: 0 auto;
  padding-bottom: 164px;
  max-width: 750px;
  border-bottom: 15px solid #a3a3a3;
}

#contents h1 {
  margin: 10px auto;
  text-align: center;
}

/* --------------------- box --------------------- */
.shipping-box {
  margin: 0 auto 20px;
  padding: 0 25px;
}
.shipping-box h2 {
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: #000;
}
.shipping-box p.notes {
  margin: 0;
  width: 700px;
  font-size: 10px;
  text-align: right;
}

table, td, th {
  font-size: 12px;
  border: 1px solid #4b4b4b;
  border-collapse: collapse;
  color: 1px solid #000;
  font-weight: normal;
}

.th-r1 {
  padding: 4px 2px;
  background-color: #ddd;
  font-weight: normal;
}

.th-r2 {
  padding: 4px 2px;
  background-color: #ddd;
  font-weight: normal;
}

td {
  font-size: 12px;
  padding: 0px 0px;
  line-height: 16px;
}

.td-1 {
  background-color: #eef8ff;
  text-align: right;
  width: 38px;
  padding: 4px 2px;
}

.td-2 {
  background-color: #fff;
  text-align: right;
  width: 38px;
  padding: 4px 2px;
}

.td-3 {
  background-color: #fef8ff;
  text-align: right;
  width: 38px;
  padding: 4px 2px;
}

.td-4 {
  background-color: #fff;
  text-align: right;
  width: 38px;
  padding: 4px 2px;
}

.td-5 {
  background-color: #fff;
  padding: 4px 2px;
}

.td-area-r1 {
  font-size: 13px;
  background-color: #ddd;
  color: #000;
  width: 22px;
  line-height: 16px;
  padding: 4px;
}

.td-koku {
  background-color: #d8effd;
}

.td-koku2 {
  background-color: #d8effd;
  text-align: right;
}

.td-free {
  background-color: #fdeefc;
}

.td-free2 {
  background-color: #fdeefc;
  text-align: right;
}

#caution {
  max-width: 340px;
  margin: 0;
  padding: 0;
}

#close-btn {
  margin: 0 auto;
  text-align: center;
}

@media screen and (max-width: 710px) {
  /* --------------------- box --------------------- */
  .shipping-box .notes {
    width: 100%;
  }
  .shipping-box .scroll-table {
    position: relative;
  }
  .shipping-box .scroll-table:before {
    content: "";
    position: absolute;
    width: 40px;
    height: 100%;
    right: 0;
    top: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
  }
  .shipping-box .scroll-table .scroll-in {
    overflow-x: scroll;
    width: 100%;
  }
  .shipping-box .scroll-table .scroll-in table {
    border: none;
    margin-left: 98px;
  }
  .shipping-box .scroll-table .scroll-in table tr th, .shipping-box .scroll-table .scroll-in table tr td {
    padding: 4px 2px;
  }
  .shipping-box .scroll-table .scroll-in table tr th {
    width: 46px;
  }
  .shipping-box .scroll-table .scroll-in table tr .p-ab {
    position: absolute;
    left: 0;
  }
  .shipping-box .scroll-table .scroll-in table tr .size-a {
    left: 0px;
    width: 80px;
  }
  .shipping-box .scroll-table .scroll-in table tr .size-a.th-r1 {
    height: 53.19px;
  }
  .shipping-box .scroll-table .scroll-in table tr .size-b {
    left: 80px;
    width: 98px;
  }
  .shipping-box .scroll-table .scroll-in table tr td {
    height: 22.59px;
  }
}
