@charset "utf-8";
html {
  scroll-padding-top: 208px;
}

/* -----------header---------- */
.header #nav li a[href*='/items/'] {
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 5px;
  text-decoration-color: var(--main);
}

/* -------------------main-------------------------- */
/* --------------sub_mv------------- */
.sub_mv {
  background: url(../img/items/sub_mv.jpg) no-repeat center/cover;
}

/* --------------items------------- */
.items {
  display: flex;
  padding: 120px 0 calc(136px + 98px);
  justify-content: space-between;
}

.bg {
  background-image: url(../img/items/bg.png);
  background-size: cover;
  background-repeat: no-repeat;
}

/* --------------side_nav------------- */

.side_nav_wrap {
  width: fit-content;
  height: auto;
  position: relative;
}

.side_nav {
  width: 256px;
  padding: 0 16px;
  border-radius: 8px;
  position: sticky;
  top: 208px;
  left: 0;
  z-index: 10;
  background-color: #fff;
}

.side_nav li {
  border-bottom: 1px dashed var(--border-gray);
}

.side_nav li:last-child {
  border-bottom: none;
}

.side_nav a {
  display: block;
  width: 100%;
  padding: 12px 8px 12px 22px;
  font-weight: 700;
  letter-spacing: 0.03em;
  position: relative;
  transition: all 0.3s;
}

.side_nav a::before {
  content: '';
  display: block;
  width: 18px;
  aspect-ratio: 1/1;
  background: url(../img/btn_2_icon.svg) no-repeat center/contain;
  position: absolute;
  top: 50%;
  left: 1.5px;
  transform: translateY(-50%);
}

.side_nav li a.current {
  padding-left: 38px;
  color: var(--main);
}

.side_nav li a.current::before {
  content: '';
  display: block;
  width: 20px;
  aspect-ratio: 20/25;
  background: url(../img/items/item_icon.svg) no-repeat center/contain;
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
}

/* --------------item_list------------- */
.item_list {
  width: 850px;
  background-color: #fff;
  padding: 32px 40px;
  border-radius: 24px;
}

.item_list .item {
  margin-bottom: 128px;
}

.item_list .item:last-child {
  margin-bottom: 0;
}

.item h3 {
  display: flex;
  margin-bottom: 40px;
  padding-bottom: 24px;
  align-items: start;
  column-gap: 16px;
  color: var(--main);
}

.item h3 .en {
  display: block;
  width: 66px;
  border-radius: 50%;
  border: 9px solid var(--main);
  background-color: white;
  text-align: center;
  font-size: 32px;
  line-height: 1.5em;
  letter-spacing: 0.03em;
  box-shadow: 0 0 0 clamp(3px, 0.2vw, 0.2vw) white;
  position: relative;
  z-index: 0;
}

.item h3 .en::before {
  content: '';
  display: block;
  width: 15px;
  aspect-ratio: 15/12;
  background-color: var(--main);
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  position: absolute;
  bottom: -8px;
  left: 50%;
  translate: -50% 100%;
  z-index: -10;
}

.item h3 .en::after {
  content: '';
  display: block;
  width: 21px;
  aspect-ratio: 15/11;
  background-color: white;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  position: absolute;
  bottom: -9px;
  left: 50%;
  translate: -50% 100%;
  z-index: -100;
}

.item h3 .ja {
  display: block;
  width: fit-content;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.7;
}

.item .illust {
  width: 100%;
  aspect-ratio: 756/542;
  margin-bottom: 16px;
}

.illust img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.item .text {
  margin-bottom: 40px;
}

.item .products {
  display: flex;
  padding: 40px;
  margin-bottom: 64px;
  flex-wrap: wrap;
  column-gap: 40px;
  row-gap: 8px;
  border-radius: 16px;
  background-color: var(--bg-gray);
}

.item .products li {
  padding-left: 20px;
  position: relative;
}

