@charset "UTF-8";

/* CSS Document */
h1 span {
  position: absolute;
  top: 0;
  right: 1em;
  display: flex;
  flex-flow: row;
  gap: 24px;
}

h1 img {
  width: 24px;
  cursor: pointer;
}

.btn_details,
.btn_overview {
  cursor: pointer;
}

.jump {
  display: flex;
  justify-content: center;
  column-gap: 1em;
  margin-bottom: 50px;
}

.jump li {
  background-color: var(--bg);
  border-radius: 50px;
  padding: 5px 1em 5px 2.1em;
}

.jump li::before {
  content: "";
  position: absolute;
  top: 42%;
  left: 1em;
  /* width: 8px;
  height: 8px;
  border-bottom: var(--border);
  border-right: var(--border);
  transform: translateY(-50%)rotate(45deg); */
  width: 10px;
  height: 7px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background-color: var(--light-gray);
}

.products>ul {
  margin: 1em 0 3em 0;
}

.products li {
  border: var(--border);
  border-radius: 2px;
  margin-bottom: 2rem;
  transition: 0.5s;
}

.products li:hover {
  background-color: var(--bg);
}

.products li>span {
  position: absolute;
  top: -10px;
  left: -10px;
  background-color: var(--black);
  color: var(--white);
  width: 45px;
  height: 45px;
  text-align: center;
  padding-top: 9px;
  border-radius: 100px;
  z-index: 1;
}

.products li a {
  display: flex;
}

.products a>div {
  padding: 2rem 1em;
  width: 100%;
}

.products a>div::before {
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  bottom: 2rem;
  right: 1.5rem;
  border-top: var(--border);
  border-right: var(--border);
  transform: rotate(45deg);
}

.products li h3 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1em;
}

.products h3 span {
  color: var(--gray);
  font-size: 14px;
  text-align: right;
}

.products h3+p:first-of-type {
  margin-bottom: 1em;
}

.products h3+p::before {
  content: "カスタマイズ："
}

.products h3+p span {
  border: var(--border);
  border-radius: 50px;
  padding: 0px 10px;
  margin-bottom: 5px;
  display: inline-block;
  background-color: var(--white);
}

.products h3+p span:not(:last-of-type) {
  margin-right: 5px;
}

/*overview=====*/
.products .flex {
  display: flex;
  flex-flow: row wrap;
  gap: 1em;
}

.products .flex li {
  margin: 0;
  width: calc(50% - 0.5em);
}

.products .flex a>div::before {
  content: none;
}

.products .flex li::before {
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  bottom: 20px;
  right: 1.5rem;
  border-top: var(--border);
  border-right: var(--border);
  transform: rotate(45deg);
}

.flex li a {
  align-items: center;
}

.flex li h3 {
  flex-flow: column;
  margin-bottom: 0;
}

.flex li div p {
  display: none;
}

/*==========================================
PC
===========================================*/
@media screen and (min-width: 769px) {
  .products li a {
    flex-flow: row nowrap;
  }

  .products img {
    width: 250px;
  }

  .products .flex img {
    width: 200px;
  }

  .products a>div {
    padding: 2.5rem 2rem;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
  }
}

/*==========================================
SP
===========================================*/
@media screen and (max-width: 768px) {
  .products li a {
    flex-flow: column nowrap;
  }

  .products img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
}

@media screen and (max-width: 333px) {
  .jump li {
    font-size: 14px;
  }
}

@media screen and (max-width: 312px) {
  .jump li {
    font-size: 12px;
  }
}