@charset "UTF-8";

/********************************
  作品/ヘッダー
********************************/
#global-container.sakuhin .header button {
  position: absolute;
  right: 10px;
  top: 20px;
  z-index: 1;
}
#global-container.sakuhin .header button span {
  background-color: white;
}
#global-container.sakuhin .header__inner {
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
#global-container.sakuhin .header__mv {
  display: block;
  height: 100%;
  width: 100%;
  z-index: 1;
}
#global-container.sakuhin .header__mv img {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
}
#global-container.sakuhin .header__wrap {
  justify-content: flex-end;
}
#global-container.sakuhin .header__logo {
  display: none;
}

.background-set,
#page .sakuhin .com-btn.red span::before {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/********************************
 作品ラインナップ
*********************************/
#page .sakuhin {
  background-color: white;
  position: relative;
  z-index: 1;
}
#page .sakuhin .com-btn {
  border-radius: 5px;
  font-size: 18px;
  height: 50px;
  margin: 0 auto;
  max-width: 300px;
}
#page .sakuhin .com-btn + .notice {
  margin-top: -15px;
  text-align: center;
  font-size: 14px;
}
#page .sakuhin .com-btn.red span::before {
  background-image: url(../images/arrow-left.png);
  content: "";
  height: 8px;
  right: 10px;
  width: 8px;
}
#page .sakuhin h2 {
  z-index: 1;
}
#page .sakuhin h2 + p {
  margin: 10px auto 10px;
  font-size: 18px;
  text-align: center;
}
#page .sakuhin h3 {
  align-items: center;
  background-color: #000;
  color: white;
  display: flex;
  font-size: 18px;
  padding: 15px 0 15px 30px;
}
#page .sakuhin p {
  font-size: 16px;
  line-height: 1.7;
}
#page .sakuhin__inner {
  padding-bottom: 50px;
}
#page .sakuhin__wrap {
  padding: 30px 0;
  row-gap: 25px;
}
#page .sakuhin__box {
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 640px;
  margin: 0 auto;
}
#page .sakuhin__img {
  width: 48%;
}
#page .sakuhin__img img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
#page .sakuhin__txt {
  width: 100%;
  padding: 0 30px;
}
#page .sakuhin__txt a {
  display: inline-block;
  word-break: break-all;
  text-decoration: underline;
}
#page .sakuhin__txt:last-of-type {
  margin-bottom: 10px;
}
#page .link p + p {
  margin-top: 15px;
}

.slider_area {
  padding-bottom: 20px;
  z-index: 0;
  background-color: #ffffff;
}

.slider_area .com-ttl {
  padding: 30px 0;
}

.copy-right2 {
  margin-top: 20px;
  margin-bottom: -20px;
  text-align: center;
  font-size: 14px;
}

.copy-right3 {
  margin-top: 20px;
  margin-bottom: -20px;
  text-align: center;
  font-size: 9px;
  line-height: 1.6;
}

.shop_links {
  margin-top: 30px;
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
}

.shop_links li {
  width: 48.5%;
  margin-bottom: 3%;
}

.shop_links li:nth-of-type(odd) {
  margin-right: 1.5%;
}

.shop_links li:nth-of-type(even) {
  margin-left: 1.5%;
}

/********************************
 作品ラインナップ一覧ページ
*********************************/
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
  max-width: 100%;
}

.work-item {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
  width: 100%;
}

.work-item:hover {
  opacity: 0.8;
}

.work-image {
  width: 100%;
  padding-bottom: 150%; /* 固定のアスペクト比 */
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f0;
}

.work-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.work-title {
  margin-top: 15px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media screen and (max-width: 768px) {
  .works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    padding: 0 10px;
  }

  .work-item {
    width: 100%;
  }

  .work-image {
    width: 100%;
    height: 0;
    padding-bottom: 150%; /* アスペクト比維持 */
    position: relative;
  }

  .work-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .work-title {
    font-size: 12px;
  }
}

@media screen and (max-width: 480px) {
  .works-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 8px;
  }

  .work-title {
    font-size: 11px;
    margin-top: 5px;
  }
}

/********************************
 作品ラインナップ 768px
*********************************/
@media screen and (min-width: 768px) and (max-width: 1024px) {
  #page .sakuhin .com-btn {
    font-size: 36px;
    height: 130px;
    max-width: 640px;
  }
  #page .sakuhin .com-btn + .notice {
    margin-top: -20px;
    font-size: 22px;
  }
  #page .sakuhin .com-btn.red span::before {
    height: 20px;
    right: 20px;
    width: 20px;
  }
  #page .sakuhin h2 + p {
    margin-top: 25px;
    font-size: 30px;
    line-height: 1.5;
  }
  #page .sakuhin h3 {
    font-size: 26px;
    height: 70px;
  }
  #page .sakuhin p {
    font-size: 26px;
    line-height: 2;
  }
  #page .sakuhin__inner {
    padding-bottom: 100px;
  }
  #page .sakuhin__wrap {
    padding: 60px 0;
    row-gap: 50px;
  }
  #page .sakuhin__txt {
    padding: 0 20px 0x;
  }
  #page .sakuhin__txt:last-of-type {
    margin-bottom: 30px;
  }

  .slider_area {
    padding-bottom: 40px;
  }

  .slider_area .com-ttl {
    padding: 60px 0;
  }

  .copy-right2 {
    font-size: 16px;
  }

  .copy-right3 {
    font-size: 14px;
  }
}

/********************************
 作品ラインナップ 1024px
*********************************/
@media screen and (min-width: 1024px) {
  .header__mv img {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }
  
  /* PC表示時: #container 385px × .wrap 93% = 358px */
  /* 358px - gap 10px = 348px ÷ 2 = 各画像174px */
  .works-grid {
    display: grid;
    grid-template-columns: 174px 174px;
    gap: 10px;
    width: 358px;
    max-width: 358px;
    margin: 40px auto 0;
  }

  .work-item {
    width: 174px;
  }

  .work-image {
    width: 174px;
    height: 260px; /* 固定の高さ */
    padding-bottom: 0; /* padding-bottomを無効化 */
  }

  .work-image img {
    width: 174px;
    height: 260px;
  }

  .work-title {
    font-size: 12px;
    margin-top: 8px;
    max-width: 174px;
  }
}