.item .products li::before {
  content: '';
  display: block;
  width: 12px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 3px solid var(--main);
  position: absolute;
  top: 1.1em;
  left: 0;
  transform: translateY(-50%);
}

.item .products li:last-child {
  padding-left: 0;
}

.item .products li:last-child::before {
  display: none;
}

.item h4 {
  margin-bottom: 32px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: var(--main);
}

.item .makers {
  display: flex;
  width: 100%;
  column-gap: 6.5px;
  row-gap: 8px;
  flex-wrap: wrap;
}

.item .makers li {
  display: block;
  width: fit-content;
}

.item .makers li::after {
  content: '/';
  display: inline-block;
  margin-left: 6.5px;
}

.item .makers li:last-child::after {
  content: 'etc';
  display: inline-block;
  margin-left: 18px;
}

@media screen and (max-width: 750px) {
  html {
    scroll-padding-top: calc((100 / 750) * 140 * 1vw);
  }

  /* -------------------main-------------------------- */
  /* --------------sub_mv------------- */
  .sub_mv {
    background: url(../img/items/sub_mv_sp.jpg) no-repeat center/cover;
  }

  /* --------------items------------- */
  .items {
    display: block;
    padding: calc((100 / 750) * 128 * 1vw) 0 calc((100 / 750) * 242 * 1vw);
  }

  /* --------------side_nav------------- */
  .side_nav_wrap {
    display: none;
  }

  /* --------------item_list------------- */
  .item_list {
    width: 100%;
  }

  .item_list .item {
    margin-bottom: calc((100 / 750) * 128 * 1vw);
  }

  .item h3 {
    margin-bottom: calc((100 / 750) * 40 * 1vw);
    padding-bottom: calc((100 / 750) * 24 * 1vw);
    column-gap: calc((100 / 750) * 16 * 1vw);
  }

  .item h3 .en {
    width: calc((100 / 750) * 80 * 1vw);
    border: calc((100 / 750) * 9 * 1vw) solid var(--main);
    font-size: calc((100 / 750) * 40 * 1vw);
    box-shadow: 0 0 0 calc((100 / 750) * 4 * 1vw) white;
  }

  .item h3 .en::before {
    width: calc((100 / 750) * 15 * 1vw);
    bottom: calc((100 / 750) * -8 * 1vw);
  }

  .item h3 .en::after {
    width: calc((100 / 750) * 21 * 1vw);
    bottom: calc((100 / 750) * -9 * 1vw);
  }

  .item h3 .ja {
    font-size: calc((100 / 750) * 56 * 1vw);
  }

  .item .illust {
    width: 100%;
    aspect-ratio: 670/542;
    margin-bottom: calc((100 / 750) * 16 * 1vw);
  }

  .item .text {
    margin-bottom: calc((100 / 750) * 40 * 1vw);
  }

  .item .products {
    padding: calc((100 / 750) * 40 * 1vw);
    margin-bottom: calc((100 / 750) * 64 * 1vw);
    column-gap: calc((100 / 750) * 39 * 1vw);
    row-gap: calc((100 / 750) * 8 * 1vw);
    border-radius: calc((100 / 750) * 16 * 1vw);
  }

  .item .products li {
    padding-left: calc((100 / 750) * 24 * 1vw);
  }

  .item .products li::before {
    width: calc((100 / 750) * 16 * 1vw);
    border: calc((100 / 750) * 4 * 1vw) solid var(--main);
    top: 1em;
  }

  .item h4 {
    margin-bottom: calc((100 / 750) * 32 * 1vw);
    font-size: calc((100 / 750) * 40 * 1vw);
  }

  .item .makers {
    column-gap: calc((100 / 750) * 6 * 1vw);
    row-gap: calc((100 / 750) * 8 * 1vw);
  }

  .item .makers li::after {
    margin-left: calc((100 / 750) * 6 * 1vw);
  }

  .item .makers li:last-child::after {
    margin-left: calc((100 / 750) * 18 * 1vw);
  }
}
