/**
 * File: main.css
 * Usage: トップページのスタイルを定義します。
*/

.ly_topSwiper {
  height: 100svh;
  max-height: 700px;
  position: relative;
  color: #fff;
}

.bl_topSwiperContent {
	height: 100%;
    width: 100%;
}

.box-main_visual {
  position: relative;
  height: 100%;
  overflow: hidden;
}

#canvas--wrap {
  position: absolute;
  inset: 0;
  background: var(--color-ink);
  pointer-events:none;
}

#canvas--wrap canvas {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events:none;
}

.bl_topSwiperContentMain {
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1;
  font-size: 14px;
}

.bl_topSwiperContentMain h1 {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 0.15em;
}

.bl_topSwiperContentScroll {
  position: absolute;
  bottom: 30px;
  left: 30px;
  font-size: 10px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  letter-spacing: 0.05em;
}

.bl_topSwiperContentScroll svg {
  transform: rotate(90deg);
}

.bl_topSwiperContentBottom {
  font-size: 12px;
  letter-spacing: 0.1em;
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 1;
  text-decoration: underline;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.bl_topSwiperContentBottom svg path,
.bl_topSwiperContentScroll svg path {
  fill: #fff;
}

.ly_topText {
  padding: 64px 0 80px;
}

.bl_topText {
  padding-inline: var(--col-1);
  font-size: 16px;
  line-height: 2;
  text-align: center;
  letter-spacing: 0.07em;
}

.bl_topText .el_btn {
  margin-top: 60px;
}

.bl_topTextImg {
  margin-top: 80px;
  max-width: calc(100vw / 12 * 10);
  position: relative;
}

.bl_topImg img {
  display: block;
  will-change: transform;
  transition: transform 0.1s linear;
}

.bl_topTextImg .el_onHover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s;
}

.bl_topTextImg:hover .el_onHover {
  opacity: 1;
}

.ly_topImg {
  padding-bottom: 120px;
}

.bl_topImg img:first-child {
  width: calc(100vw / 12 * 11);
  margin-left: auto;
}

.bl_topImg img:nth-child(2) {
  width: calc(100vw / 12 * 8.5);
  position: relative;
  top: -20px;
  margin-right: auto;
}

.bl_topImg img:nth-child(3) {
  margin-top: 64px;
  width: calc(100vw / 12 * 9);
  margin-left: auto;
}

.bl_topProductIntro {
  font-size: 13px;
  line-height: 2;
}

.bl_topProductContent {
  padding: 30px 31px 125px;
  line-height: 2;
  position: relative;
}

.bl_topProduct {
  position: sticky;
  top: 80px;
}
.bl_topProduct:nth-child(1) {
  z-index: 1;
}
.bl_topProduct:nth-child(2) {
  z-index: 2;
}
.bl_topProduct:nth-child(3) {
  z-index: 3;
}

.bl_topProductContent::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../img/top/product-bg-sp.webp) no-repeat center bottom;
  background-size: cover;
}

.bl_topProductAbout {
  line-height: 2;
  font-size: 13px;
}

.bl_topProductContent::after {
  content: '';
  position: absolute;
  z-index: -2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-base);
}

