:root {
  --font-serif: YuMincho, serif;
  --font-weight: 600;
}

.contents img {
  width: 100%;
  vertical-align: bottom;
}

.content-block {
  margin-block-end: 120px;
  font-family: YuGothic, sans-serif;
  text-align: center;
}

.content-block h2 {
  display: inline-block;
  margin-block-end: 40px;
  padding-inline: 10px;
  border-bottom: 2px solid #025697;
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: var(--font-weight);
  line-height: 2.4;
  text-align: center;
  color: #025697;
}

.mv {
  margin-block-end: 100px;
}

.overview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  max-width: 780px;
  margin-inline: auto;
}

.overview h1 {
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: var(--font-weight);
  line-height: 1.76;
  letter-spacing: 2.5px;
  text-align: center;
}

.overview p {
  font-size: 16px;
  line-height: 1.94;
  text-align: center;
}

.overview-img {
  max-width: 500px;
  padding-block-start: 10px;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px 30px;
  max-width: 1440px;
  margin-inline: auto;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 35px;
  max-width: 460px;
}

.feature-item h3 {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-block-start: 5px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: var(--font-weight);
  text-align: left;
  color: #025697;
  line-height: 1.75;
}

.feature-item h3 img {
  width: 48px;
}

.feature-item p {
  font-size: 14px;
  text-align: left;
  line-height: 2;
}

.lineup-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1440px;
}

.lineup-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 345px;
  border: solid 1px #113d5d;
  box-sizing: border-box;
}

.lineup-item p {
  display: flex;
  flex-direction: column;
  padding-inline-start: 20px;
  font-family: var(--font-serif);
  font-weight: var(--font-weight);
  font-size: 20px;
  color: #113d5d;
  white-space: nowrap;
  text-align: left;
}

.lineup-item p span {
  font-size: 14px;
}

.lineup-item figure {
  display: block;
  width: 150px;
}

.table {
  display: grid;
  gap: 5px;
  color: #113d5d;
  text-align: left;
}

.table-row {
  display: grid;
  grid-template-columns: 100px repeat(4, 330px);
  gap: 5px;
}

.table-head {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 0;
  background: #025697;
  font-weight: bold;
  color: #fff;
}

.table-desc {
  border: solid 1px #113d5d;
}

.table-desc.p20 {
  padding: 20px;
}

.table-desc.spec-size {
  font-weight: bold;
  white-space: nowrap;
}

.spec-price {
  padding: 16px 20px;
  font-size: 30px;
  font-weight: bold;
}

.spec-price span {
  font-size: 14px;
}

.spec-detail-link {
  display: grid;
  grid-template-columns: 100px repeat(4, 330px);
  gap: 5px;
  margin: 10px 0 60px;
}

.spec-detail-link a {
  display: block;
  padding: 15px;
  border-radius: 10px;
  background: #113d5d;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
}

.spec-description {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 1440px;
  margin-block-end: 30px;
  text-align: left;
  color: #025697;
}

.spec-description span {
  font-size: 20px;
  font-weight: bold;
}

.back-care .table-head {
  background: #888888;
}

.spec-detail-link.back-care a,
.table-head.bg-gray-head{
  background: #555;
}

.sp {
  display: none;
}

.scroll-table {
    overflow-x: auto;
}

@media screen and (max-width: 768px) {
  .sp {
    display: block;
  }

  .content-block {
    margin-block-end: 80px;
  }

  .content-block h2 {
    display: block;
    margin: 0 20px 24px;
    font-size: 18px;
  }

  .mv {
    margin-block-end: 45px;
  }

  .overview {
    padding: 0 20px;
    gap: 32px;
  }

  .overview h1 {
    font-size: 18px;
  }

  .overview p {
    font-size: 13px;
    text-align: left;
  }

  .feature-list {
    margin: 0 20px;
    gap: 40px;
  }

  .feature-item {
    gap: 16px;
  }

  .feature-item h3 {
    font-size: 16px;
  }

  .feature-item p {
    font-size: 13px;
  }

  .lineup-list {
    width: 100%;
    padding: 0 20px;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
  }

  .lineup-item {
    width: 100%;
  }

  .lineup-item a {
    width: 100%;
  }

  .scroll-table {
    width: 100%;
    overflow-x: scroll;
  }

  .table-row {
    grid-template-columns: 68px repeat(4, 240px);
    padding: 0 20px;
  }

  .spec-detail-link {
    grid-template-columns: 68px repeat(4, 240px);
  }

  .spec-detail-link a {
    padding: 10px 0;
    font-size: 14px;
  }

  .scroll-table .table-row,.spec-detail-link {
    padding-inline: 20px;
  }

  .table-head {
    padding: 10px 15px;
    font-size: 11px;
  }

  .spec-description {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .spec-price {
    padding: 10px 8px;
    font-size: 20px;
  }

  .spec-price span {
    font-size: 12px;
  }

  .table-desc.p20 {
    padding: 8px;
  }

  .table-desc.spec-size {
    font-size: 12px;
    white-space: pre-wrap;
  }
}
