:root {
  --space: 8px;
  --brown: #4d2300;
  --beige: #e6e5d7;
  --gray: #dbe0e2;
  --main: "Goldenbook", serif;
  --sub: "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ ProN W3",
    "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  background-color: var(--beige);
  margin: 0;
}
img {
  width: 100%;
}
.fade-in {
  opacity: 0;
}
.first-view__visual {
  position: relative;
  width: 100%;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.first-view__title {
  z-index: 2;
  width: 640px;
}
.first-view__image {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 300px;
  height: auto;
  transform: translate(-50%, -50%);
}
.first-view__visual div:nth-child(1) .first-view__image {
  transform: translate(-13%, -52%);
}
.first-view__visual div:nth-child(2) .first-view__image {
  transform: translate(-84%, -54%);
}
.first-view__visual div:nth-child(3) .first-view__image {
  transform: translate(-26%, -40%);
}
.first-view__visual div:nth-child(4) .first-view__image {
  transform: translate(-64%, -48%);
}
.first-view__visual div:nth-child(5) .first-view__image {
  margin-top: -36px;
}
.scroll-arrow {
  position: absolute;
  bottom: 8%;
}
.first-view__text {
  font-family: var(--sub);
  color: var(--brown);
  font-size: 16px;
  line-height: 1.7;
  align-content: center;
  width: 30%;
  margin: 0 auto calc(var(--space) * 14);
}

.section--silhouette,
.section--styling {
  background-color: var(--gray);
}
.section__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero__title-wrap {
  display: grid;
  justify-items: center;
  align-content: center;
  height: 100dvh;
}

.hero__title-en {
  color: var(--brown);
  margin-bottom: calc(var(--space) * 8);
}
.hero__title-ja {
  color: var(--brown);
  margin-bottom: calc(var(--space) * 4);
  font-family: var(--sub);
  font-size: 16px;
  font-weight: normal;
}
.hero__text {
  color: var(--brown);
  width: 60%;
  font-family: var(--sub);
  font-size: 14px;
  line-height: 1.7;
}
.hero__image {
  position: sticky;
  top: 0;
  width: 100%;
}
.section__contents {
  display: grid;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
  overflow: hidden;
}
.section__contents .left {
  justify-self: start;
}

.section__contents .right {
  justify-self: end;
  max-width: 72%;
}
.section__contents .center {
  justify-self: center;
}
.section__contents .center {
  justify-self: center;
}
/*item*/
.item {
  position: relative;
  max-width: 64%;
  margin-bottom: calc(var(--space) * 20);
}
.item__list {
  list-style: none;
  padding-left: calc(var(--space) * 3);
  justify-items: center;
  margin-bottom: calc(var(--space) * 14);
}
.item__list.right {
  width: 52%;
  justify-items: start;
}
.item__credit {
  display: flex;
  color: var(--brown);
  gap: 10px;
}
.item--card .item__credit {
  color: var(--beige);
}
.item__credit-text {
  margin: 0;
  font-family: var(--sub);
  font-size: 14px;
}
.item__credit a {
  color: var(--brown);
  text-decoration: underline;
  font-family: var(--sub);
  font-size: 14px;
}
.item__credit a:where(:hover, :focus, :active) {
  color: var(--brown);
  opacity: 0.8;
  text-decoration: underline;
}
.item--card .item__credit a {
  color: var(--beige);
  opacity: 0.8;
  text-decoration: underline;
}
.item--card .item__credit a:where(:hover, :focus, :active, :visited) {
  color: var(--beige);
  opacity: 0.8;
  text-decoration: underline;
}
.item__title {
  position: absolute;
  width: 32%;
  z-index: 2;
}
.fill .item__title {
  width: 22%;
}
.item--card {
  text-align: center;
  padding: calc(var(--space) * 16) calc(var(--space) * 12)
    calc(var(--space) * 1);
  min-width: 430px;
  width: 48%;
}
.item--card .item__title {
  position: relative;
  width: 52%;
  margin-bottom: calc(var(--space) * 2);
}
.item--card .background {
  z-index: -1;
}
/*itemTitle*/
.section--color .item:nth-of-type(2) .item__title {
  top: 24%;
  left: -16%;
}
.section--color .item:nth-of-type(3) .item__title {
  top: 36%;
  left: 110%;
}
.section--color .item:nth-of-type(4) .item__title {
  top: 5%;
  left: 12%;
}
.section--silhouette .item:nth-of-type(2) .item__title {
  top: 40%;
  left: 72%;
}
.section--silhouette .item:nth-of-type(3) .item__title {
  top: 1%;
  left: -22%;
  transform: rotate(-90deg);
}
.section--comfort .item:nth-of-type(2) .item__title {
  top: 10%;
  left: -26%;
}
.section--comfort .item:nth-of-type(4) .item__title {
  bottom: 26%;
  left: -26%;
}
.section--styling .item:nth-of-type(2) .item__title {
  top: 24%;
  right: -24%;
}
.section--styling .item:nth-of-type(3) .item__title {
  top: 34%;
  left: -46%;
  transform: rotate(90deg);
}
.section--styling .item:nth-of-type(4) .item__title {
  top: 36%;
  left: 42%;
}
.item__slider {
  position: relative;
}
.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.item__slider.slider {
  width: 100%;
  overflow: hidden;
}
.item__slider.slider:has(.background) {
  padding: calc(var(--space) * 0.8);
}
.right .item__slider.slider {
  margin-right: 0;
}
.fill .item__slider.slider {
  padding: calc(var(--space) * 1.6) 0;
}
.fill {
  width: 100%;
  max-width: 100%;
}
.left .item__slider.slider {
  margin-left: 0;
}
.item__grid {
  display: flex;
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.item__grid:has(.background) {
  padding: calc(var(--space) * 0.8);
}
.item__grid-item {
  z-index: 1;
}
.fill .item__grid .item__grid-item:nth-child(1) {
  width: 60%;
}
.fill .item__grid .item__grid-item:nth-child(2) {
  width: 40%;
}

.fill .item__grid .item__grid-item img {
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
.staffCredit {
  padding: calc(var(--space) * 12);
}
.staffCredit__list {
  list-style: none;
  color: var(--brown);
  font-size: 12px;
  text-align: center;
  padding: 0;
}
.staffCredit__list li {
  margin: calc(var(--space) * 0.8);
}
.staffCredit .logo {
  width: 10%;
  margin: calc(var(--space) * 6) auto;
}
.swiper-d .swiper-slide {
  width: 66.666%;
}
.hero_sp {
  display: none;
}
@media (max-width: 1024px) {
  .first-view__title {
    width: 90%;
  }
  .first-view__image {
    width: 150px;
  }
  .first-view__visual div:nth-child(3) .first-view__image {
    transform: translate(-26%, -36%);
  }
  .first-view__visual div:nth-child(4) .first-view__image {
    transform: translate(-64%, -46%);
  }
  .first-view__visual div:nth-child(5) .first-view__image {
    margin-top: -18px;
  }
  .first-view__text {
    font-size: 12px;
    padding: calc(var(--space) * 5);
    height: auto;
    margin: auto;
    width: auto;
  }
  .section__wrap {
    display: grid;
    grid-template-columns: 1fr;
  }

  .section__contents {
    z-index: 1;
  }
  .section__contents,
  .hero__image-wrap {
    width: 100%;
  }
  .hero__image-wrap {
    position: sticky;
    top: 0;
  }
  .hero__text {
    width: 80%;
    font-size: 12px;
  }
  .hero_sp {
    display: inherit;
  }
  .hero_pc {
    display: none;
  }
  .section--color .section__contents,
  .section--comfort .section__contents {
    background-color: var(--beige);
  }
  .section--silhouette .section__contents,
  .section--styling .section__contents {
    background-color: var(--gray);
  }
  .item {
    margin-bottom: calc(var(--space) * 16);
  }
  .item__list {
    margin-bottom: calc(var(--space) * 6);
  }
  .item__list.right {
    width: auto;
    padding-right: calc(var(--space) * 3);
  }
  .item--card {
    text-align: center;
    padding: calc(var(--space) * 8) calc(var(--space) * 6)
      calc(var(--space) * 1);
    max-width: 48%;
    min-width: 280px;
  }
  .item--card .item__title {
    width: 72%;
  }
  .item__credit-text {
    font-size: 12px;
  }
  .item__credit a {
    font-size: 12px;
  }
  .item__title {
    width: 42%;
  }
  .section--color .item:nth-of-type(2) .item__title {
    top: 8%;
    left: -24%;
  }
  .section--color .item:nth-of-type(3) .item__title {
    top: 32% 124.203px;
    left: 106%;
  }
  .section--color .item:nth-of-type(4) .item__title {
    top: 4%;
    left: 6%;
  }
  .section--silhouette .item:nth-of-type(2) .item__title {
    top: 34%;
    left: 64%;
  }
  .section--silhouette .item:nth-of-type(3) .item__title {
    top: 0%;
    left: -30%;
  }
  .fill .item__title {
    width: 32%;
  }
  .staffCredit {
    padding: calc(var(--space) * 6) 0;
  }
  .staffCredit__list {
    font-size: 10px;
  }
  .staffCredit .logo {
    width: 40%;
  }
}