.bl_topProductImg {
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

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

.bl_topProductTitle {
  margin-block: 24px;
  font-size: 26px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 20px;
}

.bl_topProductTitle small {
  font-size: 13px;
  letter-spacing: 0.07em;
  color: var(--color-neutral);
}

.bl_topProductContent a {
  margin-left: 0;
}

.bl_topProductMore {
  padding-block: 80px;
  max-width: fit-content;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
  font-size: 16px;
  text-align: center;
  line-height: 2;
}

.bl_topProductMore .el_btn {
  margin-top: 0;
}

.ly_topNews {
  padding: 64px 31px;
}

.bl_topNews ul {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bl_topNews ul li a {
  border-top: 1px solid var(--color-neutral);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bl_topNews ul li:last-child a {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-neutral);
}

.bl_topNews ul li a:hover {
  text-decoration: underline;
}

.bl_topNews ul li a svg {
  transition: all 0.3s ease;
}

.bl_topNews ul li a:hover svg {
  transform: translateX(4px);
}

.bl_topNewsMeta {
  display: flex;
  gap: 16px;
  font-size: 11px;
  color: var(--color-neutral);
  letter-spacing: 0.05em;
}

.bl_topNewsTitle {
  display: flex;
  gap: 18px;
  letter-spacing: 0.05em;
  align-items: center;
  justify-content: space-between;
}

.bl_topNewsTitle svg {
  flex-shrink: 0;
}

.ly_topColumn {
  padding-inline: var(--col-1);
}

.bl_topColumn ul {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.bl_topColumn ul li {
  width: var(--col-8);
}

.bl_topColumn ul li a {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bl_topColumn ul li a:hover {
  text-decoration: underline;
}

.bl_topColumn ul li a:hover .bl_topColumnImg img {
  transform: scale(1.1);
}

.bl_topColumn ul li:nth-child(even) {
  margin-left: auto;
}

.bl_topColumnImg {
  aspect-ratio: 250 / 160;
  overflow: hidden;
}

.bl_topColumnImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.bl_topColumnTitle {
  font-size: 16px;
  font-weight: 500;
}

.bl_topColumnMeta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}

.bl_topColumn .el_btn {
  margin-top: 64px;
}

.ly_topInfo {
  padding: 64px 31px;
}

.bl_topInfoShop {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.bl_topInfoShop_img {
  position: relative;
}

.bl_topTextImg img {
  display: block;
  will-change: transform;
  transition: transform 0.1s linear;
}

.bl_topInfoShop_img .el_onHover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s;
}

.bl_topInfoShop_img:hover .el_onHover {
  opacity: 1;
}

.bl_topInfoShop_details {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 60px;
  font-weight: 500;
}

.bl_topInfoShop_details h3 {
  font-size: clamp(1.25rem, 1.0714rem + 0.8929vw, 1.5rem);
  letter-spacing: 0.1em;
  font-weight: 500;
}

.bl_topInfoShop_details p {
  letter-spacing: 0.07em;
  font-weight: 500;
}

.bl_topInfoShop_details .el_btn {
  margin: 0 auto 0 0;
}

.bl_bottomGift_cont {
  padding: 56px 31px 64px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bl_bottomGift_cont p {
  line-height: 2;
}

.bl_bottomGift_img {
  margin-top: 34px;
}

@media screen and (min-width: 768px) {
  .ly_topSwiper {
    max-height: unset;
    max-width: 100%;
    overflow: hidden;
    position: relative;
  }

  .box-main_visual {
    height: 100%;
    width: 100vw;
    max-height: unset;
    max-width: 100%;
    overflow: hidden;
  }

  .bl_topSwiperContentMain {
    left: 120px;
  }

  .bl_topSwiperContentScroll {
    left: 120px;
  }

  .bl_topLogo {
    position: absolute;
    top: 75px;
    right: 120px;
    z-index: 2;
  }

  .bl_topLogo svg {
    width: 80px;
    height: auto;
  }

  .bl_topMenu {
    position: absolute;
    top: 50%;
    right: 120px;
    transform: translateY(-50%);
    display: flex !important;
    flex-direction: column;
    text-align: right;
    letter-spacing: 0.1em;
    font-size: 13px;
    gap: 8px;
    color: #fff;
    z-index: 10;
  }

  .ly_topText {
    display: flex;
    flex-direction: row-reverse;
    padding-block: 200px 80px;
    max-width: calc(100vw - var(--col-1));
    width: 100%;
    justify-content: flex-end;
  }

  .bl_topText {
    text-align: left;
  }

  .bl_topTextImg {
    max-width: 600px;
    margin-top: 0;
  }

  .bl_topText .el_btn {
    margin-left: 0;
    margin-top: 80px;
  }

  .ly_topImg {
    width: calc(100vw / 12 * 11);
    margin-left: auto;
    padding-bottom: 160px;
  }

  .bl_topImg img:first-child {
    width: var(--col-8);
  }

  .bl_topImg img:nth-child(2) {
    width: calc(100vw / 12 * 5);
    top: -40px;
  }

  .bl_topImg img:nth-child(3) {
    margin-right: var(--col-1);
    width: calc(100vw / 12 * 4);
    margin-top: -190px;
  }

  .ly_topProducts .el_secTtl {
    margin-left: var(--col-1);
  }

  .bl_topProduct {
    top: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    aspect-ratio: 15 / 8;
  }

  .bl_topProduct:nth-child(even) .bl_topProductImg {
    order: 2;
  }

  .bl_topProductImg {
    height: 100%;
    width: 100%;
  }

  .bl_topProductImg img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transform: scale(1);
  }

  .bl_topProductContent {
    padding: var(--col-1);
  }

  .bl_topProductIntro {
    font-size: 14px;
  }

  .bl_topProductTitle {
    margin-block: 32px 24px;
    font-size: 40px;
  }

  .bl_topProductTitle small {
    font-size: 16px;
  }

  .bl_topProductAbout {
    font-size: 16px;
  }

  .bl_topProductContent a {
    margin-top: 80px;
  }

  .bl_topProductContent::before {
    background: url(../img/top/product-bg-md.webp) no-repeat center bottom;
    background-size: cover;
  }

  .bl_topProductMore {
    gap: 64px;
    padding-block: 120px;
  }

  .ly_topNews {
    padding-block: min(13.2vw, 190px) min(13.2vw, 190px);
  }

  .bl_topNews {
    max-width: 720px;
    margin: 0 auto;
  }

  .bl_topNews .el_secTtl {
    text-align: center;
  }

  .bl_topNews ul {
    margin-top: 40px;
  }

  .bl_topNewsTitle {
    font-size: 16px;
  }

  .bl_topNews .el_btn {
    margin-top: 80px;
  }

  .bl_topNewsTitle p {
    max-width: 600px;
  }

  .bl_topColumn .el_secTtl {
    text-align: center;
  }

  .bl_topColumn ul {
    flex-direction: row;
    max-width: 960px;
    margin-inline: auto;
    justify-content: center;
    gap: 21px;
  }

  .bl_topColumn ul li:nth-child(even) {
    margin-left: 0;
  }

  .bl_topColumn ul li {
    max-width: calc(100% / 3 - 14px);
    width: 100%;
  }

  .bl_topInfoShop {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 14px;
    justify-content: space-between;
    align-items: center;
  }

  .ly_topInfo {
    padding-block: 150px;
  }

  .ly_topInfo .el_secTtl {
    text-align: center;
    margin-bottom: 80px;
  }

  .bl_topInfoShop_img {
    width: var(--col-6);
    max-width: 720px;
  }

  .bl_topInfoShop + .bl_topInfoShop {
    margin-top: min(10vw, 150px);
  }

  .bl_topInfoShop_details {
    gap: 32px;
  }

  .bl_topInfoShop_details p {
    font-size: 16px;
    line-height: 2;
  }

  .bl_topInfoShop_details .el_btn {
    margin-top: 32px;
  }

  .ly_bottomGift .el_secTtl {
    margin-left: var(--col-1);
  }

  .bl_bottomGift_img {
    aspect-ratio: 1440 / 770;
    overflow: hidden;
  }

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

  .bl_bottomGift_cont {
    margin-left: var(--col-1);
    padding-block: 63px 103px;
  }

  .bl_bottomGift_cont p:not(.hp_underline) {
    font-size: 16px;
  }
}

@media screen and (min-width: 1440px) {
  .ly_topText {
    margin-inline: auto;
    max-width: fit-content;
  }
}
