@charset "UTF-8";
/* CSS Document */

* {
  margin: 0;
  padding: 0;
}

body {
  background: #ffffff;
  width: 800px;
  margin: 0 auto;
  font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}

section:last-child {
  margin: 0 auto 50px;
}

.title {
  color: #333;
  font-size: 24px;
  font-weight: 500;
  padding: 0;
}

.size-guide-title {
  border: none;
  border-bottom: 1px solid #ccc;
  margin: 0 auto 6px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}

.back-button {
  background-color: #fff;
  color: #616161;
  font-size: 14px;
  font-weight: bold;
  border-radius: 4px;
  border: 1px solid #45423f;
  padding: 4px 20px 4px 28px;
  position: relative;
  text-decoration: none;
  transition: all 0.2s linear;
}

.back-button::before {
  top: 50%;
  margin-top: -4px;
  right: 49px;
  position: absolute;
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-top: 1px solid #616161;
  border-right: 1px solid #616161;
  transform: rotate(220deg) skew(-10deg, 0);
  transition: all 0.2s linear;
}

.back-button:hover {
  background-color: #eee;
}

h3 {
  font-size: 16px;
}

table {
    border-collapse: collapse;
    margin: 16px auto 0;
    padding: 0;
    width: 600px;
    overflow: hidden;
}

table thead th {
    vertical-align: middle;
    font-size: 15px;
    padding: .8em;
}

table th, table td {
    padding: .8em;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #ededed;
}

table tr {
    font-size: 15px;
    text-align: center;
}

table thead tr {
    color: #666;
}

.close-btn {
  position: absolute;
  right: 0;
  top: -40px;
}
.close-btn img {
  width: 40px;
  transition: 0.2s;
}

.size-nav {
  margin: 0 auto 10px;
  padding: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.size-nav li {
  list-style: none;
  margin: 0 20px 0 0;
  display: inline-block;
  overflow: hidden;
  margin: 10px 10px;
  text-align: center;
  position: relative;
  border-radius: 4px;
  width: 25%;
  background-color: #3e3e3e;
  transition: all 0.2s linear;
}
.size-nav li a {
  color: #fff;
  text-decoration: none;
  padding: 7px 5px 5px 0px;
  display: block;
  overflow: hidden;
  font-size: 13px;
  font-weight: bold;
}
.size-nav li a::after {
  top: 45%;
  margin-top: -6px;
  right: 8px;
  position: absolute;
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(130deg) skew(-10deg, 0);
  transition: all 0.2s linear;
}
.size-nav li:hover {
  opacity: 0.7;
}
/* .size-nav li a:hover::after{
    opacity: 1;
} */

.guide-title {
  font-size: 20px;
  padding: 11px 14px;
  background-color: #f5f5f5;
  font-weight: bold;
  color: #212121;
}

.size-index-top ul {
  display: flex;
  justify-content: space-evenly;
}

.size-index-top ul img {
  width: 100%;
  height: auto;
  max-width: 160px;
  aspect-ratio: 16/5;
}

.size-index-top ul li {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.size-index-top ul li p {
  display: block;
  font-size: 14px;
  margin-bottom: 16px;
}

.size-index-list {
  margin: 20px auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  gap: 16px;
}

.size-index-list li {
  list-style: none;
  font-size: 14px;
  font-feature-settings: "palt";
  letter-spacing: 0.1em;
  padding: 0 14px;
}

.size-disc-ttl {
  font-weight: bold;
  font-size: 16px;
}

.size-index-list li img {
  max-width: 100%;
  height: auto;
}

.m-area {
  padding-bottom: 15px;
  padding-top: 15px;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 700px;
}

.m-table-simple {
  overflow: hidden;
}

.m-table-simple table {
  width: 100%;
  margin: 10px auto;
  max-width: 700px;
}

.m-table-simple tr {
  width: 100%;
  border: 1px solid #ddd;
}

.m-table-simple.m-table-thl th {
  width: 30%;
  vertical-align: top;
}

.m-table-simple.m-table-thl th,
.m-table-simple.m-table-thl td {
  text-align: left;
  padding: 9px;
  border: 1px solid #ddd;
}

.m-table-simple th {
  background-color: #f5f5f5;
}

.m-table-simple tr td:first-of-type {
  background-color: #f5f5f5;
  font-weight: bold;
}

.size-index p {
  display: block;
  font-size: 14px;
  margin: 16px auto;
}

.size-index img {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  aspect-ratio: 340/207;
  margin: 0 auto;
}

@media screen and (min-width: 641px) {
  .m-table-simple.m-table-thl th,
  .m-table-simple.m-table-thl td {
    padding: 14px;
    width: calc(100% / 7);
  }

  .m-table-simple th,
  .m-table-simple td {
    padding-top: 3px;
    padding-bottom: 3px;
    font-size: 13px;
  }

  .m-table-simple.m-table-thl.w-narrow th,
  .m-table-simple.m-table-thl.w-narrow td {
    padding: 11px;
    width: calc(100% / 12);
  }

  .is-sp {
    display: none;
  }
} /* end media */

@media screen and (max-width: 640px) {
  body {
    width: auto;
    margin: 0 12px;
  }

  .title {
    font-size: 20px;
    padding: 5px 0 0 10px;
  }

  table {
    width: 100%;
}

  .size-nav {
    margin: 30px auto;
  }

  .size-nav li {
    width: 43%;
    font-size: 14px;
  }

  .size-index-list {
    padding: 0;
  }

  .guide-title {
    font-size: 18px;
  }

  .size-disc-ttl {
    font-size: 14px;
  }

  .size-index-top ul {
    justify-content: space-around;
  }

  .m-area {
    padding-bottom: 15px;
    padding-top: 15px;
    line-height: 1.7;
    margin: 0 auto;
    width: 100%;
  }

  .m-table-simple table {
    width: 100%;
  }

  .m-table-simple {
    width: 100%;
    margin: 10px auto;
  }

  .m-table-simple.m-table-thl th,
  .m-table-simple.m-table-thl td {
    width: calc(98% / 7);
    font-size: 10px;
    padding: 5px;
  }

  .m-table-simple.m-table-thl.w-narrow th,
  .m-table-simple.m-table-thl.w-narrow td {
    font-size: 10px;
    padding: 5px;
  }

  .is-pc {
    display: none;
  }

  .size-index p {
    text-align: left;
  }
}
