@charset "UTF-8";

.wrapper {
    max-width: 100%;
}

.title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 140px;
  margin-top: 35px;
  margin-bottom: 10px;
}

.title h1 {
  color: #ffffff;
  text-shadow: 1px 1px 10px #4b2c14;
  font-family: "DM Serif Display", serif;
  font-weight: normal;
  line-height: 1.6;
  font-size: 4vw;
}

.title p {
  font-size: 18px;
  color: rgb(16, 61, 160);
  font-weight: bold;
  font-family: 'Ubuntu', sans-serif;
  text-shadow: none;
}

.item-list img {
  padding-top: 105px;
}

.item-list {
  width: 2000px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  align-items: flex-end;
  grid-template-columns: repeat(auto-fit, 310px);
  column-gap: 120px;
  row-gap: 30px;
  justify-content: center;
}

.item-list dl {
  line-height: 1.5;
}

.item-list dt {
  font-size: 11px;
  line-height: 20px;
  font-weight: bold;
  font-family: 'M PLUS 1p', sans-serif;
  padding-left: 7px;
}

.item-list dd {
  font-size: 12px;
  font-family: 'Sawarabi+Gothic', sans-serif;
}

.item-list .owed {
  font-size: 13px;
  font-weight: bold;
  font-family: 'M PLUS 1p', sans-serif;
}

.item-list .painted {
  font-size: 12px;
  padding-left: 5px;
}

.item-list .id {
  font-size: 12px;
  font-weight: bold;
  padding-bottom: 20px;
  padding-left: 3px;
}

.item-list li {
  position: relative;
  line-height: 1.6;
}

.item-list .item-label {
  position: absolute;
  top: 105px;
  left: calc(100% + 18px);
  font-size: 12px;
  font-family: 'Raleway', sans-serif;
  white-space: nowrap;
  transform-origin: top left;
  transform: rotate(90deg);
  color: rgb(27, 27, 27);
}

.link-button-area {
  margin-top: 40px;
}

.link-button {
  background-color: #12816f;
  display: flex;
  justify-content: center;
  min-width: 30px;
  line-height: 36px;
  border-radius: 24px;
  font-family: 'Ysabeau SC', sans-serif;
  font-size: 18px;
  text-align: center;
  color: white;
  margin-top: 15px;
}

.link-button:hover {
  background-color: rgb(203, 226, 177);
}


/* モバイル版
------------------------------- */
@media (max-width: 600px) {

  .title {
    height: 110px;
    margin-bottom: 0px;
  }

  .title h1 {
    font-size: 24px;
    line-height: 1.4;
  }

  .title p {
    font-size: 14px;
  }

  .item-list img {
    padding-top: 0px;
  }

  .item-list {
    grid-template-columns: repeat(auto-fit, 300px);
    row-gap: 5px;
  }

  .item-list dl {
    line-height: 1.2;
  }

  .item-list dd {
    font-size: 11px;
    margin-top: 5px;
  }

  .item-list .painted {
    font-size: 11px;
  }

  .item-list .id {
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 45px;
  }

  .item-list .item-label {
    font-size: 11px;
    color: rgb(27, 27, 27);
    top: 0px;
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  /* Styles for medium-sized screens */

  .title h1 {
    font-size: 44px;
    line-height: 1.6;
    padding-top: 15px;
  }

  .title p {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .item-list {
    column-gap: 120px;
    row-gap: 100px;
  }

  .item-list img {
    padding-top: 10px;
  }

  .item-list .item-label {
    top: 10px;
    left: calc(100% + 18px);
  }
}